1# Copyright 2020 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# Strip xxxhdpi images to save size. It's extremely difficult to see the 6# difference without magnification. https://crbug.com/691733. 7common_resource_exclusion_regex = "drawable[^/]*-xxxhdpi" 8 9common_resource_exclusion_exceptions = [ 10 "*shadow*", # Combination of gradient & transparency cause pixelation. 11 "*.9.*", # Most nine-patches contain shadows. 12 "*ic_group_*", # Appear only in xxxhdpi. 13] 14 15# Remove WearOS resources (a couple exist in appcompat). 16common_resource_exclusion_regex += "|-watch\b" 17 18# As of May 2020, 0.2% of devices are ldpi: 19# https://developer.android.com/about/dashboards/index.html 20# Only a single resources is defined in this config: 21# ic_arrow_down_24dp 22# It saves XXkb to omit the config. 23common_resource_exclusion_regex += "|-ldpi\b" 24 25# Mediarouter has excessive .png files for animations. Remove some of them. 26# https://crbug.com/1147188 27common_resource_exclusion_regex += "|mediarouter.*?drawable-x?hdpi" 28