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

Unified Diff: build/config/android/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/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index fc96e1ab4cbb2558587ea84fff7b98171d03e3af..38032b7687c72de464acb02842ec31e1a3192117 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1525,6 +1525,10 @@ if (enable_java_templates) {
# never_incremental: If true, |incremental_apk_by_default| will be ignored.
# aapt_locale_whitelist: If set, all locales not in this list will be
# stripped from resources.arsc.
+ # exclude_xxxhdpi: Causes all drawable-xxxhdpi images to be excluded
+ # (mipmaps are still included).
+ # xxxhdpi_whitelist: A list of globs used when exclude_xxxhdpi=true. Files
+ # that match this whitelist will still be included.
#
# Example
# android_apk("foo_apk") {
@@ -2169,6 +2173,7 @@ if (enable_java_templates) {
"android_aapt_path",
"app_as_shared_lib",
"deps",
+ "exclude_xxxhdpi",
"extensions_to_not_compress",
"language_splits",
"public_deps",
@@ -2176,6 +2181,7 @@ if (enable_java_templates) {
"shared_resources",
"uncompress_shared_libraries",
"write_asset_list",
+ "xxxhdpi_whitelist",
])
if (!defined(deps)) {
deps = []
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698