|
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 file, |
|
3 # You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 include $(topsrcdir)/config/rules.mk |
|
6 |
|
7 SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway |
|
8 |
|
9 exclude_files = \ |
|
10 test \ |
|
11 $(NULL) |
|
12 |
|
13 ifdef NIGHTLY_BUILD |
|
14 $(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) |
|
15 $(call py_action,buildlist,$@ "manifest shumway/chrome.manifest") |
|
16 |
|
17 libs:: $(SHUMWAY_BROWSER_EXTENSION) $(GLOBAL_DEPS) |
|
18 $(PYTHON) $(topsrcdir)/config/nsinstall.py \ |
|
19 $(SHUMWAY_BROWSER_EXTENSION) \ |
|
20 $(foreach exclude,$(exclude_files), -X $(SHUMWAY_BROWSER_EXTENSION)/$(exclude)) \ |
|
21 $(FINAL_TARGET)/chrome |
|
22 |
|
23 libs:: $(FINAL_TARGET)/chrome/shumway.manifest |
|
24 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chrome/shumway.manifest") |
|
25 endif |
|
26 |
|
27 |