[EFL] EFL's LayoutTestController needs to implement deliverWebIntent
[WebKit-https.git] / Source / WebKit / CMakeLists.txt
1 SET(WebKit_INCLUDE_DIRECTORIES
2     "${WEBKIT_DIR}"
3     "${WEBCORE_DIR}"
4     "${WEBCORE_DIR}/Modules/intents"
5     "${WEBCORE_DIR}/Modules/webdatabase"
6     "${WEBCORE_DIR}/accessibility"
7     "${WEBCORE_DIR}/bindings/js"
8     "${WEBCORE_DIR}/bindings"
9     "${WEBCORE_DIR}/bridge"
10     "${WEBCORE_DIR}/bridge/c"
11     "${WEBCORE_DIR}/bridge/jsc"
12     "${WEBCORE_DIR}/css"
13     "${WEBCORE_DIR}/dom"
14     "${WEBCORE_DIR}/dom/default"
15     "${WEBCORE_DIR}/editing"
16     "${WEBCORE_DIR}/history"
17     "${WEBCORE_DIR}/html"
18     "${WEBCORE_DIR}/inspector"
19     "${WEBCORE_DIR}/loader"
20     "${WEBCORE_DIR}/loader/appcache"
21     "${WEBCORE_DIR}/loader/icon"
22     "${WEBCORE_DIR}/loader/cache"
23     "${WEBCORE_DIR}/page"
24     "${WEBCORE_DIR}/page/animation"
25     "${WEBCORE_DIR}/platform"
26     "${WEBCORE_DIR}/platform/animation"
27     "${WEBCORE_DIR}/platform/graphics"
28     "${WEBCORE_DIR}/platform/graphics/filters"
29     "${WEBCORE_DIR}/platform/graphics/transforms"
30     "${WEBCORE_DIR}/platform/network"
31     "${WEBCORE_DIR}/platform/sql"
32     "${WEBCORE_DIR}/platform/text"
33     "${WEBCORE_DIR}/plugins"
34     "${WEBCORE_DIR}/rendering"
35     "${WEBCORE_DIR}/rendering/style"
36     "${WEBCORE_DIR}/storage"
37     "${WEBCORE_DIR}/svg"
38     "${WEBCORE_DIR}/svg/graphics"
39     "${WEBCORE_DIR}/svg/properties"
40     "${JAVASCRIPTCORE_DIR}"
41     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
42     "${JAVASCRIPTCORE_DIR}/API"
43     "${JAVASCRIPTCORE_DIR}/assembler"
44     "${JAVASCRIPTCORE_DIR}/bytecode"
45     "${JAVASCRIPTCORE_DIR}/bytecompiler"
46     "${JAVASCRIPTCORE_DIR}/dfg"
47     "${JAVASCRIPTCORE_DIR}/heap"
48     "${JAVASCRIPTCORE_DIR}/debugger"
49     "${JAVASCRIPTCORE_DIR}/interpreter"
50     "${JAVASCRIPTCORE_DIR}/jit"
51     "${JAVASCRIPTCORE_DIR}/llint"
52     "${JAVASCRIPTCORE_DIR}/parser"
53     "${JAVASCRIPTCORE_DIR}/profiler"
54     "${JAVASCRIPTCORE_DIR}/runtime"
55     "${WTF_DIR}"
56     "${DERIVED_SOURCES_WEBCORE_DIR}"
57     "${CMAKE_BINARY_DIR}"
58 )
59
60 IF (WTF_USE_SOUP)
61   LIST(APPEND WebKit_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/network/soup")
62 ENDIF ()
63
64 IF (WTF_USE_CURL)
65   LIST(APPEND WebKit_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/network/curl")
66 ENDIF ()
67
68 SET(WebKit_LIBRARIES
69     ${WebCore_LIBRARY_NAME}
70 )
71
72 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
73
74 ADD_DEFINITIONS(-DBUILDING_WebKit)
75 INCLUDE_DIRECTORIES(${WebKit_INCLUDE_DIRECTORIES})
76 ADD_LIBRARY(${WebKit_LIBRARY_NAME} ${WebKit_LIBRARY_TYPE} ${WebKit_SOURCES})
77 ADD_DEPENDENCIES(${WebKit_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
78 TARGET_LINK_LIBRARIES(${WebKit_LIBRARY_NAME} ${WebKit_LIBRARIES})
79 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
80 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
81
82 IF (WebKit_LINK_FLAGS)
83     ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${WebKit_LINK_FLAGS}")
84 ENDIF ()
85
86 IF (VERSION_SCRIPT)
87     ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${VERSION_SCRIPT}")
88 ENDIF ()
89
90 SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
91 INSTALL(TARGETS ${WebKit_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")