2018-11-22 16:39:10 +01:00
|
|
|
# BoardConfigMainlineCommon.mk
|
|
|
|
#
|
|
|
|
# Common compile-time definitions for mainline images.
|
|
|
|
|
|
|
|
# The generic product target doesn't have any hardware-specific pieces.
|
|
|
|
TARGET_NO_BOOTLOADER := true
|
2019-03-22 16:02:08 +01:00
|
|
|
TARGET_NO_RECOVERY := true
|
2018-11-22 16:39:10 +01:00
|
|
|
|
2020-05-14 10:26:55 +02:00
|
|
|
BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
|
|
|
|
2018-11-22 16:39:10 +01:00
|
|
|
TARGET_USERIMAGES_USE_EXT4 := true
|
|
|
|
|
2019-06-25 08:58:13 +02:00
|
|
|
# Mainline devices must have /system_ext, /vendor and /product partitions.
|
|
|
|
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
2018-12-06 19:25:32 +01:00
|
|
|
TARGET_COPY_OUT_VENDOR := vendor
|
|
|
|
TARGET_COPY_OUT_PRODUCT := product
|
|
|
|
|
2019-08-20 12:49:12 +02:00
|
|
|
# Creates metadata partition mount point under root for
|
|
|
|
# the devices with metadata parition
|
|
|
|
BOARD_USES_METADATA_PARTITION := true
|
|
|
|
|
2021-02-25 13:22:27 +01:00
|
|
|
# Default is current, but allow devices to override vndk version if needed.
|
|
|
|
BOARD_VNDK_VERSION ?= current
|
2018-11-22 16:39:10 +01:00
|
|
|
|
|
|
|
# Required flag for non-64 bit devices from P.
|
|
|
|
TARGET_USES_64_BIT_BINDER := true
|
|
|
|
|
2019-01-09 17:12:38 +01:00
|
|
|
# 64 bit mediadrmserver
|
|
|
|
TARGET_ENABLE_MEDIADRM_64 := true
|
|
|
|
|
2018-11-22 16:39:10 +01:00
|
|
|
# Puts odex files on system_other, as well as causing dex files not to get
|
|
|
|
# stripped from APKs.
|
|
|
|
BOARD_USES_SYSTEM_OTHER_ODEX := true
|
|
|
|
|
2019-05-14 23:16:46 +02:00
|
|
|
# Audio: must using XML format for Treblized devices
|
|
|
|
USE_XML_AUDIO_POLICY_CONF := 1
|
|
|
|
|
2019-02-06 16:41:36 +01:00
|
|
|
# Bluetooth defines
|
|
|
|
# TODO(b/123695868): Remove the need for this
|
|
|
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := build/make/target/board/mainline_arm64/bluetooth
|
|
|
|
|
2018-12-04 17:51:21 +01:00
|
|
|
BOARD_AVB_ENABLE := true
|
|
|
|
BOARD_AVB_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
|
2019-02-08 14:34:49 +01:00
|
|
|
|
|
|
|
BOARD_CHARGER_ENABLE_SUSPEND := true
|
2019-03-21 15:54:43 +01:00
|
|
|
|
2019-03-22 15:12:26 +01:00
|
|
|
# Enable system property split for Treble
|
|
|
|
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
2019-04-05 19:45:17 +02:00
|
|
|
|
2019-06-26 16:56:34 +02:00
|
|
|
# Include stats logging code in LMKD
|
|
|
|
TARGET_LMKD_STATS_LOG := true
|