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. 6 TARGET_NO_BOOTLOADER := true 7 TARGET_NO_RECOVERY := true 8 9 TARGET_USERIMAGES_USE_EXT4 := true 10 11 # Mainline devices must have /vendor and /product partitions. 12 TARGET_COPY_OUT_VENDOR := vendor 13 TARGET_COPY_OUT_PRODUCT := product 14 15 BOARD_VNDK_VERSION := current 16 17 # Required flag for non-64 bit devices from P. 18 TARGET_USES_64_BIT_BINDER := true 19 20 # 64 bit mediadrmserver 21 TARGET_ENABLE_MEDIADRM_64 := true 22 23 # Puts odex files on system_other, as well as causing dex files not to get 24 # stripped from APKs. 25 BOARD_USES_SYSTEM_OTHER_ODEX := true 26 27 # Audio: must using XML format for Treblized devices 28 USE_XML_AUDIO_POLICY_CONF := 1 29 30 # Bluetooth defines 31 # TODO(b/123695868): Remove the need for this 32 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := build/make/target/board/mainline_arm64/bluetooth 33 34 BOARD_AVB_ENABLE := true 35 BOARD_AVB_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP) 36 37 BOARD_CHARGER_ENABLE_SUSPEND := true 38 39 # Enable A/B update 40 AB_OTA_UPDATER := true 41 42 # Enable system property split for Treble 43 BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 44 45 # Generate an APEX image for experiment b/119800099. 46 DEXPREOPT_GENERATE_APEX_IMAGE := true 47