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
7 $(topsrcdir
)/xpcom
/analysis
/final.js \
8 $(topsrcdir
)/xpcom
/analysis
/override.js \
9 $(topsrcdir
)/xpcom
/analysis
/must-override.js \
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 \
21 --topsrcdir
=$(topsrcdir
) \
23 --dehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(DEHYDRA_MODULES
))) \
24 --treehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(TREEHYDRA_MODULES
))) \
27 DEHYDRA_FLAGS
= -fplugin
=$(DEHYDRA_PATH
) -fplugin-arg
='$(DEHYDRA_SCRIPT) $(DEHYDRA_ARGS)'
30 OS_CXXFLAGS
+= $(DEHYDRA_FLAGS
)