1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/addon-sdk/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +include $(topsrcdir)/config/config.mk 1.9 + 1.10 +ifeq (gonk,$(MOZ_WIDGET_TOOLKIT)) 1.11 +MOZ_B2G=1 1.12 +else 1.13 +MOZ_B2G=0 1.14 +endif 1.15 + 1.16 +libs:: 1.17 + $(PYTHON) $(srcdir)/copy_source.py $(topsrcdir) $(srcdir)/source/lib $(FINAL_TARGET)/modules/commonjs $(MOZ_B2G) >copy_source.mk 1.18 + $(MAKE) -f copy_source.mk libs 1.19 + 1.20 +include $(topsrcdir)/config/rules.mk 1.21 + 1.22 +TEST_FILES = \ 1.23 + source/app-extension \ 1.24 + source/bin \ 1.25 + source/python-lib \ 1.26 + source/test \ 1.27 + source/package.json \ 1.28 + source/mapping.json \ 1.29 + $(NULL) 1.30 + 1.31 +# Remove this once the test harness uses the APIs built into Firefox 1.32 +TEST_FILES += source/lib 1.33 + 1.34 +PKG_STAGE = $(DIST)/test-package-stage 1.35 + 1.36 +stage-tests-package:: $(TEST_FILES) 1.37 + $(INSTALL) $^ $(PKG_STAGE)/jetpack