gecko-dev/python/mozbuild
Mike Hommey 008fd44132 Bug 1071568 - Only pass down templates to the sandbox context when calling moz.build templates. r=mshal
It's not entirely clear passing down all the metadata makes sense. On the
other hand, when creating the template execution sandbox, passing down
exports does assign the value for the exported variable in that execution
context. When that context is merged with the caller sandbox context, the
exported variable is reassigned, even if the value is not modified. Then,
if the caller sandbox itself reassigns the exported variable, it fails
because calling a template already did it once, unexpectedly.

Not passing down exported variables makes the template execution sandbox
never set those exported variables, so that they are not merged back. The
caller sandbox can then properly reassign the exported variable.
2014-10-09 10:14:26 +09:00
..
dumbmake Bug 869613 - Make mach build some/deeper/path do dependencies for some and 2013-09-27 14:47:37 -04:00
mozbuild Bug 1071568 - Only pass down templates to the sandbox context when calling moz.build templates. r=mshal 2014-10-09 10:14:26 +09:00
mozpack Bug 930243 - Add a processType flag to chrome manifest directives (r=froydnj) 2014-10-07 11:46:24 -07:00
setup.py Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00
TODO Bug 784841 - Part 2: Implement sandboxing for Python build files; r=ted,glandium 2013-01-15 22:21:21 -08:00