gecko-dev/ipc/glue
Gregory Szorc 6d01f694ab 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 : f701417f83dfa4e196e39182f8d0a6fea46c6fbb
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
..
BackgroundChild.h Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
BackgroundChildImpl.cpp Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
BackgroundChildImpl.h Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
BackgroundImpl.cpp Bug 1102439 - Clean up child-side PBackground before thread shutdown. r=khuey 2014-11-20 14:16:36 -08:00
BackgroundParent.h Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan 2014-10-08 17:15:23 +01:00
BackgroundParentImpl.cpp Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
BackgroundParentImpl.h Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
BackgroundUtils.cpp Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
BackgroundUtils.h
BrowserProcessSubThread.cpp
BrowserProcessSubThread.h
CrossProcessMutex.h Bug 1098607 - Unbreak build BSDs and Solaris after bug 1072093. r=kats 2014-11-16 18:38:31 +01:00
CrossProcessMutex_posix.cpp Bug 1072093 - Build the CrossProcessMutex_posix on OS X, but disable it prior to Lion. r=smichaud 2014-11-07 14:17:14 -05:00
CrossProcessMutex_unimplemented.cpp
CrossProcessMutex_windows.cpp Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
FileDescriptor.cpp
FileDescriptor.h
FileDescriptorSetChild.cpp Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
FileDescriptorSetChild.h Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
FileDescriptorSetParent.cpp Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
FileDescriptorSetParent.h Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
FileDescriptorUtils.cpp
FileDescriptorUtils.h
GeckoChildProcessHost.cpp Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy 2015-02-11 16:25:43 +00:00
GeckoChildProcessHost.h Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy 2015-02-11 16:25:43 +00:00
IOThreadChild.h
IPCMessageUtils.h Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
InputStreamParams.ipdlh Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
InputStreamUtils.cpp Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan 2014-10-08 17:15:23 +01:00
InputStreamUtils.h
MessageChannel.cpp Bug 1130051 - Restore old semantics of IPDL 'compress' attribute. r=billm 2015-02-12 12:32:03 -08:00
MessageChannel.h bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
MessageLink.cpp Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey 2014-09-30 22:12:11 +08:00
MessageLink.h Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
MessagePump.cpp Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
MessagePump.h
PBackground.ipdl Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
PBackgroundSharedTypes.ipdlh
PBackgroundTest.ipdl
PFileDescriptorSet.ipdl Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
PProcLoader.ipdl
ProcessChild.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
ProcessChild.h
ProcessUtils.h Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically. 2014-11-03 12:46:43 -05:00
ProcessUtils_bsd.cpp
ProcessUtils_linux.cpp Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
ProcessUtils_mac.mm
ProcessUtils_none.cpp
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
ProtocolUtils.h
ScopedXREEmbed.cpp Bug 1075691: The GreD for XPCOM-using subprocesses on OSX needs to change due to the v2 signature changes. r=bsmedberg 2014-10-02 13:19:34 -04:00
ScopedXREEmbed.h
SharedMemory.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
SharedMemory.h
SharedMemoryBasic.h
SharedMemoryBasic_android.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
SharedMemoryBasic_android.h
SharedMemoryBasic_chromium.h bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
SharedMemorySysV.h Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
SharedMemory_posix.cpp
SharedMemory_windows.cpp
Shmem.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Shmem.h Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF 2014-12-23 21:17:50 -05:00
StringUtil.cpp
Transport.h
Transport_posix.cpp Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Transport_posix.h
Transport_win.cpp Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Transport_win.h
URIParams.ipdlh Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08:00
URIUtils.cpp Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08:00
URIUtils.h
WindowsMessageLoop.cpp Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-29 16:12:47 -07:00
WindowsMessageLoop.h
moz.build Bug 1132771 - Support and test for reading without a config object; r=glandium 2015-02-26 10:21:52 -08:00
nsIIPCBackgroundChildCreateCallback.h
nsIIPCSerializableInputStream.h
nsIIPCSerializableURI.h