Any intermediate targets between Progaurd and the built_dex should be differently named.
Change-Id: Ifb01b1fcf24ba0c5b98aa02dd604cd81918e1841
To do that, we have to move classes.jar step before proguard, so classes.jar is always with the full names.
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 0505f83..5bb6b77 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -403,8 +403,8 @@
APPS,$(LOCAL_INSTRUMENTATION_FOR),,COMMON)
# link against the jar with full original names (before proguard processing).
- full_java_libs += $(link_instr_intermediates_dir.COMMON)/classes-full-names.jar
- full_java_lib_deps += $(link_instr_intermediates_dir.COMMON)/classes-full-names.jar
+ full_java_libs += $(link_instr_intermediates_dir.COMMON)/classes.jar
+ full_java_lib_deps += $(link_instr_intermediates_dir.COMMON)/classes.jar
endif
ifneq ($(strip $(LOCAL_JAR_MANIFEST)),)