michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: # You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway michael@0: michael@0: exclude_files = \ michael@0: test \ michael@0: $(NULL) michael@0: michael@0: ifdef NIGHTLY_BUILD michael@0: $(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) michael@0: $(call py_action,buildlist,$@ "manifest shumway/chrome.manifest") michael@0: michael@0: libs:: $(SHUMWAY_BROWSER_EXTENSION) $(GLOBAL_DEPS) michael@0: $(PYTHON) $(topsrcdir)/config/nsinstall.py \ michael@0: $(SHUMWAY_BROWSER_EXTENSION) \ michael@0: $(foreach exclude,$(exclude_files), -X $(SHUMWAY_BROWSER_EXTENSION)/$(exclude)) \ michael@0: $(FINAL_TARGET)/chrome michael@0: michael@0: libs:: $(FINAL_TARGET)/chrome/shumway.manifest michael@0: $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chrome/shumway.manifest") michael@0: endif michael@0: michael@0: