blob: 2e2e01018ae20f493ef1cb35ef4b2784447cd45f [file] [log] [blame]
Anton Hansson40c47732018-11-22 15:39:10 +00001# 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_KERNEL := true
8
9TARGET_USERIMAGES_USE_EXT4 := true
10
11# system-as-root is mandatory from Android P
12TARGET_NO_RECOVERY := true
13BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
14
15BOARD_VNDK_VERSION := current
16
17# Required flag for non-64 bit devices from P.
18TARGET_USES_64_BIT_BINDER := true
19
Anton Hanssonac952ee2019-01-09 16:12:38 +000020# 64 bit mediadrmserver
21TARGET_ENABLE_MEDIADRM_64 := true
22
Anton Hansson40c47732018-11-22 15:39:10 +000023# Puts odex files on system_other, as well as causing dex files not to get
24# stripped from APKs.
25BOARD_USES_SYSTEM_OTHER_ODEX := true
26
27# Audio: must using XML format for Treblized devices
28USE_XML_AUDIO_POLICY_CONF := 1
Anton Hanssonde6f4cf2018-12-04 16:51:21 +000029
30BOARD_AVB_ENABLE := true
31BOARD_AVB_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)