OLD | NEW |
1 # This Source Code Form is subject to the terms of the Mozilla Public | 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, | 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/. | 3 # You can obtain one at http://mozilla.org/MPL/2.0/. |
4 | 4 |
5 include $(topsrcdir)/config/rules.mk | 5 include $(topsrcdir)/config/rules.mk |
6 | 6 |
7 SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway | 7 SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway |
| 8 ADBLOCKPLUS_BROWSER_EXTENSION = $(topsrcdir)/adblockplus |
8 | 9 |
9 exclude_files = \ | 10 exclude_files = \ |
10 test \ | 11 test \ |
11 $(NULL) | 12 $(NULL) |
12 | 13 |
13 ifdef NIGHTLY_BUILD | 14 ifdef NIGHTLY_BUILD |
14 $(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) | 15 $(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) |
15 $(call py_action,buildlist,$@ "manifest shumway/chrome.manifest") | 16 $(call py_action,buildlist,$@ "manifest shumway/chrome.manifest") |
16 | 17 |
17 libs:: $(SHUMWAY_BROWSER_EXTENSION) $(GLOBAL_DEPS) | 18 libs:: $(SHUMWAY_BROWSER_EXTENSION) $(GLOBAL_DEPS) |
18 $(PYTHON) $(topsrcdir)/config/nsinstall.py \ | 19 $(PYTHON) $(topsrcdir)/config/nsinstall.py \ |
19 $(SHUMWAY_BROWSER_EXTENSION) \ | 20 $(SHUMWAY_BROWSER_EXTENSION) \ |
20 $(foreach exclude,$(exclude_files), -X $(SHUMWAY_BROWSER_EXTENSION)/$(
exclude)) \ | 21 $(foreach exclude,$(exclude_files), -X $(SHUMWAY_BROWSER_EXTENSION)/$(
exclude)) \ |
21 $(FINAL_TARGET)/chrome | 22 $(FINAL_TARGET)/chrome |
22 | 23 |
23 libs:: $(FINAL_TARGET)/chrome/shumway.manifest | 24 libs:: $(FINAL_TARGET)/chrome/shumway.manifest |
24 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chr
ome/shumway.manifest") | 25 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chr
ome/shumway.manifest") |
25 endif | 26 endif |
26 | 27 |
| 28 $(FINAL_TARGET)/chrome/adblockplus.manifest: $(GLOBAL_DEPS) |
| 29 $(call py_action,buildlist,$@ "manifest adblockplus/chrome.manifest") |
27 | 30 |
| 31 libs:: $(ADBLOCKPLUS_BROWSER_EXTENSION) $(GLOBAL_DEPS) |
| 32 $(PYTHON) $(topsrcdir)/config/nsinstall.py \ |
| 33 $(ADBLOCKPLUS_BROWSER_EXTENSION) \ |
| 34 $(foreach exclude,$(exclude_files), -X $(ADBLOCKPLUS_BROWSER_EXTENSION
)/$(exclude)) \ |
| 35 $(FINAL_TARGET)/chrome |
| 36 |
| 37 libs:: $(FINAL_TARGET)/chrome/adblockplus.manifest |
| 38 $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chr
ome/adblockplus.manifest") |
OLD | NEW |