Makefile.in (1418B)
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/. 4 5 include $(topsrcdir)/config/rules.mk 6 7 # Note: `Makefile.in` is not allowed to modify `DEFINES`, so we modify 8 # `MAKE_JAR_FLAGS` directly. 9 10 # Note: we use 'es-ES' badge for all Spanish locales like in Bedrock. 11 # See https://github.com/mozilla/bedrock/blob/67fd925b4d621dde0e48e27738c4b9c397ac5169/bedrock/mozorg/templatetags/misc.py#L58. 12 13 # Note: it's probably possible to format these lists so they're easier to 14 # modify. 15 16 ifneq (,$(filter es%,$(AB_CD))) 17 MAKE_JARS_FLAGS += -DANDROID_MARKETPLACE_AB_CD=es-ES 18 MAKE_JARS_FLAGS += -DIOS_MARKETPLACE_AB_CD=es-ES 19 else 20 ifneq (,$(filter $(AB_CD),af ar az be bg bn-BD bn-IN ca cs da de el es-ES et eu fa fi fr gl gu-IN he hi-IN hr hu hy-AM id is it ja ka kk km kn ko lo lt lv mk ml mr ms my nb-NO ne-NP nl nn-NO pa-IN pl pt-BR pt-PT ro ru si sk sl sq sr sv-SE sw ta te th tr uk ur uz vi zh-CN zh-TW zu)) 21 MAKE_JARS_FLAGS += -DANDROID_MARKETPLACE_AB_CD=$(AB_CD) 22 endif # Android, does not start with es. 23 ifneq (,$(filter $(AB_CD),ar az bg cs da de el es-ES et fi fr he hu id it ja ko lt lv ms mt nb-NO nl nn-NO pl pt-BR pt-PT ro ru sk sl sv-SE th tr vi zh-CN zh-TW)) 24 MAKE_JARS_FLAGS += -DIOS_MARKETPLACE_AB_CD=$(AB_CD) 25 endif # iOS, does not start with es. 26 endif # starts with es.