1# Copyright 2023 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
15BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/shiba/proprietary/vendor.img
16
17BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/shiba/proprietary/vendor_dlkm.img
18
19TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
20
21BOARD_AVB_VBMETA_VENDOR := vendor
22BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
23BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA2048
24BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
25BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
26
27AB_OTA_PARTITIONS += \
28    vbmeta_vendor \
29    vendor \
30    vendor_dlkm \
31
32-include vendor/google/tools/android-info.mk
33ifdef USE_ANDROID_INFO
34  TARGET_BOARD_INFO_FILE := vendor/google_devices/shiba/android-info.txt
35endif
36
37VENDOR_BLOBS_LICENSE := vendor/google_devices/shiba/LICENSE
38