mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 664090 follow-up: simpler way to make DEBUG available in preprocessed file. DONTBUILD
This commit is contained in:
parent
c6d7d281d7
commit
398e0986ac
@ -48,12 +48,5 @@ XPCSHELL_TESTS = unit
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# Preprocessor.py won't recognize DEBUG as defined if you just pass -DDEBUG.
|
||||
# See bug 664313. (Also, yay for consistency with DEBUG v. MOZ_DEBUG.)
|
||||
SYNCDEFINES=
|
||||
ifdef MOZ_DEBUG
|
||||
SYNCDEFINES += -DDEBUG=1
|
||||
endif
|
||||
|
||||
libs:: unit/head_appinfo.js.in
|
||||
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(SYNCDEFINES) $^ > $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit/head_appinfo.js
|
||||
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ > $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit/head_appinfo.js
|
||||
|
Loading…
Reference in New Issue
Block a user