author Gregory Szorc <gps@mozilla.com>
Tue, 15 Jan 2013 22:21:21 -0800
changeset 119046 ec072cee05025335f0637de7e1dab95623fe8a56
parent 107628 e21f9042824fe071845302042b37b8b1200f6653
child 140948 f2528126addb5804de1b3ebfce42f164fb1c7a62
permissions -rw-r--r--
Bug 784841 - Part 2: Implement sandboxing for Python build files; r=ted,glandium This is the beginning of Mozilla's new build system. In this patch, we have a Python sandbox tailored for execution of Python scripts which will define the build system. We also have a build reader that traverses a linked set of scripts. More details are available in the thorough README.rst files as part of this patch. * * * Bug 784841 - Part 2b: Option to not descend into child moz.build files; r=ted

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH           = @DEPTH@
topsrcdir       = @top_srcdir@
srcdir          = @srcdir@
VPATH           = @srcdir@
relativesrcdir  = @relativesrcdir@

include $(DEPTH)/config/autoconf.mk

  install.rdf \
  chrome.manifest \

EXTRA_COMPONENTS = components/SpecialPowersObserver.js


# Used in install.rdf

TEST_EXTENSIONS_DIR = $(DEPTH)/testing/specialpowers

include $(topsrcdir)/config/rules.mk

# JarMaker creates a chrome.manifest already, so the one from the source
# directory is not copied if it's not forced to be.
$(FINAL_TARGET)/chrome.manifest: FORCE

libs-preqs = \
  $(call mkdir_deps,$(TEST_EXTENSIONS_DIR)) \

libs:: $(libs-preqs)
	(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - $(XPI_NAME)) | (cd $(TEST_EXTENSIONS_DIR) && tar -xf -)
	$(NSINSTALL) -D $(DEPTH)/_tests/testing/mochitest/extensions/specialpowers
	cp -RL $(DEPTH)/testing/specialpowers/specialpowers $(DEPTH)/_tests/testing/mochitest/extensions
	$(NSINSTALL) -D $(DEPTH)/_tests/reftest/specialpowers
	cp -RL $(DEPTH)/testing/specialpowers/specialpowers $(DEPTH)/_tests/reftest