Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 1 | # config.mk |
| 2 | # |
| 3 | # Product-specific compile-time definitions. |
| 4 | # |
| 5 | |
| 6 | # The generic product target doesn't have any hardware-specific pieces. |
| 7 | TARGET_NO_BOOTLOADER := true |
| 8 | TARGET_NO_KERNEL := true |
| 9 | |
| 10 | TARGET_ARCH := arm64 |
| 11 | TARGET_ARCH_VARIANT := armv8-a |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 12 | TARGET_CPU_VARIANT := generic |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 13 | TARGET_CPU_ABI := arm64-v8a |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 14 | |
| 15 | TARGET_2ND_ARCH := arm |
| 16 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 17 | TARGET_2ND_CPU_VARIANT := cortex-a15 |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 18 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 19 | TARGET_2ND_CPU_ABI2 := armeabi |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 20 | |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 21 | TARGET_USES_64_BIT_BINDER := true |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 22 | |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 23 | SMALLER_FONT_FOOTPRINT := true |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 24 | MINIMAL_FONT_FOOTPRINT := true |
| 25 | # Some framework code requires this to enable BT |
| 26 | BOARD_HAVE_BLUETOOTH := true |
| 27 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth |
| 28 | |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 29 | BOARD_USES_GENERIC_AUDIO := true |
| 30 | |
| 31 | USE_CAMERA_STUB := true |
| 32 | |
| 33 | BUILD_EMULATOR_OPENGL := true |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 34 | USE_OPENGL_RENDERER := true |
| 35 | |
| 36 | BOARD_USE_LEGACY_UI := true |
| 37 | |
| 38 | # PDK does not use ext4 image, but it is added here to prevent build break. |
| 39 | TARGET_USERIMAGES_USE_EXT4 := true |
Vikas Marwaha | 325b7ec | 2018-03-14 17:16:13 -0700 | [diff] [blame] | 40 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB |
leozwang | 3924905 | 2014-07-23 21:54:21 -0700 | [diff] [blame] | 41 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
Nicholas Sauer | 00fdec8 | 2014-05-08 11:41:43 -0700 | [diff] [blame] | 42 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 43 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 44 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 45 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |