gecko-dev/ipc
Gregory Szorc 8316cdb0b8 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.

--HG--
extra : rebase_source : 2f39e19c2eb11f937da85d41b9a514ca810d6be0
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
..
app Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted 2015-01-22 08:37:30 +00:00
bluetooth Bug 1119746: Support |ListenSocket| in |BluetoothDaemonConnection|, r=qdot 2015-01-20 10:17:25 +08:00
chromium bug 1133075 - fixup includes CLOSED TREE 2015-02-18 17:31:55 -05:00
contentproc Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted 2015-01-22 08:37:30 +00:00
dbus
glue Bug 1132771 - Support and test for reading without a config object; r=glandium 2015-02-26 10:21:52 -08:00
ipdl Bug 1135591 - Fix build breakage from bug 1132153 in code conditional on '--enable-ipdl-tests'. r=dholbert 2015-02-23 11:42:16 -05:00
keystore Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan 2014-12-10 18:20:10 -05:00
netd Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan 2014-12-10 18:20:10 -05:00
nfc Bug 1123651: Inherit |NfcConsumer| from |StreamSocket|, r=allstars.chh 2015-01-21 10:59:21 +01:00
ril Bug 1110669: Inherit |RilConsumer| from |StreamSocket|, r=qdot 2015-01-07 11:19:59 +01:00
testshell Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
unixfd Bug 1093025: Initialize listen socket only once in |UnixSocketWatcher::Listen|, r=kyle 2014-12-02 15:00:35 -08:00
unixsocket Bug 1119746: Signal active listening in |ListenSocket|, r=qdot 2015-01-20 10:17:19 +08:00
moz.build Bug 1073548: Add |mozilla::ipc::BluetoothDaemonConnection|, r=shawnjohnjr 2014-11-03 13:03:49 +01:00
pull-chromium.py