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-gsi.avbpubkey
19include $(CLEAR_VARS)
20
21LOCAL_MODULE := q-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# q-developer-gsi.avbpubkey
32include $(CLEAR_VARS)
33
34LOCAL_MODULE := q-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# r-gsi.avbpubkey
45include $(CLEAR_VARS)
46
47LOCAL_MODULE := r-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
56#######################################
57# r-developer-gsi.avbpubkey
58include $(CLEAR_VARS)
59
60LOCAL_MODULE := r-developer-gsi.avbpubkey
61LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
62LOCAL_LICENSE_CONDITIONS := notice
63LOCAL_MODULE_CLASS := ETC
64LOCAL_SRC_FILES := $(LOCAL_MODULE)
65LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
66
67include $(BUILD_PREBUILT)
68
69#######################################
70# s-gsi.avbpubkey
71include $(CLEAR_VARS)
72
73LOCAL_MODULE := s-gsi.avbpubkey
74LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
75LOCAL_LICENSE_CONDITIONS := notice
76LOCAL_MODULE_CLASS := ETC
77LOCAL_SRC_FILES := $(LOCAL_MODULE)
78LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
79
80include $(BUILD_PREBUILT)
81
82#######################################
83# s-developer-gsi.avbpubkey
84include $(CLEAR_VARS)
85
86LOCAL_MODULE := s-developer-gsi.avbpubkey
87LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
88LOCAL_LICENSE_CONDITIONS := notice
89LOCAL_MODULE_CLASS := ETC
90LOCAL_SRC_FILES := $(LOCAL_MODULE)
91LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
92
93include $(BUILD_PREBUILT)
94
95#######################################
96# qcar-gsi.avbpubkey
97include $(CLEAR_VARS)
98
99LOCAL_MODULE := qcar-gsi.avbpubkey
100LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
101LOCAL_LICENSE_CONDITIONS := notice
102LOCAL_MODULE_CLASS := ETC
103LOCAL_SRC_FILES := $(LOCAL_MODULE)
104LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
105
106include $(BUILD_PREBUILT)
107
108my_gsi_avb_keys_path :=
109