commit | dcef831e61b671edf876cc66c4e31165b5d0b61f | [log] [tgz] |
---|---|---|
author | Brian Chang <bcsf@google.com> | Fri Sep 13 11:38:32 2019 -0700 |
committer | Brian Chang <bcsf@google.com> | Mon Sep 16 17:29:46 2019 -0700 |
tree | e6e03f64c661890ac4c998de44cd4689a253dceb | |
parent | 5172c8708e58a7f801c88e17a625f25a649eb0d4 [diff] |
Improve how we exempt resources from getting their names collapsed. Removed the --whitelist-path flag, which is poorly named and we can already specify these resources with --resources-config-path. Renamed TableFlattenerOptions.whitelisted_resources to keep_resources. It holds ResourceName instead of std::string. This lets us include type when specifying what gets exempted, for correctness. Bug: 111115201 Test: make aapt2_tests Change-Id: Ifa5df924b5e2265c32cdcf8ca7dfa4a3992a0468