Merge "Enforce LOCAL_CERTIFICATE is set in soong_app_prebuilt.mk"

am: 5c3725510a

Change-Id: Ic55c310a7abcc98b995e774aaf591d69605eed78
This commit is contained in:
Colin Cross 2020-01-29 09:59:01 -08:00 committed by android-build-merger
commit 30c91a72ed
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.