mobile/android/extensions/Makefile.in
author Jan-Ivar Bruaroey <jib@mozilla.com>
Wed, 15 Jan 2014 09:12:50 -0500
changeset 163695 6fa6159af7e50e0a34193af476fb820f97d934e7
parent 160286 1029848aea9a6a6e80b80d38ee8dd5f50c73ba2d
permissions -rw-r--r--
Bug 947665 - SSRC stat. r=abr

# 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