summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/gyp_webkit
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/gyp_webkit')
-rwxr-xr-x[-rw-r--r--]WebKit/chromium/gyp_webkit11
1 files changed, 7 insertions, 4 deletions
diff --git a/WebKit/chromium/gyp_webkit b/WebKit/chromium/gyp_webkit
index ef18239..b7d2308 100644..100755
--- a/WebKit/chromium/gyp_webkit
+++ b/WebKit/chromium/gyp_webkit
@@ -1,4 +1,4 @@
-#
+#!/usr/bin/env python
# Copyright (C) 2009 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,6 @@
import glob
import os
-import platform
import shlex
import sys
@@ -78,8 +77,12 @@ if __name__ == '__main__':
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'])
+ if sys.platform == 'linux2':
+ args.extend(['-fmake',
+ '--suffix=.chromium',
+ '--toplevel-dir=../..',
+ # auto_regeneration doesn't work with toplevel-dir
+ '-Gauto_regeneration=0'])
# Other command args:
args.extend([