Changeset 118624 in webkit
- Timestamp:
- May 27, 2012, 4:35:40 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
WebCore.xcodeproj/project.pbxproj (modified) (1 diff)
-
css/makeprop.pl (modified) (2 diffs)
-
css/makevalues.pl (modified) (2 diffs)
-
make-hash-tools.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r118622 r118624 1 2012-05-27 David Kilzer <ddkilzer@apple.com> 2 3 Use xcrun to find gperf path on platforms that use Xcode 4 <http://webkit.org/b/87587> 5 6 Reviewed by Dan Bernstein. 7 8 * WebCore.xcodeproj/project.pbxproj: 9 (Generate Derived Sources): Set GPERF environment variable using 10 xcrun. 11 * css/makeprop.pl: Use GPERF environment variable if set, else 12 "gperf". 13 * css/makevalues.pl: Ditto. 14 * make-hash-tools.pl: Ditto. 15 1 16 2012-05-27 Li Yin <li.yin@intel.com> 2 17 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r118567 r118624 25287 25287 runOnlyForDeploymentPostprocessing = 0; 25288 25288 shellPath = /bin/sh; 25289 shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\n\n/bin/ln -sfh \"${SRCROOT}\" WebCore\nexport WebCore=\"WebCore\"\n\nif [ ! $CC ]; then\n case $TARGET_GCC_VERSION in\n (GCC_42)\n export CC=\"`xcrun -find gcc-4.2`\";;\n (LLVM_GCC_42)\n export CC=\"`xcrun -find llvm-gcc-4.2`\";;\n (LLVM_COMPILER)\n export CC=\"`xcrun -find clang`\";;\n esac\nfi\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n make --no-builtin-rules -f \"WebCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.availcpu`\nfi\n";25289 shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\n\n/bin/ln -sfh \"${SRCROOT}\" WebCore\nexport WebCore=\"WebCore\"\n\nif [ ! $CC ]; then\n case $TARGET_GCC_VERSION in\n (GCC_42)\n export CC=\"`xcrun -find gcc-4.2`\";;\n (LLVM_GCC_42)\n export CC=\"`xcrun -find llvm-gcc-4.2`\";;\n (LLVM_COMPILER)\n export CC=\"`xcrun -find clang`\";;\n esac\nfi\n\nif [ ! $GPERF ]; then\n export GPERF=\"`xcrun -find gperf`\"\nfi\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n make --no-builtin-rules -f \"WebCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.availcpu`\nfi\n"; 25290 25290 }; 25291 25291 /* End PBXShellScriptBuildPhase section */ -
trunk/Source/WebCore/css/makeprop.pl
r113273 r118624 4 4 # 5 5 # Copyright (C) 1999 Waldo Bastian (bastian@kde.org) 6 # Copyright (C) 2007, 2008 Apple Inc. All rights reserved.6 # Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. 7 7 # Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 8 # Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeged … … 223 223 close HEADER; 224 224 225 system("gperf --key-positions=\"*\" -D -n -s 2 CSSPropertyNames.gperf --output-file=CSSPropertyNames.cpp") == 0 || die "calling gperf failed: $?"; 225 my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; 226 system("\"$gperf\" --key-positions=\"*\" -D -n -s 2 CSSPropertyNames.gperf --output-file=CSSPropertyNames.cpp") == 0 || die "calling gperf failed: $?"; -
trunk/Source/WebCore/css/makevalues.pl
r113643 r118624 4 4 # 5 5 # Copyright (C) 1999 Waldo Bastian (bastian@kde.org) 6 # Copyright (C) 2007 Apple Inc. All rights reserved.6 # Copyright (C) 2007, 2012 Apple Inc. All rights reserved. 7 7 # Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 8 # Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeged … … 161 161 close HEADER; 162 162 163 system("gperf --key-positions=\"*\" -D -n -s 2 CSSValueKeywords.gperf --output-file=CSSValueKeywords.cpp") == 0 || die "calling gperf failed: $?"; 163 my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; 164 system("\"$gperf\" --key-positions=\"*\" -D -n -s 2 CSSValueKeywords.gperf --output-file=CSSValueKeywords.cpp") == 0 || die "calling gperf failed: $?"; -
trunk/Source/WebCore/make-hash-tools.pl
r103031 r118624 4 4 # 5 5 # Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeged 6 # Copyright (C) 2012 Apple Inc. All rights reserved. 6 7 # 7 8 # This library is free software; you can redistribute it and/or … … 27 28 my $option = basename($ARGV[0],".gperf"); 28 29 29 30 30 if ($option eq "ColorData") { 31 32 31 my $colorDataGenerated = "$outdir/ColorData.cpp"; 33 32 my $colorDataGperf = $ARGV[0]; 34 33 shift; 35 34 36 system("gperf --key-positions=\"*\" -D -s 2 $colorDataGperf --output-file=$colorDataGenerated") == 0 || die "calling gperf failed: $?"; 35 my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; 36 system("\"$gperf\" --key-positions=\"*\" -D -s 2 $colorDataGperf --output-file=$colorDataGenerated") == 0 || die "calling gperf failed: $?"; 37 37 38 38 } else {
Note:
See TracChangeset
for help on using the changeset viewer.