mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
41 lines
949 B
Makefile
41 lines
949 B
Makefile
# 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@
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
TEST_DIRS += test
|
|
|
|
COMMONJS_FILES = \
|
|
source/lib/toolkit \
|
|
source/lib/sdk \
|
|
$(NULL)
|
|
|
|
COMMONJS_DEST = $(FINAL_TARGET)/modules/commonjs
|
|
INSTALL_TARGETS += COMMONJS
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
TEST_FILES = \
|
|
source/app-extension \
|
|
source/bin \
|
|
source/data \
|
|
source/python-lib \
|
|
source/test \
|
|
source/package.json \
|
|
source/mapping.json \
|
|
$(NULL)
|
|
|
|
# Remove this once the test harness uses the APIs built into Firefox
|
|
TEST_FILES += source/lib
|
|
|
|
PKG_STAGE = $(DIST)/test-package-stage
|
|
|
|
stage-tests-package:: $(TEST_FILES)
|
|
$(INSTALL) $^ $(PKG_STAGE)/jetpack
|