Title: [229470] trunk/Tools
Revision
229470
Author
[email protected]
Date
2018-03-09 10:51:26 -0800 (Fri, 09 Mar 2018)

Log Message

WebKitTestRunner: Do not build accessibility files/idl when !HAVE(ACCESSIBILITY)
https://bugs.webkit.org/show_bug.cgi?id=183516

Patch by Stephan Szabo <[email protected]> on 2018-03-09
Reviewed by Alex Christensen.

* WebKitTestRunner/CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (229469 => 229470)


--- trunk/Tools/ChangeLog	2018-03-09 18:48:46 UTC (rev 229469)
+++ trunk/Tools/ChangeLog	2018-03-09 18:51:26 UTC (rev 229470)
@@ -1,3 +1,12 @@
+2018-03-09  Stephan Szabo  <[email protected]>
+
+        WebKitTestRunner: Do not build accessibility files/idl when !HAVE(ACCESSIBILITY)
+        https://bugs.webkit.org/show_bug.cgi?id=183516
+
+        Reviewed by Alex Christensen.
+
+        * WebKitTestRunner/CMakeLists.txt:
+
 2018-03-09  Basuke Suzuki  <[email protected]>
 
         [webkitpy, WinCairo] Launch Apache HTTPD for HTTP Tests.

Modified: trunk/Tools/WebKitTestRunner/CMakeLists.txt (229469 => 229470)


--- trunk/Tools/WebKitTestRunner/CMakeLists.txt	2018-03-09 18:48:46 UTC (rev 229469)
+++ trunk/Tools/WebKitTestRunner/CMakeLists.txt	2018-03-09 18:51:26 UTC (rev 229470)
@@ -55,10 +55,6 @@
 )
 
 set(WebKitTestRunnerInjectedBundle_SOURCES
-    ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityController.cpp
-    ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityTextMarker.cpp
-    ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityTextMarkerRange.cpp
-    ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityUIElement.cpp
     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/EventSendingController.cpp
     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/GCController.cpp
     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/InjectedBundle.cpp
@@ -71,10 +67,6 @@
 )
 
 set(WebKitTestRunnerInjectedBundle_IDL_FILES
-    "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityController.idl"
-    "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityTextMarker.idl"
-    "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityTextMarkerRange.idl"
-    "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityUIElement.idl"
     "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/EventSendingController.idl"
     "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/GCController.idl"
     "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/TestRunner.idl"
@@ -81,6 +73,22 @@
     "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/TextInputController.idl"
 )
 
+if (ENABLE_ACCESSIBILITY)
+    list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
+        ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityController.cpp
+        ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityTextMarker.cpp
+        ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityTextMarkerRange.cpp
+        ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/AccessibilityUIElement.cpp
+    )
+
+    list(APPEND WebKitTestRunnerInjectedBundle_IDL_FILES
+        "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityController.idl"
+        "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityTextMarker.idl"
+        "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityTextMarkerRange.idl"
+        "${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/AccessibilityUIElement.idl"
+    )
+endif ()
+
 set(WebKitTestRunner_IDL_FILES
     "${WEBKIT_TESTRUNNER_UISCRIPTCONTEXT_DIR}/Bindings/UIScriptController.idl"
 )
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to