Skip to content
  • commit-queue@webkit.org's avatar
    Make TestWebKitAPI work for iOS · a09e465f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=108978
    
    Patch by David Farler <dfarler@apple.com> on 2013-02-09
    Reviewed by David Kilzer.
    
    Source/WebCore:
    
    Tests already exist - refactor only.
    
    * WebCore.exp.in: Lumped __ZNK7WebCore4KURL7hasPathEv with related methods.
    * platform/KURL.cpp: Inlined hasPath() into the header
    * platform/KURL.h: Inlined hasPath() into the header
    
    Tools:
    
    * Makefile: Added TestWebKitAPI to iOS MODULES list.
    * TestWebKitAPI/Configurations/Base.xcconfig:
    - Include FeatureDefines
    - Removed VALID_ARCHS
    - Removed FRAMEWORK_SEARCH_PATHS - allows building against other SDKs
    - Excluded source files per platform
    * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
    - framework and library switches per platform
    * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
    - Remove explicit framework and library linking (moved to xcconfigs)
    - Added iOS main.mm
    * TestWebKitAPI/config.h:
    - Guard importing Cocoa.h and WebKit2_C.h on iOS
    * TestWebKitAPI/ios/mainIOS.mm: Copied from Tools/TestWebKitAPI/mac/main.mm.
    * TestWebKitAPI/mac/mainMac.mm: Renamed from Tools/TestWebKitAPI/mac/main.mm.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a09e465f