gecko/config/tests
Gregory Szorc 84c01c942b Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.
2015-02-26 10:21:52 -08:00
..
makefiles/autodeps Bug 1099430, mozilla-central parts: Eliminate the duplication of the build system in comm-central, r=glandium. 2014-11-29 19:45:31 -06:00
ref-simple
src-simple
chrome.manifest.flat
test_mozbuild_reading.py Bug 1132771 - Support and test for reading without a config object; r=glandium 2015-02-26 10:21:52 -08:00
test.manifest.flat
test.manifest.jar
test.manifest.symlink
unit-expandlibs.py
unit-mozunit.py
unit-nsinstall.py
unit-printprereleasesuffix.py
unitMozZipFile.py