1LOCAL_PATH:= $(call my-dir) 2 3ifeq ($(BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT),true) # AVB keys are installed to vendor ramdisk 4 ifeq ($(BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT),true) # no dedicated recovery partition 5 my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/first_stage_ramdisk/avb 6 else # device has a dedicated recovery partition 7 my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/avb 8 endif 9else 10 ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true) # no dedicated recovery partition 11 my_gsi_avb_keys_path := $(TARGET_RECOVERY_ROOT_OUT)/first_stage_ramdisk/avb 12 else # device has a dedicated recovery partition 13 my_gsi_avb_keys_path := $(TARGET_RAMDISK_OUT)/avb 14 endif 15endif 16 17####################################### 18# q-developer-gsi.avbpubkey 19include $(CLEAR_VARS) 20 21LOCAL_MODULE := q-developer-gsi.avbpubkey 22LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 23LOCAL_LICENSE_CONDITIONS := notice 24LOCAL_MODULE_CLASS := ETC 25LOCAL_SRC_FILES := $(LOCAL_MODULE) 26LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path) 27 28include $(BUILD_PREBUILT) 29 30####################################### 31# r-developer-gsi.avbpubkey 32include $(CLEAR_VARS) 33 34LOCAL_MODULE := r-developer-gsi.avbpubkey 35LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 36LOCAL_LICENSE_CONDITIONS := notice 37LOCAL_MODULE_CLASS := ETC 38LOCAL_SRC_FILES := $(LOCAL_MODULE) 39LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path) 40 41include $(BUILD_PREBUILT) 42 43####################################### 44# s-developer-gsi.avbpubkey 45include $(CLEAR_VARS) 46 47LOCAL_MODULE := s-developer-gsi.avbpubkey 48LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 49LOCAL_LICENSE_CONDITIONS := notice 50LOCAL_MODULE_CLASS := ETC 51LOCAL_SRC_FILES := $(LOCAL_MODULE) 52LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path) 53 54include $(BUILD_PREBUILT) 55 56my_gsi_avb_keys_path := 57