|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 include $(topsrcdir)/config/rules.mk |
|
6 |
|
7 # This is so hacky. Waiting on bug 988938. |
|
8 addondir = $(srcdir)/test/addons |
|
9 testdir = $(abspath $(DEPTH)/_tests/xpcshell/browser/experiments/test/xpcshell) |
|
10 |
|
11 libs:: |
|
12 $(EXIT_ON_ERROR) \ |
|
13 $(NSINSTALL) -D $(testdir); \ |
|
14 for dir in $(addondir)/*; do \ |
|
15 base=`basename $$dir`; \ |
|
16 (cd $$dir && zip -qr $(testdir)/$$base.xpi *); \ |
|
17 done |