Secretkeeper: require SECRETKEEPER_ENABLED=true
Make the makefile safer by requiring a specific value for the environment variable that turns on Secretkeeper Bug: 306364873 Test: TreeHugger Change-Id: Ic5bb5e7411a19941f58ec8c973104c1e53f3834f
This commit is contained in:
parent
81f49ed2e7
commit
073133811e
1 changed files with 3 additions and 3 deletions
|
@ -36,10 +36,10 @@ else
|
|||
endif
|
||||
|
||||
# TODO(b/306364873): move this to be flag-controlled?
|
||||
ifeq ($(SECRETKEEPER_ENABLED),)
|
||||
LOCAL_SECRETKEEPER_PRODUCT_PACKAGE :=
|
||||
else
|
||||
ifeq ($(SECRETKEEPER_ENABLED),true)
|
||||
LOCAL_SECRETKEEPER_PRODUCT_PACKAGE := android.hardware.security.secretkeeper.trusty
|
||||
else
|
||||
LOCAL_SECRETKEEPER_PRODUCT_PACKAGE :=
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
Loading…
Reference in a new issue