Reviewers: Jakob, jochen,

Message:
PTAL. I wonder why we didn't need that before... but after running make
dependencies now after the last gyp update, it looks like that the system is
using the wrong gyp from python when running the stand-alone make.

Description:
Fix python path for gyp.

BUG=

Please review this at https://codereview.chromium.org/151253002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -0 lines):
  M Makefile


Index: Makefile
diff --git a/Makefile b/Makefile
index 8f21f7c6ddcd7eaf73febb9cb8d7b954ac225cae..2f47fa9a88597a76bfc0a45da6e181a333f82f4b 100644
--- a/Makefile
+++ b/Makefile
@@ -387,6 +387,7 @@ clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl
 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
        PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
+       PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
        GYP_GENERATORS=make \
        build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
                      -Ibuild/standalone.gypi --depth=. \
@@ -396,6 +397,7 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)

 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
        PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
+       PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
        GYP_GENERATORS=make \
        build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
                      -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to