1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15soong_config_module_type { 16 name: "avb_keys_prebuilt_avb", 17 module_type: "prebuilt_avb", 18 config_namespace: "ANDROID", 19 bool_variables: [ 20 "BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT", 21 ], 22 properties: [ 23 "ramdisk", 24 "vendor_ramdisk", 25 ], 26} 27 28avb_keys_prebuilt_avb { 29 name: "q-developer-gsi.avbpubkey", 30 src: "q-developer-gsi.avbpubkey", 31 soong_config_variables: { 32 BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT: { 33 ramdisk: false, 34 vendor_ramdisk: true, 35 conditions_default: { 36 ramdisk: true, 37 vendor_ramdisk: false, 38 }, 39 }, 40 }, 41} 42 43avb_keys_prebuilt_avb { 44 name: "r-developer-gsi.avbpubkey", 45 src: "r-developer-gsi.avbpubkey", 46 soong_config_variables: { 47 BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT: { 48 ramdisk: false, 49 vendor_ramdisk: true, 50 conditions_default: { 51 ramdisk: true, 52 vendor_ramdisk: false, 53 }, 54 }, 55 }, 56} 57 58avb_keys_prebuilt_avb { 59 name: "s-developer-gsi.avbpubkey", 60 src: "s-developer-gsi.avbpubkey", 61 soong_config_variables: { 62 BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT: { 63 ramdisk: false, 64 vendor_ramdisk: true, 65 conditions_default: { 66 ramdisk: true, 67 vendor_ramdisk: false, 68 }, 69 }, 70 }, 71} 72