Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: Source/WebCore/WebCore.gypi

Issue 14110002: Introduce bindings.gyp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebCore/WebCore.gyp/WebCore.gyp » ('j') | Source/WebCore/WebCore.gyp/WebCore.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/WebCore.gypi
diff --git a/Source/WebCore/WebCore.gypi b/Source/WebCore/WebCore.gypi
index 4a83b65ffd724839246380200a0112779201fd0f..63a1b8466ca867f58b6a5c6a9fbd91f64d2de943 100644
--- a/Source/WebCore/WebCore.gypi
+++ b/Source/WebCore/WebCore.gypi
@@ -4880,5 +4880,26 @@
'platform/chromium/support/WrappedResourceRequest.h',
'platform/chromium/support/WrappedResourceResponse.h',
],
+
+ 'conditions': [
+ ['OS=="win"', {
+ # Using native perl rather than cygwin perl cuts execution time of idl
+ # preprocessing rules by a bit more than 50%.
+ 'perl_exe': '<(DEPTH)/third_party/perl/perl/bin/perl.exe',
+ 'gperf_exe': '<(DEPTH)/third_party/gperf/bin/gperf.exe',
+ 'bison_exe': '<(DEPTH)/third_party/bison/bin/bison.exe',
+ # Using cl instead of cygwin gcc cuts the processing time from
+ # 1m58s to 0m52s.
+ 'preprocessor': '--preprocessor "cl.exe -nologo -EP -TP"',
+ },{
+ 'perl_exe': 'perl',
+ 'gperf_exe': 'gperf',
+ 'bison_exe': 'bison',
+
+ # We specify a preprocess so it happens locally and won't get distributed to goma.
+ # FIXME: /usr/bin/gcc won't exist on OSX forever. We want to use /usr/bin/clang once we require Xcode 4.x.
+ 'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"'
+ }],
+ ],
}
}
« no previous file with comments | « no previous file | Source/WebCore/WebCore.gyp/WebCore.gyp » ('j') | Source/WebCore/WebCore.gyp/WebCore.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698