1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/b2g/build.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 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)/toolkit/mozapps/installer/package-name.mk 1.9 + 1.10 +installer: 1.11 + @$(MAKE) -C b2g/installer installer 1.12 + 1.13 +package: 1.14 + @$(MAKE) -C b2g/installer 1.15 + 1.16 +install:: 1.17 + @echo 'B2G can't be installed directly.' 1.18 + @exit 1 1.19 + 1.20 +upload:: 1.21 + @$(MAKE) -C b2g/installer upload 1.22 + 1.23 +ifdef ENABLE_TESTS 1.24 +# Implemented in testing/testsuite-targets.mk 1.25 + 1.26 +mochitest-browser-chrome: 1.27 + $(RUN_MOCHITEST) --browser-chrome 1.28 + $(CHECK_TEST_ERROR) 1.29 + 1.30 +mochitest:: mochitest-browser-chrome 1.31 + 1.32 +.PHONY: mochitest-browser-chrome 1.33 +endif 1.34 +