Merge "update_verifier: Support AVB." am: e248e434ea
am: 1f108dae49
Change-Id: I85544f829783fade5e91cfa1d48013047056924d
This commit is contained in:
@@ -92,6 +92,10 @@ ifeq ($(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_SUPPORTS_VERITY),true)
|
||||
LOCAL_CFLAGS += -DPRODUCT_SUPPORTS_VERITY=1
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD_AVB_ENABLE),true)
|
||||
LOCAL_CFLAGS += -DBOARD_AVB_ENABLE=1
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := recovery_component_test
|
||||
LOCAL_COMPATIBILITY_SUITE := device-tests
|
||||
LOCAL_C_INCLUDES := bootable/recovery
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
class UpdateVerifierTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
#ifdef PRODUCT_SUPPORTS_VERITY
|
||||
#if defined(PRODUCT_SUPPORTS_VERITY) || defined(BOARD_AVB_ENABLE)
|
||||
verity_supported = true;
|
||||
#else
|
||||
verity_supported = false;
|
||||
|
||||
Reference in New Issue
Block a user