Home | History | Annotate | Download | only in core

Lines Matching defs:locale

120 # Whether there is default locale set in PRODUCT_PROPERTY_OVERRIDES
122 $(patsubst ro.product.locale.language=%,%,\
123 $(filter ro.product.locale.language=%,$(PRODUCT_PROPERTY_OVERRIDES))))
125 $(patsubst ro.product.locale.region=%,%,\
126 $(filter ro.product.locale.region=%,$(PRODUCT_PROPERTY_OVERRIDES))))
128 # Selects the first locale in the list given as the argument,
131 define default-locale
135 # Selects the first locale in the list given as the argument
138 define default-locale-language
139 $(if $(product_property_override_locale_language),,$(word 1, $(call default-locale, $(1))))
141 define default-locale-region
142 $(if $(product_property_overrides_locale_region),,$(word 2, $(call default-locale, $(1))))
153 PRODUCT_DEFAULT_LANGUAGE="$(call default-locale-language,$(PRODUCT_LOCALES))" \
154 PRODUCT_DEFAULT_REGION="$(call default-locale-region,$(PRODUCT_LOCALES))" \