2017-02-06 16:06:08 -08:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2017 The Android Open-Source Project
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := taimen
|
2017-08-08 16:54:59 -07:00
|
|
|
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x0000008c
|
2017-02-06 16:06:08 -08:00
|
|
|
|
2017-03-07 16:28:20 -08:00
|
|
|
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc1b0000
|
|
|
|
|
|
2017-03-04 13:02:35 -08:00
|
|
|
include device/google/wahoo/BoardConfig.mk
|
2017-03-04 04:33:04 +09:00
|
|
|
|
|
|
|
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040
|
2022-03-25 10:44:54 -07:00
|
|
|
BOARD_SYSTEM_EXTIMAGE_PARTITION_SIZE := 524288000
|
|
|
|
|
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
2017-03-04 04:33:04 +09:00
|
|
|
BOARD_AVB_ENABLE := true
|
|
|
|
|
|
2022-03-25 10:44:54 -07:00
|
|
|
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
|
|
|
|
|
2017-08-06 14:55:13 -07:00
|
|
|
# sepolicy
|
2019-05-28 14:12:04 +02:00
|
|
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/taimen/sepolicy
|
2017-08-06 14:55:13 -07:00
|
|
|
|
2017-04-25 18:10:48 -07:00
|
|
|
-include vendor/google_devices/taimen/proprietary/BoardConfigVendor.mk
|
2017-05-09 16:38:48 -07:00
|
|
|
|
|
|
|
|
# Testing related defines
|
|
|
|
|
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
|
2017-05-16 14:36:11 -07:00
|
|
|
|
|
|
|
|
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
2017-06-22 10:28:59 -07:00
|
|
|
|
|
|
|
|
# Rounded corners recovery UI. 105px = 30dp * 3.5 density, where 30dp comes from
|
|
|
|
|
# rounded_corner_radius in overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml.
|
|
|
|
|
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 105
|
2018-02-22 16:08:12 -08:00
|
|
|
|
2017-03-21 10:25:58 -07:00
|
|
|
# Partitions (listed in the file) to be wiped under recovery.
|
|
|
|
|
TARGET_RECOVERY_WIPE := device/google/taimen/recovery.wipe
|
2024-01-02 20:05:22 +00:00
|
|
|
TARGET_RECOVERY_FSTAB := device/google/taimen/fstab.hardware
|
2017-03-21 10:25:58 -07:00
|
|
|
|
2019-06-03 15:30:17 -07:00
|
|
|
TARGET_RECOVERY_UI_LIB := \
|
|
|
|
|
librecovery_ui_taimen \
|
|
|
|
|
libfstab
|
|
|
|
|
|
2018-02-22 16:08:12 -08:00
|
|
|
# VTS DTBO Verification. This kernel cmdline parameter should be added by the bootloader
|
|
|
|
|
# for all future devices.
|
|
|
|
|
BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=12
|
2022-03-25 10:10:52 -07:00
|
|
|
|
|
|
|
|
# Board uses A/B OTA.
|
|
|
|
|
AB_OTA_UPDATER := true
|
|
|
|
|
|
|
|
|
|
AB_OTA_PARTITIONS += \
|
|
|
|
|
boot \
|
|
|
|
|
system \
|
|
|
|
|
vbmeta \
|
|
|
|
|
dtbo \
|
2022-03-25 10:44:54 -07:00
|
|
|
vendor \
|
|
|
|
|
product \
|
|
|
|
|
system_ext
|