Bug 574454 - Cleanup nsNativeThemeWin's GetMinimumWidgetSize a bit. r=roc.
[mozilla-central.git] / config / static-checking-config.mk
blobecdeb91a4eb01c0fd5860eef66288ec95098f704
1 # The entire tree should be subject to static analysis using the XPCOM
2 # script. Additional scripts may be added by specific subdirectories.
4 DEHYDRA_SCRIPT = $(topsrcdir)/config/static-checking.js
6 DEHYDRA_MODULES = \
7 $(topsrcdir)/xpcom/analysis/final.js \
8 $(topsrcdir)/xpcom/analysis/override.js \
9 $(topsrcdir)/xpcom/analysis/must-override.js \
10 $(NULL)
12 TREEHYDRA_MODULES = \
13 $(topsrcdir)/xpcom/analysis/outparams.js \
14 $(topsrcdir)/xpcom/analysis/stack.js \
15 $(topsrcdir)/xpcom/analysis/flow.js \
16 $(topsrcdir)/js/src/jsstack.js \
17 $(topsrcdir)/layout/generic/frame-verify.js \
18 $(NULL)
20 DEHYDRA_ARGS = \
21 --topsrcdir=$(topsrcdir) \
22 --objdir=$(DEPTH) \
23 --dehydra-modules=$(subst $(NULL) ,$(COMMA),$(strip $(DEHYDRA_MODULES))) \
24 --treehydra-modules=$(subst $(NULL) ,$(COMMA),$(strip $(TREEHYDRA_MODULES))) \
25 $(NULL)
27 DEHYDRA_FLAGS = -fplugin=$(DEHYDRA_PATH) -fplugin-arg='$(DEHYDRA_SCRIPT) $(DEHYDRA_ARGS)'
29 ifdef DEHYDRA_PATH
30 OS_CXXFLAGS += $(DEHYDRA_FLAGS)
31 endif