blob: fafc05460a70127247a03ec353f6f137c2bdea70 [file] [log] [blame]
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02001#
2# Copyright 2021 SHIFT GmbH
3# Copyright 2021 The LineageOS Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18$(call inherit-product-if-exists, vendor/shift/axolotl/device-vendor.mk)
19
20# AVB
21#BOARD_AVB_VBMETA_SYSTEM := system
22#BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
23#BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA4096
24#BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
25#BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2
26
27#BOARD_AVB_VBMETA_VENDOR := vendor
28#BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
29#BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA4096
30#BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
31#BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
32
33# AAPT
34PRODUCT_AAPT_CONFIG := normal
35PRODUCT_AAPT_PREF_CONFIG := 420dpi
36PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
37
38# Boot animation
39TARGET_SCREEN_HEIGHT := 2160
40TARGET_SCREEN_WIDTH := 1080
41
42# Display
43PRODUCT_PROPERTY_OVERRIDES += \
44 ro.sf.lcd_density=420 \
45 vendor.display.lcd_density=420 \
46
47# Fastbootd
48PRODUCT_PACKAGES += fastbootd
49PRODUCT_PACKAGES += android.hardware.fastboot@1.0-impl-mock
50
51# Fstab
52PRODUCT_PACKAGES += \
53 fstab.persist \
54 fstab.qcom \
55
56PRODUCT_COPY_FILES += \
57 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
58 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
59
60# Init
61PRODUCT_PACKAGES += \
62 \ # init.qcom.rc \
63 init.recovery.qcom.rc \
64 ueventd.qcom.rc \