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", |