aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bazel-run.sh
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-09-19 18:45:21 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-09-20 09:02:54 +0200
commitfd09d74be91cc8222e9e1a94b4d37a35803cd41f (patch)
tree05288aca53c1a2d03e5719c5d82b0a71afdf5c60 /scripts/bazel-run.sh
parenta399b7cb92955897c745a1b813210c6168b80c59 (diff)
Always pass resource filters to aapt
It turns out that the code to filter in analysis, based on android_ide_common, isn't as strict as aapt is. In particular, given a language filter (like 'en'), aapt rejects language and region resources (like 'en-rUS') but android_ide_common does not. We could try to just patch this behavior, but it's probably indicative of larger inconsistancies between android_ide_common and aapt. As a result, always pass resource filters to aapt. In most cases, if we already filtered in analysis, few if any resources will be filtered out by aapt, so we'll still keep most of the performance gains we expected from filtering in analysis. RELNOTES: none PiperOrigin-RevId: 169254335
Diffstat (limited to 'scripts/bazel-run.sh')
0 files changed, 0 insertions, 0 deletions