2019-03-28 15:58:40 +01:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2020-11-16 19:06:31 +01:00
|
|
|
ifeq ($(BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT),true) # AVB keys are installed to vendor ramdisk
|
2020-11-13 00:45:47 +01:00
|
|
|
ifeq ($(BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT),true) # no dedicated recovery partition
|
|
|
|
my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/first_stage_ramdisk/avb
|
|
|
|
else # device has a dedicated recovery partition
|
|
|
|
my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/avb
|
|
|
|
endif
|
2020-10-12 21:45:09 +02:00
|
|
|
else
|
2020-11-13 00:45:47 +01:00
|
|
|
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true) # no dedicated recovery partition
|
|
|
|
my_gsi_avb_keys_path := $(TARGET_RECOVERY_ROOT_OUT)/first_stage_ramdisk/avb
|
|
|
|
else # device has a dedicated recovery partition
|
|
|
|
my_gsi_avb_keys_path := $(TARGET_RAMDISK_OUT)/avb
|
|
|
|
endif
|
2020-10-12 21:45:09 +02:00
|
|
|
endif
|
|
|
|
|
2019-12-10 05:35:59 +01:00
|
|
|
#######################################
|
|
|
|
# q-developer-gsi.avbpubkey
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := q-developer-gsi.avbpubkey
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2019-03-28 15:58:40 +01:00
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
2020-10-12 21:45:09 +02:00
|
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
2019-03-28 15:58:40 +01:00
|
|
|
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2020-02-19 09:21:04 +01:00
|
|
|
#######################################
|
|
|
|
# r-developer-gsi.avbpubkey
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := r-developer-gsi.avbpubkey
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2020-02-19 09:21:04 +01:00
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
2020-10-12 21:45:09 +02:00
|
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
2020-02-19 09:21:04 +01:00
|
|
|
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# s-developer-gsi.avbpubkey
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := s-developer-gsi.avbpubkey
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2020-02-19 09:21:04 +01:00
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
2020-10-12 21:45:09 +02:00
|
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
2020-02-19 09:21:04 +01:00
|
|
|
|
|
|
|
include $(BUILD_PREBUILT)
|
2020-10-12 21:45:09 +02:00
|
|
|
|
|
|
|
my_gsi_avb_keys_path :=
|