1# BoardConfigMainlineCommon.mk
2#
3# Common compile-time definitions for mainline images.
4
5# The generic product target doesn't have any hardware-specific pieces.
6TARGET_NO_BOOTLOADER := true
7TARGET_NO_RECOVERY := true
8
9BOARD_EXT4_SHARE_DUP_BLOCKS := true
10
11TARGET_USERIMAGES_USE_EXT4 := true
12
13# Mainline devices must have /system_ext, /vendor and /product partitions.
14TARGET_COPY_OUT_SYSTEM_EXT := system_ext
15TARGET_COPY_OUT_VENDOR := vendor
16TARGET_COPY_OUT_PRODUCT := product
17
18# Creates metadata partition mount point under root for
19# the devices with metadata parition
20BOARD_USES_METADATA_PARTITION := true
21
22BOARD_VNDK_VERSION := current
23
24# Required flag for non-64 bit devices from P.
25TARGET_USES_64_BIT_BINDER := true
26
27# 64 bit mediadrmserver
28TARGET_ENABLE_MEDIADRM_64 := true
29
30# Puts odex files on system_other, as well as causing dex files not to get
31# stripped from APKs.
32BOARD_USES_SYSTEM_OTHER_ODEX := true
33
34# Audio: must using XML format for Treblized devices
35USE_XML_AUDIO_POLICY_CONF := 1
36
37# Bluetooth defines
38# TODO(b/123695868): Remove the need for this
39BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := build/make/target/board/mainline_arm64/bluetooth
40
41BOARD_AVB_ENABLE := true
42BOARD_AVB_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
43
44BOARD_CHARGER_ENABLE_SUSPEND := true
45
46# Enable system property split for Treble
47BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
48
49# Include stats logging code in LMKD
50TARGET_LMKD_STATS_LOG := true
51