OSDN Git Service

Package up proguard jack_dictionary
authorDan Willemsen <dwillemsen@google.com>
Thu, 1 Sep 2016 18:02:43 +0000 (11:02 -0700)
committerDan Willemsen <dwillemsen@google.com>
Tue, 20 Sep 2016 21:21:53 +0000 (14:21 -0700)
Bug: 31182185
Test: m dist in an unbundled branch
Change-Id: I7ee1ba076cfa03f294f8231f6bdd8fa8df5557af

core/Makefile

index 1382026..8fc3527 100644 (file)
@@ -2128,7 +2128,7 @@ PROGUARD_DICT_ZIP := $(PRODUCT_OUT)/$(TARGET_PRODUCT)-proguard-dict-$(FILE_NAME_
 # the dependency will be set up later in build/core/main.mk.
 $(PROGUARD_DICT_ZIP) :
        @echo "Packaging Proguard obfuscation dictionary files."
-       $(hide) dict_files=`find $(TARGET_OUT_COMMON_INTERMEDIATES)/APPS -name proguard_dictionary`; \
+       $(hide) dict_files=`find $(TARGET_OUT_COMMON_INTERMEDIATES)/APPS -name proguard_dictionary -o -name jack_dictionary`; \
                if [ -n "$$dict_files" ]; then \
                  unobfuscated_jars=$${dict_files//proguard_dictionary/classes.jar}; \
                  zip -qX $@ $$dict_files $$unobfuscated_jars; \