Changeset 161715 in webkit


Ignore:
Timestamp:
Jan 10, 2014 6:26:39 PM (10 years ago)
Author:
aestes@apple.com
Message:

[iOS] Build fix: make sure WTF_PLATFORM_IOS is defined when preprocessing

  • DerivedSources.make:
  • bindings/scripts/preprocessor.pm:

(applyPreprocessor):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r161714 r161715  
     12014-01-10  Andy Estes  <aestes@apple.com>
     2
     3        [iOS] Build fix: make sure WTF_PLATFORM_IOS is defined when preprocessing
     4
     5        * DerivedSources.make:
     6        * bindings/scripts/preprocessor.pm:
     7        (applyPreprocessor):
     8
    192014-01-10  Simon Fraser  <simon.fraser@apple.com>
    210
  • trunk/Source/WebCore/DerivedSources.make

    r161713 r161715  
    790790endif
    791791
    792 CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl $(PLATFORM_FEATURE_DEFINES)
     792CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl bindings/scripts/preprocessor.pm $(PLATFORM_FEATURE_DEFINES)
    793793        cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
    794794        perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(FEATURE_DEFINES)"
    795795
    796 CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl $(PLATFORM_FEATURE_DEFINES)
     796CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl bindings/scripts/preprocessor.pm $(PLATFORM_FEATURE_DEFINES)
    797797        cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
    798798        perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(FEATURE_DEFINES)"
  • trunk/Source/WebCore/bindings/scripts/preprocessor.pm

    r161647 r161715  
    5858    }
    5959
    60     if ($Config::Config{"osname"} eq "darwin" && $ENV{SDKROOT}) {
     60    if ($Config::Config{"osname"} eq "darwin") {
    6161        push(@args, "-I" . $ENV{BUILT_PRODUCTS_DIR} . "/usr/local/include") if $ENV{BUILT_PRODUCTS_DIR};
    6262        push(@args, "-isysroot", $ENV{SDKROOT}) if $ENV{SDKROOT};
     63        $defines .= " WTF_PLATFORM_IOS" if $ENV{PLATFORM_NAME} =~ /iphone(os|simulator)/;
    6364    }
    6465
Note: See TracChangeset for help on using the changeset viewer.