mobile/android/installer/Makefile.in

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 STANDALONE_MAKEFILE := 1
michael@0 6
michael@0 7 # overwrite mobile-l10n.js with a matchOS=true one for multi-locale builds
michael@0 8 ifeq ($(AB_CD),multi)
michael@0 9 PREF_JS_EXPORTS = $(srcdir)/mobile-l10n.js
michael@0 10 endif
michael@0 11
michael@0 12 include $(topsrcdir)/config/rules.mk
michael@0 13
michael@0 14 MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
michael@0 15
michael@0 16 MOZ_PKG_MANIFEST_P = $(srcdir)/package-manifest.in
michael@0 17
michael@0 18 DEFINES += \
michael@0 19 -DAB_CD=$(AB_CD) \
michael@0 20 -DMOZ_APP_NAME=$(MOZ_APP_NAME) \
michael@0 21 -DPREF_DIR=$(PREF_DIR) \
michael@0 22 $(NULL)
michael@0 23
michael@0 24 DEFINES += -DJAREXT=
michael@0 25 DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
michael@0 26
michael@0 27 ifdef MOZ_PKG_MANIFEST_P
michael@0 28 MOZ_PKG_MANIFEST = package-manifest
michael@0 29 endif
michael@0 30
michael@0 31 MOZ_PACKAGER_MINIFY=1
michael@0 32
michael@0 33 include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
michael@0 34
michael@0 35 ifeq (bundle, $(MOZ_FS_LAYOUT))
michael@0 36 BINPATH = $(_BINPATH)
michael@0 37 DEFINES += -DAPPNAME=$(_APPNAME)
michael@0 38 else
michael@0 39 # Every other platform just winds up in dist/bin
michael@0 40 BINPATH = bin
michael@0 41 endif
michael@0 42 DEFINES += -DBINPATH=$(BINPATH)
michael@0 43
michael@0 44 ifdef ENABLE_MARIONETTE
michael@0 45 DEFINES += -DENABLE_MARIONETTE=1
michael@0 46 endif
michael@0 47
michael@0 48 ifdef MOZ_PKG_MANIFEST_P
michael@0 49 $(MOZ_PKG_MANIFEST): $(MOZ_PKG_MANIFEST_P) $(GLOBAL_DEPS)
michael@0 50 $(call py_action,preprocessor,$(DEFINES) $(ACDEFINES) $< -o $@)
michael@0 51 ifdef MOZ_CHROME_MULTILOCALE
michael@0 52 printf '\n[multilocale]\n' >> $@
michael@0 53 for LOCALE in en-US $(MOZ_CHROME_MULTILOCALE) ;\
michael@0 54 do \
michael@0 55 printf '$(BINPATH)/chrome/'"$$LOCALE"'$(JAREXT)\n' >> $@; \
michael@0 56 printf '$(BINPATH)/chrome/'"$$LOCALE"'.manifest\n' >> $@; \
michael@0 57 done
michael@0 58 endif
michael@0 59
michael@0 60 GARBAGE += $(MOZ_PKG_MANIFEST)
michael@0 61 endif

mercurial