[EFL] API test has been broken since r184357
authorgyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Jun 2015 01:19:36 +0000 (01:19 +0000)
committergyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Jun 2015 01:19:36 +0000 (01:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=145635

Reviewed by Darin Adler.

r184357 suppress cmake build warning using TARGET_FILE property. However
many EFL API test cases have been broken after applying it.

* TestWebKitAPI/CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185281 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/CMakeLists.txt

index 594f2bb..fdbd646 100644 (file)
@@ -1,3 +1,15 @@
+2015-06-05  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
+
+        [EFL] API test has been broken since r184357
+        https://bugs.webkit.org/show_bug.cgi?id=145635
+
+        Reviewed by Darin Adler.
+
+        r184357 suppress cmake build warning using TARGET_FILE property. However
+        many EFL API test cases have been broken after applying it.
+
+        * TestWebKitAPI/CMakeLists.txt:
+
 2015-06-05  Anders Carlsson  <andersca@apple.com>
 
         Make the network cache directory part of WKContextConfigurationRef
index 070424f..c5dfa2f 100644 (file)
@@ -130,9 +130,11 @@ add_library(TestWebKitAPIInjectedBundle SHARED
 target_link_libraries(TestWebKitAPIInjectedBundle ${TestWebKitAPI_LIBRARIES})
 add_dependencies(TestWebKitAPIInjectedBundle ${ForwardingHeadersForTestWebKitAPI_NAME})
 
+get_property(TestWebKitAPIInjectedBundle_PATH TARGET TestWebKitAPIInjectedBundle PROPERTY LOCATION)
+
 add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DGTEST_HAS_RTTI=0
     -DTEST_WEBKIT2_RESOURCES_DIR=\"${TESTWEBKITAPI_DIR}/Tests/WebKit2\"
-    -DTEST_INJECTED_BUNDLE_PATH=\"$<TARGET_FILE_DIR:TestWebKitAPIInjectedBundle>\"
+    -DTEST_INJECTED_BUNDLE_PATH=\"${TestWebKitAPIInjectedBundle_PATH}\"
 )
 
 # FIXME: This works around compatibility problems in the old version of the third-pary