diff --git a/core/soong_app_prebuilt.mk b/core/soong_app_prebuilt.mk index a49f8358c..633ef0c37 100644 --- a/core/soong_app_prebuilt.mk +++ b/core/soong_app_prebuilt.mk @@ -63,8 +63,8 @@ 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)) + PACKAGES.$(LOCAL_MODULE).CERTIFICATE := $(LOCAL_CERTIFICATE) + PACKAGES.$(LOCAL_MODULE).PRIVATE_KEY := $(patsubst %.x509.pem,%.pk8,$(LOCAL_CERTIFICATE)) endif ifndef LOCAL_IS_HOST_MODULE