Logging macros are sensitive to pal/Logging.h vs Logging.h include order
[WebKit-https.git] / Source / WebCore / PAL / pal / CMakeLists.txt
1 set(PAL_PUBLIC_HEADERS
2     ExportMacros.h
3     FileSizeFormatter.h
4     HysteresisActivity.h
5     LogMacros.h
6     Logging.h
7     SessionID.h
8
9     crypto/CryptoDigest.h
10
11     system/Clock.h
12     system/ClockGeneric.h
13     system/SleepDisabler.h
14     system/Sound.h
15     system/SystemSleepListener.h
16
17     text/KillRing.h
18     text/UnencodableHandling.h
19 )
20
21 set(PAL_SOURCES
22     FileSizeFormatter.cpp
23     Logging.cpp
24     SessionID.cpp
25
26     system/SleepDisabler.cpp
27     system/SystemSleepListener.cpp
28 )
29
30 set(PAL_PRIVATE_INCLUDE_DIRECTORIES
31     "${PAL_DIR}"
32     "${PAL_DIR}/pal"
33     "${PAL_DIR}/pal/crypto"
34     "${PAL_DIR}/pal/system"
35     "${PAL_DIR}/pal/text"
36 )
37
38 set(PAL_SYSTEM_INCLUDE_DIRECTORIES
39     ${ICU_INCLUDE_DIRS}
40 )
41
42 set(PAL_LIBRARIES
43     JavaScriptCore${DEBUG_SUFFIX}
44 )
45
46 WEBKIT_FRAMEWORK_DECLARE(PAL)
47 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
48
49 WEBKIT_WRAP_SOURCELIST(${PAL_SOURCES})
50 WEBKIT_FRAMEWORK(PAL)
51
52 WEBKIT_MAKE_FORWARDING_HEADERS(PAL
53     DESTINATION ${FORWARDING_HEADERS_DIR}/pal
54     FILES ${PAL_PUBLIC_HEADERS}
55 )