Support LOCAL_SOONG_PROGUARD_DICT in soong_java_prebuilt.mk

Test: m checkbuild
Change-Id: I60a14be7d8bc4992b0519397b0e1933819f6e773
This commit is contained in:
Colin Cross 2019-04-23 13:02:43 -07:00
parent f6105e595b
commit 691335af21
1 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,13 @@ ifdef LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR
$(intermediates.COMMON)/jacoco-report-classes.jar)
endif
ifdef LOCAL_SOONG_PROGUARD_DICT
$(eval $(call copy-one-file,$(LOCAL_SOONG_PROGUARD_DICT),\
$(intermediates.COMMON)/proguard_dictionary))
$(call add-dependency,$(LOCAL_BUILT_MODULE),\
$(intermediates.COMMON)/proguard_dictionary)
endif
ifdef LOCAL_SOONG_RESOURCE_EXPORT_PACKAGE
my_res_package := $(intermediates.COMMON)/package-res.apk