PRODUCT_SOONG_NAMESPACES += vendor/google_nos/init/citadel # Citadel PRODUCT_PACKAGES += \ citadeld \ citadel_updater \ android.hardware.authsecret@1.0-service.citadel \ android.hardware.authsecret-service.citadel \ android.hardware.oemlock@1.0-service.citadel \ android.hardware.oemlock-service.citadel \ android.hardware.weaver@1.0-service.citadel \ android.hardware.weaver-service.citadel \ android.hardware.keymaster@4.1-service.citadel \ android.hardware.identity@1.0-service.citadel \ android.hardware.fastboot@1.1-impl.pixel \ wait_for_strongbox \ init_citadel # Citadel debug stuff PRODUCT_PACKAGES_DEBUG += \ test_citadel # Resume on Reboot support PRODUCT_PACKAGES += \ android.hardware.rebootescrow-service.citadel ifneq ($(wildcard vendor/google_nos/provision),) PRODUCT_PACKAGES_DEBUG += CitadelProvision # Set CITADEL_LAZY_PSK_SYNC to true on projects with faceauth, otherwise false. # # EVT devices left the factory without being provisioned, # and thus the shared authtoken key is yet to be established. # Since faceauth HAT enforcement fails without the preshared # authtoken, auto-sync it in the field for userdebug/eng. # Please refer to b/135295587 for more detail. # CITADEL_LAZY_PSK_SYNC := false endif # Sepolicy BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/citadel # USERDEBUG ONLY: Install test packages ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) PRODUCT_PACKAGES_DEBUG += citadel_integration_tests \ pwntest \ nugget_targeted_tests endif