Merge "Enforce LOCAL_CERTIFICATE is set in soong_app_prebuilt.mk"

This commit is contained in:
Treehugger Robot 2020-01-29 17:42:51 +00:00 committed by Gerrit Code Review
commit 5c3725510a
1 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,9 @@ my_prebuilt_jni_libs :=
my_2nd_arch_prefix :=
PACKAGES := $(PACKAGES) $(LOCAL_MODULE)
ifndef LOCAL_CERTIFICATE
$(call pretty-error,LOCAL_CERTIFICATE must be set for soong_app_prebuilt.mk)
endif
ifeq ($(LOCAL_CERTIFICATE),PRESIGNED)
# The magic string "PRESIGNED" means this package is already checked
# signed with its release key.