blob: 02cbb7fae7cdd7fa4f2bca881122374d42bb5f7b [file] [log] [blame]
Nicholas Sauer00fdec82014-05-08 11:41:43 -07001# config.mk
2#
3# Product-specific compile-time definitions.
4#
5
6# The generic product target doesn't have any hardware-specific pieces.
7TARGET_NO_BOOTLOADER := true
8TARGET_NO_KERNEL := true
9
10TARGET_ARCH := arm64
11TARGET_ARCH_VARIANT := armv8-a
Nicholas Sauer00fdec82014-05-08 11:41:43 -070012TARGET_CPU_VARIANT := generic
leozwang39249052014-07-23 21:54:21 -070013TARGET_CPU_ABI := arm64-v8a
Nicholas Sauer00fdec82014-05-08 11:41:43 -070014
15TARGET_2ND_ARCH := arm
16TARGET_2ND_ARCH_VARIANT := armv7-a-neon
leozwang39249052014-07-23 21:54:21 -070017TARGET_2ND_CPU_VARIANT := cortex-a15
Nicholas Sauer00fdec82014-05-08 11:41:43 -070018TARGET_2ND_CPU_ABI := armeabi-v7a
19TARGET_2ND_CPU_ABI2 := armeabi
Nicholas Sauer00fdec82014-05-08 11:41:43 -070020
leozwang39249052014-07-23 21:54:21 -070021TARGET_USES_64_BIT_BINDER := true
Nicholas Sauer00fdec82014-05-08 11:41:43 -070022
leozwang39249052014-07-23 21:54:21 -070023SMALLER_FONT_FOOTPRINT := true
Nicholas Sauer00fdec82014-05-08 11:41:43 -070024MINIMAL_FONT_FOOTPRINT := true
25# Some framework code requires this to enable BT
26BOARD_HAVE_BLUETOOTH := true
27BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
28
leozwang39249052014-07-23 21:54:21 -070029BOARD_USES_GENERIC_AUDIO := true
30
31USE_CAMERA_STUB := true
32
33BUILD_EMULATOR_OPENGL := true
Nicholas Sauer00fdec82014-05-08 11:41:43 -070034USE_OPENGL_RENDERER := true
35
36BOARD_USE_LEGACY_UI := true
37
38# PDK does not use ext4 image, but it is added here to prevent build break.
39TARGET_USERIMAGES_USE_EXT4 := true
Vikas Marwaha57678ec2018-03-14 17:16:13 -070040BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB
leozwang39249052014-07-23 21:54:21 -070041BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
Nicholas Sauer00fdec82014-05-08 11:41:43 -070042BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
43BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
44BOARD_FLASH_BLOCK_SIZE := 512
45TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true