Changeset 207446 in webkit


Ignore:
Timestamp:
Oct 17, 2016 6:00:58 PM (7 years ago)
Author:
dino@apple.com
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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207442 r207446  
     12016-10-17  Dean Jackson  <dino@apple.com>
     2
     3        Remove dependency cycle with UIKit
     4        https://bugs.webkit.org/show_bug.cgi?id=163577
     5        <rdar://problem/28786160>
     6
     7        Reviewed by Tim Horton.
     8
     9        Soft link against UIKit.
     10
     11        * Configurations/WebCoreTestSupport.xcconfig:
     12        * testing/Internals.mm:
     13
    1142016-10-17  Dean Jackson  <dino@apple.com>
    215
  • trunk/Source/WebCore/Configurations/WebCoreTestSupport.xcconfig

    r207173 r207446  
    5151OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
    5252OTHER_LDFLAGS[sdk=macos*] = $(ASAN_OTHER_LDFLAGS) -framework AppKit;
    53 OTHER_LDFLAGS[sdk=iphoneos*] = $(ASAN_OTHER_LDFLAGS) -framework UIKit -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
     53OTHER_LDFLAGS[sdk=iphoneos*] = $(ASAN_OTHER_LDFLAGS) -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
    5454OTHER_LDFLAGS[sdk=iphonesimulator*] = $(ASAN_OTHER_LDFLAGS) -framework UIKit -lAccessibility -F$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PhonyWebKitLegacy;
    5555SECT_ORDER_FLAGS = ;
  • trunk/Source/WebCore/testing/Internals.mm

    r207173 r207446  
    3232#include "EditorClient.h"
    3333#include "Frame.h"
     34#include "SoftLinking.h"
    3435
    3536#if PLATFORM(IOS)
    36 #import <UIKit/UIKit.h>
     37SOFT_LINK_FRAMEWORK(UIKit)
     38SOFT_LINK(UIKit, UIAccessibilityIsReduceMotionEnabled, BOOL, (void), ())
    3739#endif
    3840
Note: See TracChangeset for help on using the changeset viewer.