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

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

Issue 2948083003: Android: Add exclude_xxxhdpi GN parameter to android_apk (Closed)
Patch Set: Fix comment Created 3 years, 6 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 1d3b2f5a512cc20f755d27bc81dffc186d350200..aef8ea42135e80372916bac9ddfd43e590c39a2f 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -1710,6 +1710,12 @@ if (enable_java_templates) {
invoker.extensions_to_not_compress,
]
}
+ if (defined(invoker.exclude_xxxhdpi) && invoker.exclude_xxxhdpi) {
+ args += [ "--exclude-xxxhdpi" ]
+ if (defined(invoker.xxxhdpi_whitelist)) {
+ args += [ "--xxxhdpi-whitelist=${invoker.xxxhdpi_whitelist}" ]
+ }
+ }
}
}
@@ -1720,7 +1726,9 @@ if (enable_java_templates) {
"aapt_locale_whitelist",
"alternative_android_sdk_jar",
"android_aapt_path",
+ "exclude_xxxhdpi",
"extensions_to_not_compress",
+ "xxxhdpi_whitelist",
])
deps = _deps
android_manifest = _android_manifest
@@ -1769,7 +1777,9 @@ if (enable_java_templates) {
"aapt_locale_whitelist",
"alternative_android_sdk_jar",
"android_aapt_path",
+ "exclude_xxxhdpi",
"extensions_to_not_compress",
+ "xxxhdpi_whitelist",
])
deps =
_incremental_deps + [ ":$_generate_incremental_manifest_target_name" ]
« 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