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.

     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
     3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 STANDALONE_MAKEFILE := 1
     7 # overwrite mobile-l10n.js with a matchOS=true one for multi-locale builds
     8 ifeq ($(AB_CD),multi)
     9 PREF_JS_EXPORTS = $(srcdir)/mobile-l10n.js
    10 endif
    12 include $(topsrcdir)/config/rules.mk
    14 MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
    16 MOZ_PKG_MANIFEST_P = $(srcdir)/package-manifest.in
    18 DEFINES += \
    19 	-DAB_CD=$(AB_CD) \
    20 	-DMOZ_APP_NAME=$(MOZ_APP_NAME) \
    21 	-DPREF_DIR=$(PREF_DIR) \
    22 	$(NULL)
    24 DEFINES += -DJAREXT=
    25 DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
    27 ifdef MOZ_PKG_MANIFEST_P
    28 MOZ_PKG_MANIFEST = package-manifest
    29 endif
    31 MOZ_PACKAGER_MINIFY=1
    33 include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
    35 ifeq (bundle, $(MOZ_FS_LAYOUT))
    36 BINPATH = $(_BINPATH)
    37 DEFINES += -DAPPNAME=$(_APPNAME)
    38 else
    39 # Every other platform just winds up in dist/bin
    40 BINPATH = bin
    41 endif
    42 DEFINES += -DBINPATH=$(BINPATH)
    44 ifdef ENABLE_MARIONETTE
    45 DEFINES += -DENABLE_MARIONETTE=1
    46 endif
    48 ifdef MOZ_PKG_MANIFEST_P
    49 $(MOZ_PKG_MANIFEST): $(MOZ_PKG_MANIFEST_P) $(GLOBAL_DEPS)
    50 	$(call py_action,preprocessor,$(DEFINES) $(ACDEFINES) $< -o $@)
    51 ifdef MOZ_CHROME_MULTILOCALE
    52 	printf '\n[multilocale]\n' >> $@
    53 	for LOCALE in en-US $(MOZ_CHROME_MULTILOCALE) ;\
    54 	do \
    55 	  printf '$(BINPATH)/chrome/'"$$LOCALE"'$(JAREXT)\n' >> $@; \
    56 	  printf '$(BINPATH)/chrome/'"$$LOCALE"'.manifest\n' >> $@; \
    57 	done
    58 endif
    60 GARBAGE += $(MOZ_PKG_MANIFEST)
    61 endif

mercurial