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
)/xpcom
/analysis
/static-init.js \
17 $(topsrcdir
)/js
/src
/jsstack.js \
18 $(topsrcdir
)/layout
/generic
/frame-verify.js \
21 DEHYDRA_ARG_PREFIX
=-fplugin-arg-gcc_treehydra-
24 $(DEHYDRA_ARG_PREFIX
)script
=$(DEHYDRA_SCRIPT
) \
25 $(DEHYDRA_ARG_PREFIX
)topsrcdir
=$(topsrcdir
) \
26 $(DEHYDRA_ARG_PREFIX
)objdir
=$(DEPTH
) \
27 $(DEHYDRA_ARG_PREFIX
)dehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(DEHYDRA_MODULES
))) \
28 $(DEHYDRA_ARG_PREFIX
)treehydra-modules
=$(subst $(NULL
) ,$(COMMA
),$(strip $(TREEHYDRA_MODULES
))) \
31 DEHYDRA_FLAGS
= -fplugin
=$(DEHYDRA_PATH
) $(DEHYDRA_ARGS
)
34 OS_CXXFLAGS
+= $(DEHYDRA_FLAGS
)