Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Unified Diff: build/config/android/internal_rules.gni

Issue 2615753004: Android: Stop including unsupport locales in resources.arsc (Closed)
Patch Set: Make monochrome include all locales Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/package_resources.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index b7a42d34657803380fb6e7f4c2cb7913b202f196..6988bf62ff13f8bc8aa0ed6c2da3a4ca32b24d41 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -1608,6 +1608,9 @@ if (enable_java_templates) {
outputs += [ "${invoker.resource_packaged_apk_path}_${_language}" ]
}
}
+ if (defined(invoker.aapt_locale_whitelist)) {
+ args += [ "--locale-whitelist=${invoker.aapt_locale_whitelist}" ]
+ }
if (defined(invoker.extensions_to_not_compress)) {
args += [
"--no-compress",
@@ -1621,6 +1624,7 @@ if (enable_java_templates) {
package_resources_helper(_package_resources_target_name) {
forward_variables_from(invoker,
[
+ "aapt_locale_whitelist",
"alternative_android_sdk_jar",
"android_aapt_path",
"extensions_to_not_compress",
@@ -1669,6 +1673,7 @@ if (enable_java_templates) {
package_resources_helper(_incremental_package_resources_target_name) {
forward_variables_from(invoker,
[
+ "aapt_locale_whitelist",
"alternative_android_sdk_jar",
"android_aapt_path",
"extensions_to_not_compress",
« no previous file with comments | « build/android/gyp/package_resources.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698