Keun young Park | 11c90e9 | 2012-08-08 12:51:00 -0700 | [diff] [blame] | 1 | # |
| 2 | # Product-specific compile-time definitions. |
| 3 | # |
| 4 | |
| 5 | # The generic product target doesn't have any hardware-specific pieces. |
| 6 | TARGET_NO_BOOTLOADER := true |
| 7 | TARGET_NO_KERNEL := true |
| 8 | |
| 9 | TARGET_ARCH := x86 |
| 10 | TARGET_CPU_ABI := x86 |
Keun young Park | 11c90e9 | 2012-08-08 12:51:00 -0700 | [diff] [blame] | 11 | |
| 12 | SMALLER_FONT_FOOTPRINT := true |
| 13 | MINIMAL_FONT_FOOTPRINT := true |
| 14 | # Some framework code requires this to enable BT |
| 15 | BOARD_HAVE_BLUETOOTH := true |
Wink Saville | eb85364 | 2012-08-20 09:47:03 -0700 | [diff] [blame] | 16 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth |
Keun young Park | 11c90e9 | 2012-08-08 12:51:00 -0700 | [diff] [blame] | 17 | |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 18 | # Build OpenGLES emulation libraries |
| 19 | BUILD_EMULATOR_OPENGL := true |
| 20 | BUILD_EMULATOR_OPENGL_DRIVER := true |
Keun young Park | e7e80f7 | 2012-08-14 16:50:50 -0700 | [diff] [blame] | 21 | USE_OPENGL_RENDERER := true |
Keun young Park | f4d5583 | 2012-08-22 13:53:54 -0700 | [diff] [blame] | 22 | |
| 23 | BOARD_USE_LEGACY_UI := true |
Nicholas Sauer | 9cba0f1 | 2014-03-27 15:27:08 -0700 | [diff] [blame] | 24 | |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 25 | # share the same one across all mini-emulators |
Yahan Zhou | 6d45273 | 2016-06-27 15:45:33 -0700 | [diff] [blame] | 26 | BOARD_EGL_CFG := device/generic/goldfish-opengl/system/egl/egl.cfg |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 27 | |
Nicholas Sauer | 9cba0f1 | 2014-03-27 15:27:08 -0700 | [diff] [blame] | 28 | # PDK does not use ext4 image, but it is added here to prevent build break. |
| 29 | TARGET_USERIMAGES_USE_EXT4 := true |
Vikas Marwaha | 560b60f | 2018-03-14 17:01:29 -0700 | [diff] [blame] | 30 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB |
Nicholas Sauer | 9cba0f1 | 2014-03-27 15:27:08 -0700 | [diff] [blame] | 31 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400 |
| 32 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 33 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 34 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 35 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 36 | |
| 37 | BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy |
Nick Kralevich | 770d2c1 | 2014-07-09 10:22:23 -0700 | [diff] [blame] | 38 | BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy |