diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-10-22 10:22:42 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-10-22 10:49:23 -0700 |
commit | 8928ef8b4cc46bf9c5be3466ad8cb4ab40bb8a2c (patch) | |
tree | 0231d74b59b0f63d85e325dbce5eb12550dfa591 /target | |
parent | 0332f0ac1ec69082d337e9990b964b883e5cf689 (diff) | |
download | build-8928ef8b4cc46bf9c5be3466ad8cb4ab40bb8a2c.zip build-8928ef8b4cc46bf9c5be3466ad8cb4ab40bb8a2c.tar.gz build-8928ef8b4cc46bf9c5be3466ad8cb4ab40bb8a2c.tar.bz2 |
Make a full list of locales available
Use it for the sim build and full build.
Change-Id: I64dfa7ac1b374529ef5f0c1460dd35171311115e
Diffstat (limited to 'target')
-rw-r--r-- | target/product/full.mk | 8 | ||||
-rw-r--r-- | target/product/locales_full.mk | 5 | ||||
-rw-r--r-- | target/product/sim.mk | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/target/product/full.mk b/target/product/full.mk index 19c1e24..6f4aded 100644 --- a/target/product/full.mk +++ b/target/product/full.mk @@ -39,6 +39,9 @@ PRODUCT_COPY_FILES := \ development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ development/data/etc/vold.conf:system/etc/vold.conf +# Put en_US first in the list, so make it default. +PRODUCT_LOCALES := en_US + # Pick up some sounds - stick with the short list to save space # on smaller devices. $(call inherit-product, frameworks/base/data/sounds/OriginalAudio.mk) @@ -46,9 +49,8 @@ $(call inherit-product, frameworks/base/data/sounds/OriginalAudio.mk) # Get the TTS language packs $(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk) -# Get a list of languages. We use the small list to save space -# on smaller devices. -$(call inherit-product, build/target/product/languages_small.mk) +# Get the list of languages. +$(call inherit-product, build/target/product/locales_full.mk) $(call inherit-product, build/target/product/generic.mk) diff --git a/target/product/locales_full.mk b/target/product/locales_full.mk new file mode 100644 index 0000000..f46caeb --- /dev/null +++ b/target/product/locales_full.mk @@ -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 diff --git a/target/product/sim.mk b/target/product/sim.mk index 51b3676..09722d6 100644 --- a/target/product/sim.mk +++ b/target/product/sim.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 |