summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/gyp_webkit
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/gyp_webkit')
-rw-r--r--WebKit/chromium/gyp_webkit7
1 files changed, 6 insertions, 1 deletions
diff --git a/WebKit/chromium/gyp_webkit b/WebKit/chromium/gyp_webkit
index 810af54..ef18239 100644
--- a/WebKit/chromium/gyp_webkit
+++ b/WebKit/chromium/gyp_webkit
@@ -32,6 +32,7 @@
import glob
import os
+import platform
import shlex
import sys
@@ -76,6 +77,10 @@ if __name__ == '__main__':
# Add includes.
args.extend(['-I' + i for i in additional_include_files(args)])
+ # On linux, we want gyp to output a makefile (default is scons).
+ if (platform.system() == 'Linux'):
+ args.extend(['-fmake'])
+
# Other command args:
args.extend([
# gyp variable defines.
@@ -87,7 +92,7 @@ if __name__ == '__main__':
'--depth=./',
# gyp file to execute.
- 'webkit.gyp'])
+ 'WebKit.gyp'])
print 'Updating webkit projects from gyp files...'
sys.stdout.flush()