Filter out three-letter locales - aapt breaks there.

See
http://stackoverflow.com/questions/10330893/android-resources-for-languages-with-only-3-letter-codes
for some more background.

Change-Id: Ib8c62d008239de3f0ba35ebe17f8f6974f28beb1
This commit is contained in:
Thorsten Behrens
2013-02-11 15:04:51 +01:00
parent 5b614cb2ac
commit 63fdfd1eb6

View File

@@ -44,7 +44,7 @@ $(foreach lang,$(1),$(call android_translation_rules,$(lang)))
endef
define android_get_langlist
$(foreach lang,$(filter-out en-US,$(WITH_LANG_LIST)),$(subst -,-r,$(lang)))
$(foreach lang,$(filter-out en-US sat sid mai ast mni brx dgo qtz nso kok,$(WITH_LANG_LIST)),$(subst -,-r,$(lang)))
endef
$(eval $(call android_translations_rules,$(call android_get_langlist)))