[GTK][WPE][CMake] failing to build TestWebKitAPIInjectedBundle due to missing forward...
[WebKit-https.git] / Tools / TestWebKitAPI / PlatformWPE.cmake
index 82749a8..50d63e7 100644 (file)
@@ -6,6 +6,7 @@ add_custom_target(TestWebKitAPI-forwarding-headers
 )
 
 list(APPEND TestWebKit_DEPENDENCIES TestWebKitAPI-forwarding-headers)
+add_dependencies(TestWebKitAPIInjectedBundle TestWebKitAPI-forwarding-headers)
 
 include_directories(SYSTEM
     ${CAIRO_INCLUDE_DIRS}
@@ -51,9 +52,6 @@ list(APPEND TestWebCore_SYSTEM_INCLUDE_DIRECTORIES
 list(APPEND TestWebKit_SOURCES
     ${test_main_SOURCES}
 
-    ${TOOLS_DIR}/wpe/backends/ViewBackend.cpp
-    ${TOOLS_DIR}/wpe/backends/HeadlessViewBackend.cpp
-
     glib/UtilitiesGLib.cpp
 
     wpe/PlatformUtilitiesWPE.cpp
@@ -103,8 +101,6 @@ set(TestJSC_PRIVATE_INCLUDE_DIRECTORIES
     ${CMAKE_BINARY_DIR}
     ${TESTWEBKITAPI_DIR}
     ${THIRDPARTY_DIR}/gtest/include
-    ${WTF_FRAMEWORK_HEADERS_DIR}
-    ${JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS_DIR}
     ${FORWARDING_HEADERS_DIR}
     ${FORWARDING_HEADERS_DIR}/JavaScriptCore
     ${FORWARDING_HEADERS_DIR}/JavaScriptCore/glib
@@ -114,7 +110,7 @@ set(TestJSC_PRIVATE_INCLUDE_DIRECTORIES
 set(TestJSC_LIBRARIES
     ${GLIB_LIBRARIES}
     ${GLIB_GMODULE_LIBRARIES}
-    JavaScriptCore
+    WebKit::JavaScriptCore
 )
 
 set(TestJSC_DEFINITIONS