Bug 860667 - Pass $(DEFINES) and $(ACDEFINES) to embedjs.py. (r=till)

This commit is contained in:
Shu-yu Guo 2013-04-15 13:21:42 -07:00
parent 4fad8ac7d6
commit 4e958fb431

View File

@ -986,16 +986,8 @@ selfhosted_out_h_deps := \
$(srcdir)/builtin/embedjs.py \
$(NULL)
ifeq ($(MOZ_DEBUG),1)
selfhosting_defines += -DDEBUG
endif
ifneq (,$(MOZ_ZLIB_LIBS)$(MOZ_GLUE_LDFLAGS))
selfhosting_defines += -DUSE_ZLIB
endif
selfhosted.out.h: $(selfhosted_out_h_deps)
$(PYTHON) $(srcdir)/builtin/embedjs.py $(selfhosting_defines) \
$(PYTHON) $(srcdir)/builtin/embedjs.py $(DEFINES) $(ACDEFINES) \
-p '$(CPP)' -m $(srcdir)/js.msg -o $@ $(selfhosting_srcs)
###############################################