Merge "Allow selection of Trusty KeyMint HAL implementation" am: bf6ac3534e am: d7fb5e8d16
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2328294 Change-Id: I872b7dd045394a1d7ceafba26beb8a1bf9fc8a01 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
bf5922e545
1 changed files with 14 additions and 1 deletions
|
|
@ -22,8 +22,21 @@
|
|||
# For gatekeeper, we include the generic -service and -impl to use legacy
|
||||
# HAL loading of gatekeeper.trusty.
|
||||
|
||||
# Allow the KeyMint HAL service implementation to be selected at build time. This needs to be
|
||||
# done in sync with the TA implementation included in Trusty. Possible values are:
|
||||
#
|
||||
# - Rust implementation: export TRUSTY_KEYMINT_IMPL=rust
|
||||
# - C++ implementation: (any other value of TRUSTY_KEYMINT_IMPL)
|
||||
|
||||
ifeq ($(TRUSTY_KEYMINT_IMPL),rust)
|
||||
LOCAL_KEYMINT_PRODUCT_PACKAGE := android.hardware.security.keymint-service.rust.trusty
|
||||
else
|
||||
# Default to the C++ implementation
|
||||
LOCAL_KEYMINT_PRODUCT_PACKAGE := android.hardware.security.keymint-service.trusty
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.security.keymint-service.trusty \
|
||||
$(LOCAL_KEYMINT_PRODUCT_PACKAGE) \
|
||||
android.hardware.gatekeeper@1.0-service.trusty \
|
||||
trusty_apploader \
|
||||
RemoteProvisioner
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue