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 |
| 11 | TARGET_CPU_SMP := true |
| 12 | |
| 13 | SMALLER_FONT_FOOTPRINT := true |
| 14 | MINIMAL_FONT_FOOTPRINT := true |
| 15 | # Some framework code requires this to enable BT |
| 16 | BOARD_HAVE_BLUETOOTH := true |
Wink Saville | eb85364 | 2012-08-20 09:47:03 -0700 | [diff] [blame] | 17 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth |
Keun young Park | 11c90e9 | 2012-08-08 12:51:00 -0700 | [diff] [blame] | 18 | |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 19 | # Build OpenGLES emulation libraries |
| 20 | BUILD_EMULATOR_OPENGL := true |
| 21 | BUILD_EMULATOR_OPENGL_DRIVER := true |
Keun young Park | e7e80f7 | 2012-08-14 16:50:50 -0700 | [diff] [blame] | 22 | USE_OPENGL_RENDERER := true |
Keun young Park | f4d5583 | 2012-08-22 13:53:54 -0700 | [diff] [blame] | 23 | |
| 24 | BOARD_USE_LEGACY_UI := true |
Nicholas Sauer | 9cba0f1 | 2014-03-27 15:27:08 -0700 | [diff] [blame] | 25 | |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 26 | # share the same one across all mini-emulators |
| 27 | BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg |
| 28 | |
Nicholas Sauer | 9cba0f1 | 2014-03-27 15:27:08 -0700 | [diff] [blame] | 29 | # PDK does not use ext4 image, but it is added here to prevent build break. |
| 30 | TARGET_USERIMAGES_USE_EXT4 := true |
| 31 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800 |
| 32 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400 |
| 33 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 34 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 35 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 36 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 37 | |
| 38 | BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy |
Nick Kralevich | 770d2c1 | 2014-07-09 10:22:23 -0700 | [diff] [blame] | 39 | BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy |
| 40 | |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 41 | BOARD_SEPOLICY_UNION += \ |
| 42 | bootanim.te \ |
| 43 | device.te \ |
| 44 | domain.te \ |
| 45 | file.te \ |
| 46 | file_contexts \ |
Nick Kralevich | 770d2c1 | 2014-07-09 10:22:23 -0700 | [diff] [blame] | 47 | healthd.te \ |
| 48 | installd.te \ |
leozwang | c862a1a | 2014-06-26 10:33:50 -0700 | [diff] [blame] | 49 | qemud.te \ |
| 50 | rild.te \ |
| 51 | shell.te \ |
| 52 | surfaceflinger.te \ |
Nick Kralevich | 770d2c1 | 2014-07-09 10:22:23 -0700 | [diff] [blame] | 53 | system_server.te \ |
| 54 | zygote.te |