diff options
author | 2017-09-06 19:09:06 +0200 | |
---|---|---|
committer | 2017-09-07 09:57:18 +0200 | |
commit | 8b126f2ab9af136269432117683155e156f5f8fe (patch) | |
tree | a9b5e2590a7aaf4a44db35649291241f0ee872ad /src/main | |
parent | 1099b54281c51f947ecaa93e2b6569460f2895fa (diff) |
Make proguard_apply_dictionary also add it to Proguard's -classobfuscationdisctionry and -packageobfuscationdictionary arguments
RELNOTES: Make proguard_apply_dictionary also apply to class and package obfuscation, not just class members.
PiperOrigin-RevId: 167735831
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/java/ProguardHelper.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/ProguardHelper.java b/src/main/java/com/google/devtools/build/lib/rules/java/ProguardHelper.java index 1f640ef4f3..8255830b8e 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/ProguardHelper.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/ProguardHelper.java @@ -599,7 +599,9 @@ public abstract class ProguardHelper { if (proguardDictionary != null) { builder.addInput(proguardDictionary); - commandLine.addExecPath("-obfuscationdictionary", proguardDictionary); + commandLine.addExecPath("-obfuscationdictionary", proguardDictionary) + .addExecPath("-classobfuscationdictionary", proguardDictionary) + .addExecPath("-packageobfuscationdictionary", proguardDictionary); } for (Artifact proguardSpec : proguardSpecs) { |