aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2015-06-17 18:43:08 -0600
committerJack Moffitt <jack@metajack.im>2015-06-17 18:43:08 -0600
commiteae411885c754057a8003d1ddf2619e3e7e1dc53 (patch)
tree089d2930be78ec6b40484f4d289eba0f48f39e96
parentff59e1b8de67f1988522d6b6e6c4adda957fad5b (diff)
downloadservo-eae411885c754057a8003d1ddf2619e3e7e1dc53.tar.gz
servo-eae411885c754057a8003d1ddf2619e3e7e1dc53.zip
Don't generate pyc files.
This eliminates the last bit of script crate generating in-tree files. This now allows cargo target dir sharing to fully work.
-rw-r--r--components/script/makefile.cargo4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/makefile.cargo b/components/script/makefile.cargo
index 2093e12f238..9fc604382fc 100644
--- a/components/script/makefile.cargo
+++ b/components/script/makefile.cargo
@@ -28,7 +28,7 @@ $(CACHE_DIR)/.done:
touch $@
$(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
- $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
+ $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/GlobalGen.py $(BINDINGS_SRC)/Bindings.conf . \
@@ -37,7 +37,7 @@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
$(AUTOGEN_SRC): $(OUT_DIR)/Bindings/%Binding.rs: $(bindinggen_dependencies) \
$(addprefix $(WEBIDLS_SRC)/,%.webidl)
- $(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
+ $(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/BindingGen.py \