gecko-dev/mobile/android/extensions/Makefile.in

28 lines
897 B
Makefile

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