From 76e93ba6cfb8677e1cb65169bd9214b43bbaf2a5 Mon Sep 17 00:00:00 2001 From: ShuJie Wang Date: Mon, 6 Nov 2017 14:35:52 +0800 Subject: [PATCH] build: clean up proguard_flag_files we should clean up proguard_flag_files if LOCAL_PROGUARD_ENABLED not defined in current module in case legacy proguard_flag_files slips into current jack_all_deps dependencies. Test: make -j8 Change-Id: I45618fc8e821ab7a8b964fa621824209e1e9894c Signed-off-by: ShuJie Wang --- core/java.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java.mk b/core/java.mk index 5772ba2ba0..71bed38021 100644 --- a/core/java.mk +++ b/core/java.mk @@ -726,6 +726,7 @@ full_classes_proguard_jar := $(full_classes_pre_proguard_jar) endif # !USE_R8 else # LOCAL_PROGUARD_ENABLED not defined +proguard_flag_files := full_classes_proguard_jar := $(full_classes_pre_proguard_jar) endif # LOCAL_PROGUARD_ENABLED defined