diff options
author | Brian Duff <bduff@fb.com> | 2019-11-10 18:34:11 -0800 |
---|---|---|
committer | Brian Duff <bduff@fb.com> | 2019-11-11 09:47:18 -0800 |
commit | 2f7e4d1a8298a218dac6b6c395c513575d4e0419 (patch) | |
tree | a526aba2d2ba08f5446399b12dbdded094c8fd9c /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 1a2b94064622d5c4333a065781b781868afa2d35 (diff) |
Speed up WriteKeepSet when generate_conditional_proguard_rules is off.
The results of CollectLocations() are only used if the --proguard-conditional-keep-rules option is set, but the function is always called when the --proguard option is set.
Since this function can be slow on particularly large resource sets, avoid calling it unless --proguard-conditional-keep-rules is set.
Change-Id: If259d41cdab16abad8ca62f30d8beb5ebf33575a
Bug: 144236322
Test: aapt2_tests
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions