> From: "Neil" <n...@parkwaycc.co.uk> > There used to be a limitation that source files had to be in the VPATH. > This limitation obviously does not apply to unified sources (the > compiler will use the -I path to find the source.) so you shouldn't have > a problem setting UNIFIED_SOURCES in a parent moz.build file. Indeed, we > can probably avoid setting VPATH altogether (possibly speeding up make).
Just a heads up - we no longer have the VPATH limitation since bug 888016 landed. There are still many uses of VPATH in the tree, which are slowly being eliminated as things are converted to moz.build (or if I ever get back to bug 875013 :) In any case, we don't need to use VPATH or -I flags for unified sources - we can just use #include "path/to/source.cpp". It looks like some unified sources do this already: see intl/uconv/src for an example. Once flags are moved over, we could look to combining subdir sources into the parent directory automatically. -Mike _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform