|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 NO_JS_MANIFEST = 1 |
|
7 MOZ_CHROME_FILE_FORMAT = flat |
|
8 DIST_FILES = \ |
|
9 install.rdf \ |
|
10 $(NULL) |
|
11 |
|
12 # Used in install.rdf |
|
13 USE_EXTENSION_MANIFEST=1 |
|
14 |
|
15 TEST_EXTENSIONS_DIR = $(DEPTH)/testing/specialpowers |
|
16 |
|
17 include $(topsrcdir)/config/rules.mk |
|
18 |
|
19 libs-preqs = \ |
|
20 $(call mkdir_deps,$(TEST_EXTENSIONS_DIR)) \ |
|
21 $(NULL) |
|
22 |
|
23 libs:: $(libs-preqs) |
|
24 (cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - $(XPI_NAME)) | (cd $(TEST_EXTENSIONS_DIR) && tar -xf -) |
|
25 $(NSINSTALL) -D $(DEPTH)/_tests/testing/mochitest/extensions/specialpowers |
|
26 cp -RL $(DEPTH)/testing/specialpowers/specialpowers $(DEPTH)/_tests/testing/mochitest/extensions |
|
27 $(NSINSTALL) -D $(DEPTH)/_tests/reftest/specialpowers |
|
28 cp -RL $(DEPTH)/testing/specialpowers/specialpowers $(DEPTH)/_tests/reftest |