Merge "Add Soong modules to apkcerts"

am: c212517c9b

Change-Id: Ifb3ae2be0a6f801d56ccb9ff971cabf9cb4e4dd9
This commit is contained in:
Colin Cross 2017-12-14 22:26:40 +00:00 committed by android-build-merger
commit f202d3f0c2

View file

@ -43,6 +43,12 @@ $(built_odex): $(LOCAL_SOONG_DEX_JAR)
$(call dexpreopt-one-file,$<,$@)
endif
PACKAGES := $(PACKAGES) $(LOCAL_MODULE)
ifdef LOCAL_CERTIFICATE
PACKAGES.$(LOCAL_MODULE).PRIVATE_KEY := $(LOCAL_CERTIFICATE)
PACKAGES.$(LOCAL_MODULE).CERTIFICATE := $(patsubst %.x509.pem,%.pk8,$(LOCAL_CERTIFICATE))
endif
ifndef LOCAL_IS_HOST_MODULE
ifeq ($(LOCAL_SDK_VERSION),system_current)
my_link_type := java:system