1 SET(WebKit_INCLUDE_DIRECTORIES
4 "${WEBCORE_DIR}/Modules/intents"
5 "${WEBCORE_DIR}/Modules/networkinfo"
6 "${WEBCORE_DIR}/Modules/webdatabase"
7 "${WEBCORE_DIR}/accessibility"
8 "${WEBCORE_DIR}/bindings/generic"
9 "${WEBCORE_DIR}/bindings/js"
10 "${WEBCORE_DIR}/bindings"
11 "${WEBCORE_DIR}/bridge"
12 "${WEBCORE_DIR}/bridge/c"
13 "${WEBCORE_DIR}/bridge/jsc"
16 "${WEBCORE_DIR}/dom/default"
17 "${WEBCORE_DIR}/editing"
18 "${WEBCORE_DIR}/history"
20 "${WEBCORE_DIR}/html/shadow"
21 "${WEBCORE_DIR}/inspector"
22 "${WEBCORE_DIR}/loader"
23 "${WEBCORE_DIR}/loader/appcache"
24 "${WEBCORE_DIR}/loader/icon"
25 "${WEBCORE_DIR}/loader/cache"
27 "${WEBCORE_DIR}/page/animation"
28 "${WEBCORE_DIR}/platform"
29 "${WEBCORE_DIR}/platform/animation"
30 "${WEBCORE_DIR}/platform/graphics"
31 "${WEBCORE_DIR}/platform/graphics/filters"
32 "${WEBCORE_DIR}/platform/graphics/harfbuzz"
33 "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
34 "${WEBCORE_DIR}/platform/graphics/transforms"
35 "${WEBCORE_DIR}/platform/network"
36 "${WEBCORE_DIR}/platform/sql"
37 "${WEBCORE_DIR}/platform/text"
38 "${WEBCORE_DIR}/plugins"
39 "${WEBCORE_DIR}/rendering"
40 "${WEBCORE_DIR}/rendering/style"
41 "${WEBCORE_DIR}/storage"
43 "${WEBCORE_DIR}/svg/graphics"
44 "${WEBCORE_DIR}/svg/properties"
45 "${JAVASCRIPTCORE_DIR}"
46 "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
47 "${JAVASCRIPTCORE_DIR}/API"
48 "${JAVASCRIPTCORE_DIR}/assembler"
49 "${JAVASCRIPTCORE_DIR}/bytecode"
50 "${JAVASCRIPTCORE_DIR}/bytecompiler"
51 "${JAVASCRIPTCORE_DIR}/disassembler"
52 "${JAVASCRIPTCORE_DIR}/dfg"
53 "${JAVASCRIPTCORE_DIR}/heap"
54 "${JAVASCRIPTCORE_DIR}/debugger"
55 "${JAVASCRIPTCORE_DIR}/interpreter"
56 "${JAVASCRIPTCORE_DIR}/jit"
57 "${JAVASCRIPTCORE_DIR}/llint"
58 "${JAVASCRIPTCORE_DIR}/parser"
59 "${JAVASCRIPTCORE_DIR}/profiler"
60 "${JAVASCRIPTCORE_DIR}/runtime"
62 "${DERIVED_SOURCES_WEBCORE_DIR}"
63 "${CMAKE_SOURCE_DIR}/Source" # TIZEN_DAILY_UPVERSION
68 LIST(APPEND WebKit_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/network/soup")
72 LIST(APPEND WebKit_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/network/curl")
76 ${WebCore_LIBRARY_NAME}
79 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
81 ADD_DEFINITIONS(-DBUILDING_WebKit)
82 INCLUDE_DIRECTORIES(${WebKit_INCLUDE_DIRECTORIES})
83 ADD_LIBRARY(${WebKit_LIBRARY_NAME} ${WebKit_LIBRARY_TYPE} ${WebKit_SOURCES})
84 ADD_DEPENDENCIES(${WebKit_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
85 TARGET_LINK_LIBRARIES(${WebKit_LIBRARY_NAME} ${WebKit_LIBRARIES})
86 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
87 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
89 IF (WebKit_LINK_FLAGS)
90 ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${WebKit_LINK_FLAGS}")
94 ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${VERSION_SCRIPT}")
97 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
98 INSTALL(TARGETS ${WebKit_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")