Changeset 55871 in webkit for trunk/JavaScriptCore/Configurations


Ignore:
Timestamp:
Mar 11, 2010, 5:53:05 PM (15 years ago)
Author:
[email protected]
Message:

<rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version

Reviewed by David Kilzer.

Default to using the appropriate SDK if the target Mac OS X version is not the current Mac OS X version.

JavaScriptCore:

  • Configurations/Base.xcconfig:

JavaScriptGlue:

  • Configurations/Base.xcconfig:

WebCore:

  • Configurations/Base.xcconfig:

WebKit/mac:

  • Configurations/Base.xcconfig:

WebKitTools:

  • DumpRenderTree/mac/Configurations/Base.xcconfig:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/Configurations/Base.xcconfig

    r55867 r55871  
    110110GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
    111111
     112// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
     113SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
     114SDKROOT_1050_1040 = macosx10.4;
     115SDKROOT_1060_1040 = macosx10.4;
     116SDKROOT_1060_1050 = macosx10.5;
     117SDKROOT_1070_1040 = macosx10.4;
     118SDKROOT_1070_1050 = macosx10.5;
     119SDKROOT_1070_1060 = macosx10.6;
     120
    112121
    113122// HAVE_DTRACE is disabled on Leopard due to <rdar://problem/5628149>
Note: See TracChangeset for help on using the changeset viewer.