Index: Makefile |
diff --git a/Makefile b/Makefile |
index 74a416dec3297f921d4146ac4a4845dce8ff3ced..6e2b4fe28abbc30c0c9740f821de32c7f9e24cb5 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -352,6 +352,7 @@ clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl |
# GYP file generation targets. |
OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES)) |
$(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) |
+ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ |
GYP_GENERATORS=make \ |
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
-Ibuild/standalone.gypi --depth=. \ |
@@ -359,6 +360,7 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) |
-S.$(subst .,,$(suffix $@)) $(GYPFLAGS) |
$(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) |
+ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ |
GYP_GENERATORS=make \ |
build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
-Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) |