a1383d8f9d
Bug: 158889297
Test: m checkbuild
Change-Id: I54a7e55d3fdd5571ef1ae33ebe443c10d138fd28
Merged-In: I54a7e55d3fdd5571ef1ae33ebe443c10d138fd28
(cherry picked from commit c3ad80467e
)
10 lines
479 B
Makefile
10 lines
479 B
Makefile
|
|
ifeq (true,$(non_system_module))
|
|
ifneq (,$(filter $(dir $(DEFAULT_SYSTEM_DEV_CERTIFICATE))%,$(LOCAL_CERTIFICATE)))
|
|
CERTIFICATE_VIOLATION_MODULES += $(LOCAL_MODULE)
|
|
ifeq (true,$(PRODUCT_ENFORCE_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT))
|
|
$(if $(filter $(LOCAL_MODULE),$(PRODUCT_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT_ALLOW_LIST)),,\
|
|
$(call pretty-error,The module in product partition cannot be signed with certificate in system.))
|
|
endif
|
|
endif
|
|
endif
|