bug 475111 - port bug 471685, bug 469558, bug 464190, bug 467579, bug 397227, bug 463420, bug 466492, bug 471188, bug 467271, bug 466486 to comm-central, r=Standard8
2009-01-29 23:09:08 +03:00
|
|
|
# The entire tree should be subject to static analysis using the XPCOM
|
|
|
|
# script. Additional scripts may be added by specific subdirectories.
|
|
|
|
|
|
|
|
DEHYDRA_SCRIPT = $(MOZILLA_SRCDIR)/config/static-checking.js
|
|
|
|
|
|
|
|
DEHYDRA_MODULES = \
|
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/final.js \
|
2010-03-11 22:50:13 +03:00
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/override.js \
|
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/must-override.js \
|
bug 475111 - port bug 471685, bug 469558, bug 464190, bug 467579, bug 397227, bug 463420, bug 466492, bug 471188, bug 467271, bug 466486 to comm-central, r=Standard8
2009-01-29 23:09:08 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
TREEHYDRA_MODULES = \
|
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/outparams.js \
|
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/stack.js \
|
|
|
|
$(MOZILLA_SRCDIR)/xpcom/analysis/flow.js \
|
|
|
|
$(MOZILLA_SRCDIR)/js/src/jsstack.js \
|
2010-03-11 22:50:13 +03:00
|
|
|
$(MOZILLA_SRCDIR)/layout/generic/frame-verify.js \
|
bug 475111 - port bug 471685, bug 469558, bug 464190, bug 467579, bug 397227, bug 463420, bug 466492, bug 471188, bug 467271, bug 466486 to comm-central, r=Standard8
2009-01-29 23:09:08 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEHYDRA_ARGS = \
|
|
|
|
--topsrcdir=$(topsrcdir) \
|
|
|
|
--objdir=$(MOZDEPTH) \
|
|
|
|
--dehydra-modules=$(subst $(NULL) ,$(COMMA),$(strip $(DEHYDRA_MODULES))) \
|
|
|
|
--treehydra-modules=$(subst $(NULL) ,$(COMMA),$(strip $(TREEHYDRA_MODULES))) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEHYDRA_FLAGS = -fplugin=$(DEHYDRA_PATH) -fplugin-arg='$(DEHYDRA_SCRIPT) $(DEHYDRA_ARGS)'
|
|
|
|
|
|
|
|
ifdef DEHYDRA_PATH
|
|
|
|
OS_CXXFLAGS += $(DEHYDRA_FLAGS)
|
|
|
|
endif
|