From 691335af219438b276dc8e6bc77a9d3e9e363db1 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 23 Apr 2019 13:02:43 -0700 Subject: [PATCH] Support LOCAL_SOONG_PROGUARD_DICT in soong_java_prebuilt.mk Test: m checkbuild Change-Id: I60a14be7d8bc4992b0519397b0e1933819f6e773 --- core/soong_java_prebuilt.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/soong_java_prebuilt.mk b/core/soong_java_prebuilt.mk index 9692a99f4..6a76fc409 100644 --- a/core/soong_java_prebuilt.mk +++ b/core/soong_java_prebuilt.mk @@ -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