blob: 5277cdc811a1974fe64eef04cf18c716cedbf884 [file] [log] [blame]
Bruce Beare08ee4282011-02-18 15:06:20 -08001# 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
Bruce Bearec25e5032010-04-28 14:12:52 -07009TARGET_CPU_ABI := x86
Bruce Beare08ee4282011-02-18 15:06:20 -080010TARGET_ARCH := x86
Andrew Hsiehb968c852012-05-21 14:27:59 +080011TARGET_ARCH_VARIANT := x86
Bruce Beare08ee4282011-02-18 15:06:20 -080012TARGET_PRELINK_MODULE := false
Bruce Bearec25e5032010-04-28 14:12:52 -070013
Bruce Beare08ee4282011-02-18 15:06:20 -080014# The IA emulator (qemu) uses the Goldfish devices
15HAVE_HTC_AUDIO_DRIVER := true
16BOARD_USES_GENERIC_AUDIO := true
Bruce Bearecce6f922010-07-12 11:32:37 -070017
Bruce Beare08ee4282011-02-18 15:06:20 -080018# no hardware camera
19USE_CAMERA_STUB := true
Bruce Bearecce6f922010-07-12 11:32:37 -070020
Jack Ren6f28d972012-03-17 17:16:48 +080021# customize the malloced address to be 16-byte aligned
22BOARD_MALLOC_ALIGNMENT := 16
23
David Turner94431142011-09-28 22:54:08 +020024# Enable dex-preoptimization to speed up the first boot sequence
25# of an SDK AVD. Note that this operation only works on Linux for now
26ifeq ($(HOST_OS),linux)
Ying Wangc6848b32014-03-20 12:57:19 -070027WITH_DEXPREOPT ?= true
David Turner94431142011-09-28 22:54:08 +020028endif
29
David 'Digit' Turner43dd89d2011-08-23 22:25:13 +020030# Build OpenGLES emulation host and guest libraries
31BUILD_EMULATOR_OPENGL := true
Xavier Ducrohet295cb9b2012-02-16 16:35:42 -080032
33# Build and enable the OpenGL ES View renderer. When running on the emulator,
34# the GLES renderer disables itself if host GL acceleration isn't available.
35USE_OPENGL_RENDERER := true
Nick Kralevich3c9fae22013-07-09 18:04:51 -070036
37TARGET_USERIMAGES_USE_EXT4 := true
Elliott Hughes368600b2014-05-27 16:47:44 -070038BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
Tsu Chiang Chuang27a026c2014-05-06 17:27:20 -070039BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
Nick Kralevich3c9fae22013-07-09 18:04:51 -070040BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
41BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
42BOARD_FLASH_BLOCK_SIZE := 512
43TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
Stephen Smalley737f9a12013-12-20 13:26:11 -050044
45BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
46BOARD_SEPOLICY_UNION += \
Ji-Hwan Lee93e45072014-05-19 20:43:23 +090047 app.te \
Stephen Smalley768ff512014-02-25 13:37:06 -050048 adbd.te \
Ji-Hwan Lee93e45072014-05-19 20:43:23 +090049 bootanim.te \
Stephen Smalley768ff512014-02-25 13:37:06 -050050 device.te \
Stephen Smalley737f9a12013-12-20 13:26:11 -050051 domain.te \
Stephen Smalley768ff512014-02-25 13:37:06 -050052 file.te \
53 file_contexts \
Stephen Smalley737f9a12013-12-20 13:26:11 -050054 healthd.te \
55 installd.te \
Stephen Smalley768ff512014-02-25 13:37:06 -050056 mediaserver.te \
57 qemud.te \
58 rild.te \
Nick Kralevichb20966f2014-03-18 15:17:35 -070059 shell.te \
Ji-Hwan Lee93e45072014-05-19 20:43:23 +090060 surfaceflinger.te \
Stephen Smalley737f9a12013-12-20 13:26:11 -050061 system_server.te \
62 zygote.te