Title: [219724] trunk
Revision
219724
Author
[email protected]
Date
2017-07-21 06:46:13 -0700 (Fri, 21 Jul 2017)

Log Message

       [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS

       macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
       U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
       explicitly, because ICU headers in the tree are not modified anymore.

.:

* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:

Source/WTF:

* wtf/PlatformMac.cmake: Rely on ICU_LIBRARIES instead of passing ICU
library name explicitly in WTF_LIBRARIES.

Modified Paths

Diff

Modified: trunk/ChangeLog (219723 => 219724)


--- trunk/ChangeLog	2017-07-21 10:22:25 UTC (rev 219723)
+++ trunk/ChangeLog	2017-07-21 13:46:13 UTC (rev 219724)
@@ -1,3 +1,14 @@
+2017-07-21  Konstantin Tokarev  <[email protected]>
+
+       [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
+
+       macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
+       U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
+       explicitly, because ICU headers in the tree are not modified anymore.
+
+        * Source/cmake/OptionsJSCOnly.cmake:
+        * Source/cmake/OptionsMac.cmake:
+
 2017-07-17  Carlos Garcia Campos  <[email protected]>
 
         Add initial implementation of WebDriver process to run the HTTP server

Modified: trunk/Source/WTF/ChangeLog (219723 => 219724)


--- trunk/Source/WTF/ChangeLog	2017-07-21 10:22:25 UTC (rev 219723)
+++ trunk/Source/WTF/ChangeLog	2017-07-21 13:46:13 UTC (rev 219724)
@@ -1,3 +1,14 @@
+2017-07-21  Konstantin Tokarev  <[email protected]>
+
+       [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
+
+       macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
+       U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
+       explicitly, because ICU headers in the tree are not modified anymore.
+
+        * wtf/PlatformMac.cmake: Rely on ICU_LIBRARIES instead of passing ICU
+        library name explicitly in WTF_LIBRARIES.
+
 2017-07-20  Chris Dumez  <[email protected]>
 
         Replace calls to Vector::resize() with calls to more efficient shrink() / grow() when applicable

Modified: trunk/Source/WTF/wtf/PlatformMac.cmake (219723 => 219724)


--- trunk/Source/WTF/wtf/PlatformMac.cmake	2017-07-21 10:22:25 UTC (rev 219723)
+++ trunk/Source/WTF/wtf/PlatformMac.cmake	2017-07-21 13:46:13 UTC (rev 219724)
@@ -5,7 +5,6 @@
     ${COREFOUNDATION_LIBRARY}
     ${COCOA_LIBRARY}
     ${READLINE_LIBRARY}
-    libicucore.dylib
 )
 
 list(APPEND WTF_SOURCES

Modified: trunk/Source/cmake/OptionsJSCOnly.cmake (219723 => 219724)


--- trunk/Source/cmake/OptionsJSCOnly.cmake	2017-07-21 10:22:25 UTC (rev 219723)
+++ trunk/Source/cmake/OptionsJSCOnly.cmake	2017-07-21 13:46:13 UTC (rev 219724)
@@ -87,5 +87,6 @@
 if (NOT APPLE)
     find_package(ICU REQUIRED)
 else ()
+    add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0)
     set(ICU_LIBRARIES libicucore.dylib)
 endif ()

Modified: trunk/Source/cmake/OptionsMac.cmake (219723 => 219724)


--- trunk/Source/cmake/OptionsMac.cmake	2017-07-21 10:22:25 UTC (rev 219723)
+++ trunk/Source/cmake/OptionsMac.cmake	2017-07-21 13:46:13 UTC (rev 219724)
@@ -117,3 +117,6 @@
 set(WebCore_LIBRARY_TYPE SHARED)
 set(WebCoreTestSupport_LIBRARY_TYPE SHARED)
 set(WebKit_LIBRARY_TYPE SHARED)
+
+add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0)
+set(ICU_LIBRARIES libicucore.dylib)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to