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
)/layout
/generic
/frame-verify.js \
12 $(topsrcdir
)/xpcom
/analysis
/outparams.js \
13 $(topsrcdir
)/xpcom
/analysis
/stack.js \
14 $(topsrcdir
)/xpcom
/analysis
/flow.js \
15 $(topsrcdir
)/js
/src
/jsstack.js \
19 --topsrcdir
=$(topsrcdir
) \
21 --dehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(DEHYDRA_MODULES
))) \
22 --treehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(TREEHYDRA_MODULES
))) \
25 DEHYDRA_FLAGS
= -fplugin
=$(DEHYDRA_PATH
) -fplugin-arg
='$(DEHYDRA_SCRIPT) $(DEHYDRA_ARGS)'
28 OS_CXXFLAGS
+= $(DEHYDRA_FLAGS
)