diff options
author | Jean-Luc Coelho <jeanlucncoelho@google.com> | 2019-11-27 12:37:48 -0800 |
---|---|---|
committer | Jean-Luc Coelho <jeanlucncoelho@google.com> | 2019-12-02 21:11:08 +0000 |
commit | 181cbfde801b55adfc1b20f510dff02e5a9dcef1 (patch) | |
tree | 6475bef87cda26f7a3e85dfa0205f909e2be7209 /tools/aapt2/java/ProguardRules_test.cpp | |
parent | f46a4a1c4893ac6ac8a38325e2f0e40462bee441 (diff) |
Add "no-proguard-location-reference" flag to aapt2
This fixes relocatability issues with the code shrinkers.
Bug: 144529940
Test: None
Change-Id: I65e08e850193e67dcdf4c533d9e66332714f0c8c
Diffstat (limited to 'tools/aapt2/java/ProguardRules_test.cpp')
-rw-r--r-- | tools/aapt2/java/ProguardRules_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/java/ProguardRules_test.cpp b/tools/aapt2/java/ProguardRules_test.cpp index 25b55ab003b0..87205973566b 100644 --- a/tools/aapt2/java/ProguardRules_test.cpp +++ b/tools/aapt2/java/ProguardRules_test.cpp @@ -30,7 +30,7 @@ namespace aapt { std::string GetKeepSetString(const proguard::KeepSet& set, bool minimal_rules) { std::string out; StringOutputStream sout(&out); - proguard::WriteKeepSet(set, &sout, minimal_rules); + proguard::WriteKeepSet(set, &sout, minimal_rules, false); sout.Flush(); return out; } |