Changeset 165992 in webkit


Ignore:
Timestamp:
Mar 20, 2014, 1:30:46 PM (12 years ago)
Author:
psolanki@apple.com
Message:

iOS build fix after r165979.

  • generate-export-file:

(preprocessorMacros):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r165991 r165992  
     12014-03-20  Pratik Solanki  <psolanki@apple.com>
     2
     3        iOS build fix after r165979.
     4
     5        * generate-export-file:
     6        (preprocessorMacros):
     7
    182014-03-20  David Hyatt  <hyatt@apple.com>
    29
  • trunk/Source/WebCore/generate-export-file

    r161638 r165992  
    9797    push(@args, "-I" . $ENV{SDKROOT} . "/usr/local/include");
    9898
     99    chomp(my $sdk_version = `xcrun --sdk $ENV{SDKROOT} --show-sdk-version`);
     100    if ($ENV{PLATFORM_NAME} eq "iphoneos") {
     101        push(@args, "-miphoneos-min-version=" . $sdk_version);
     102    }
     103    if ($ENV{PLATFORM_NAME} eq "iphonesimulator") {
     104        push(@args, "-mios-simulator-version-min=" . $sdk_version);
     105    }
     106
    99107    # Print out #define lines for all macros.
    100108    push(@args, qw(-dM /dev/null));
Note: See TracChangeset for help on using the changeset viewer.