Merge "Only define proguard dictionary as output if obfuscating"

am: 96a782f1ea

Change-Id: I1928c25cda47679030c06d24bc63d8d7f5024329
This commit is contained in:
Dan Willemsen 2017-09-26 21:52:10 +00:00 committed by android-build-merger
commit 13c0785b09
1 changed files with 3 additions and 1 deletions

View File

@ -735,7 +735,9 @@ endif
endif
endif
$(full_classes_proguard_jar): .KATI_IMPLICIT_OUTPUTS := $(proguard_dictionary)
ifneq ($(filter obfuscation,$(LOCAL_PROGUARD_ENABLED)),)
$(full_classes_proguard_jar): .KATI_IMPLICIT_OUTPUTS := $(proguard_dictionary)
endif
$(full_classes_proguard_jar): PRIVATE_PROGUARD_INJAR_FILTERS := $(proguard_injar_filters)
$(full_classes_proguard_jar): PRIVATE_EXTRA_INPUT_JAR := $(extra_input_jar)
$(full_classes_proguard_jar): PRIVATE_PROGUARD_FLAGS := $(legacy_proguard_flags) $(common_proguard_flags) $(LOCAL_PROGUARD_FLAGS)