Skip to content
  • mrowe@apple.com's avatar
    Fix some failures with newer versions of clang. · a75e9229
    mrowe@apple.com authored
    Some CoreGraphics headers generate warnings under newer versions of clang. Since they're system headers the warnings would
    usually be suppressed, but we're adding the frameworks to the non-system framework search path so they're no longer treated
    as system headers. We address this by removing the system paths from FRAMEWORK_SEARCH_PATHS and using the -iframework compiler
    flag in OTHER_CFLAGS to add the paths to the system framework search path. We have to set OTHER_CFLAGS at the target level
    in order for it to coexist with the ASAN-related OTHER_CFLAGS that's set in DebugRelease.xcconfig.
    
    Reviewed by Dan Bernstein.
    
    Source/WebCore:
    
    * Configurations/WebCore.xcconfig:
    
    Source/WebKit/mac:
    
    * Configurations/DebugRelease.xcconfig:
    * Configurations/WebKit.xcconfig:
    
    Source/WebKit2:
    
    * Configurations/BaseTarget.xcconfig:
    * Configurations/DebugRelease.xcconfig:
    
    Tools:
    
    * DumpRenderTree/mac/Configurations/Base.xcconfig:
    * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig: A new .xcconfig file that's included by all target-specific .xcconfig files.
    * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
    * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
    * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
    * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
    * WebKitTestRunner/Configurations/Base.xcconfig:
    * WebKitTestRunner/Configurations/BaseTarget.xcconfig: A new .xcconfig file that's included by all target-specific .xcconfig files.
    * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
    * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
    * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a75e9229