Set the environment variable to switch the Keymint HAL service to Rust

Ref: aosp/2328294

Note:
This CL switches the Keymint HAL to the Rust implementation which can
only communicate with a Keymint TA implemented in Rust in Trusty.
go/gpar/489149 switches the Keymint TA to the Rust implementation.

Therefore, this CL is one of two CLs that needs to be synced in order
for the zuma devices to be able to boot with
Keymint Rust implementation.

Bug: 197891150
Bug: 225036046
Test: VtsAidlKeyMintTargetTest
Change-Id: I53307b3911a478d941fc2d6cc39f3d410ad050e0
This commit is contained in:
Hasini Gunasinghe 2022-12-20 05:28:00 +00:00
parent 061587742a
commit 9c6d86ddaa

View file

@ -76,6 +76,9 @@ PRODUCT_SOONG_NAMESPACES += \
LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4
# Set the environment variable to switch the Keymint HAL service to Rust
TRUSTY_KEYMINT_IMPL := rust
# OEM Unlock reporting
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.oem_unlock_supported=1