mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
85b0cb2485
Instead of checking in binary .xpi files, we now have the source files under source control and generate the .xpi as part of the build. The build system mechanism to generate the .xpi files is hacky. But it's similar to what existing processes use. Bug 988938 will eventually make this more sane. Since the produced .xpi files no longer have stable content, the SHA-1s of the experiments are now calculated at test run time. --HG-- extra : rebase_source : 85ae5a6c480a5add173b639f06b3ee404c5c6686
18 lines
571 B
Makefile
18 lines
571 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/.
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# This is so hacky. Waiting on bug 988938.
|
|
addondir = $(srcdir)/test/addons
|
|
testdir = $(abspath $(DEPTH)/_tests/xpcshell/browser/experiments/test/xpcshell)
|
|
|
|
libs::
|
|
$(EXIT_ON_ERROR) \
|
|
$(NSINSTALL) -D $(testdir); \
|
|
for dir in $(addondir)/*; do \
|
|
base=`basename $$dir`; \
|
|
(cd $$dir && zip -qr $(testdir)/$$base.xpi *); \
|
|
done
|