suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp/generator/make.py doesn't work for WebKit #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As discussed by email, we need the following patch to make build-webkit
--chromium work on Linux:

Index: WebKit/chromium/tools/gyp/pylib/gyp/generator/make.py
===================================================================
--- WebKit/chromium/tools/gyp/pylib/gyp/generator/make.py   (revision 751)
+++ WebKit/chromium/tools/gyp/pylib/gyp/generator/make.py   (working copy)
@@ -1129,7 +1129,8 @@
         makefile_name,
         ' '.join(map(Sourceify, build_files)),
         gyp.common.EncodePOSIXShellList(
-            [gyp.common.FixIfRelativePath(params['gyp_binary'],
options.depth),
+            [sys.executable,
+             gyp.common.FixIfRelativePath(params['gyp_binary'],
options.depth),
              '-fmake'] +
             gyp.RegenerateFlags(options) +
             build_files_args)))

Original issue reported on code.google.com by abarth@chromium.org on 17 Dec 2009 at 8:34

GoogleCodeExporter commented 9 years ago
I lied.  We'd like the attached patch.

Original comment by abarth@chromium.org on 17 Dec 2009 at 8:39

Attachments: