Title: [207446] trunk/Source/WebCore
Revision
207446
Author
d...@apple.com
Date
2016-10-17 18:00:58 -0700 (Mon, 17 Oct 2016)

Log Message

Remove dependency cycle with UIKit
https://bugs.webkit.org/show_bug.cgi?id=163577
<rdar://problem/28786160>

Reviewed by Tim Horton.

Soft link against UIKit.

* Configurations/WebCoreTestSupport.xcconfig:
* testing/Internals.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (207445 => 207446)


--- trunk/Source/WebCore/ChangeLog	2016-10-18 00:45:05 UTC (rev 207445)
+++ trunk/Source/WebCore/ChangeLog	2016-10-18 01:00:58 UTC (rev 207446)
@@ -1,5 +1,18 @@
 2016-10-17  Dean Jackson  <d...@apple.com>
 
+        Remove dependency cycle with UIKit
+        https://bugs.webkit.org/show_bug.cgi?id=163577
+        <rdar://problem/28786160>
+
+        Reviewed by Tim Horton.
+
+        Soft link against UIKit.
+
+        * Configurations/WebCoreTestSupport.xcconfig:
+        * testing/Internals.mm:
+
+2016-10-17  Dean Jackson  <d...@apple.com>
+
         Allow creation of ExtendedColors and make Color immutable
         https://bugs.webkit.org/show_bug.cgi?id=163557
         <rdar://problem/28805360>

Modified: trunk/Source/WebCore/Configurations/WebCoreTestSupport.xcconfig (207445 => 207446)


--- trunk/Source/WebCore/Configurations/WebCoreTestSupport.xcconfig	2016-10-18 00:45:05 UTC (rev 207445)
+++ trunk/Source/WebCore/Configurations/WebCoreTestSupport.xcconfig	2016-10-18 01:00:58 UTC (rev 207446)
@@ -50,6 +50,6 @@
 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
 OTHER_LDFLAGS[sdk=macos*] = $(ASAN_OTHER_LDFLAGS) -framework AppKit;
-OTHER_LDFLAGS[sdk=iphoneos*] = $(ASAN_OTHER_LDFLAGS) -framework UIKit -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
+OTHER_LDFLAGS[sdk=iphoneos*] = $(ASAN_OTHER_LDFLAGS) -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
 OTHER_LDFLAGS[sdk=iphonesimulator*] = $(ASAN_OTHER_LDFLAGS) -framework UIKit -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
 SECT_ORDER_FLAGS = ;

Modified: trunk/Source/WebCore/testing/Internals.mm (207445 => 207446)


--- trunk/Source/WebCore/testing/Internals.mm	2016-10-18 00:45:05 UTC (rev 207445)
+++ trunk/Source/WebCore/testing/Internals.mm	2016-10-18 01:00:58 UTC (rev 207446)
@@ -31,9 +31,11 @@
 #include "Editor.h"
 #include "EditorClient.h"
 #include "Frame.h"
+#include "SoftLinking.h"
 
 #if PLATFORM(IOS)
-#import <UIKit/UIKit.h>
+SOFT_LINK_FRAMEWORK(UIKit)
+SOFT_LINK(UIKit, UIAccessibilityIsReduceMotionEnabled, BOOL, (void), ())
 #endif
 
 namespace WebCore {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to