Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07313381 authored by David Drysdale's avatar David Drysdale
Browse files

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
parent 81f49ed2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 += \