forked from openkylin/platform_build
Merge "Make a full list of locales available, and use it for the sim build."
This commit is contained in:
commit
0bc1278964
|
@ -0,0 +1,5 @@
|
|||
# The locales from the ICU "-large.dat" data set.
|
||||
# See external/icu4c/stubdata.
|
||||
# This is distinct from "languages_full.mk", which contains those locales for
|
||||
# which we have translations. If you like, this file is i18n rather than l18n.
|
||||
PRODUCT_LOCALES := cs_CZ da_DA de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_NZ en_SG en_US es_ES fr_CA fr_CH fr_BE fr_FR it_CH it_IT ja_JP ko_KR nb_NO nl_BE nl_NL pl_PL pt_PT ru_RU sv_SV tr_TR zh_CN zh_HK zh_TW
|
|
@ -62,40 +62,13 @@ PRODUCT_COPY_FILES := \
|
|||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_BRAND := generic
|
||||
PRODUCT_NAME := sdk
|
||||
PRODUCT_DEVICE := generic
|
||||
PRODUCT_LOCALES := \
|
||||
ldpi \
|
||||
hdpi \
|
||||
mdpi \
|
||||
en_US \
|
||||
en_GB \
|
||||
en_CA \
|
||||
en_AU \
|
||||
en_NZ \
|
||||
en_SG \
|
||||
ja_JP \
|
||||
fr_FR \
|
||||
fr_BE \
|
||||
fr_CA \
|
||||
fr_CH \
|
||||
it_IT \
|
||||
it_CH \
|
||||
es_ES \
|
||||
de_DE \
|
||||
de_AT \
|
||||
de_CH \
|
||||
de_LI \
|
||||
nl_NL \
|
||||
nl_BE \
|
||||
cs_CZ \
|
||||
pl_PL \
|
||||
zh_CN \
|
||||
zh_TW \
|
||||
ru_RU \
|
||||
ko_KR
|
||||
PRODUCT_LOCALES += ldpi hdpi mdpi
|
||||
|
||||
# include available languages for TTS in the system image
|
||||
include external/svox/pico/lang/PicoLangDeDeInSystem.mk
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_NAME := sim
|
||||
PRODUCT_DEVICE := sim
|
||||
PRODUCT_LOCALES := en_US
|
||||
|
|
Loading…
Reference in New Issue