Raghu Gandham | b53cc7a | 2012-05-07 07:04:57 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # BoardConfig.mk |
| 17 | # |
| 18 | # Product-specific compile-time definitions. |
| 19 | # |
| 20 | |
| 21 | # The generic product target doesn't have any hardware-specific pieces. |
| 22 | TARGET_NO_BOOTLOADER := true |
| 23 | TARGET_NO_KERNEL := true |
| 24 | |
| 25 | TARGET_ARCH := mips |
| 26 | ifeq (,$(TARGET_ARCH_VARIANT)) |
| 27 | TARGET_ARCH_VARIANT := mips32r2-fp |
| 28 | endif |
Raghu Gandham | f70dec9 | 2012-06-05 15:33:37 -0700 | [diff] [blame] | 29 | TARGET_CPU_ABI := mips |
Raghu Gandham | b53cc7a | 2012-05-07 07:04:57 -0700 | [diff] [blame] | 30 | |
| 31 | HAVE_HTC_AUDIO_DRIVER := true |
| 32 | BOARD_USES_GENERIC_AUDIO := true |
| 33 | |
| 34 | # no hardware camera |
| 35 | USE_CAMERA_STUB := true |
| 36 | |
Raghu Gandham | b53cc7a | 2012-05-07 07:04:57 -0700 | [diff] [blame] | 37 | # Enable dex-preoptimization to speed up the first boot sequence |
| 38 | # of an SDK AVD. Note that this operation only works on Linux for now |
| 39 | ifeq ($(HOST_OS),linux) |
| 40 | ifeq ($(WITH_DEXPREOPT),) |
| 41 | WITH_DEXPREOPT := true |
| 42 | endif |
| 43 | endif |
| 44 | |
| 45 | # Build OpenGLES emulation guest and host libraries |
| 46 | BUILD_EMULATOR_OPENGL := true |
| 47 | |
| 48 | # Build and enable the OpenGL ES View renderer. When running on the emulator, |
| 49 | # the GLES renderer disables itself if host GL acceleration isn't available. |
| 50 | USE_OPENGL_RENDERER := true |
Nick Kralevich | 3c9fae2 | 2013-07-09 18:04:51 -0700 | [diff] [blame] | 51 | |
| 52 | TARGET_USERIMAGES_USE_EXT4 := true |
Elliott Hughes | 368600b | 2014-05-27 16:47:44 -0700 | [diff] [blame] | 53 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 |
Tsu Chiang Chuang | 27a026c | 2014-05-06 17:27:20 -0700 | [diff] [blame] | 54 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
Nick Kralevich | 3c9fae2 | 2013-07-09 18:04:51 -0700 | [diff] [blame] | 55 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 56 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 57 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 58 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
Stephen Smalley | 1c0e1cd | 2014-02-26 08:49:39 -0500 | [diff] [blame] | 59 | |
| 60 | BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy |
| 61 | BOARD_SEPOLICY_UNION += \ |
Stephen Smalley | 1c0e1cd | 2014-02-26 08:49:39 -0500 | [diff] [blame] | 62 | bootanim.te \ |
| 63 | device.te \ |
| 64 | domain.te \ |
| 65 | file.te \ |
| 66 | file_contexts \ |
Stephen Smalley | 704744a | 2014-09-03 11:07:03 -0400 | [diff] [blame] | 67 | goldfish_setup.te \ |
| 68 | goldfish_logcat.te \ |
| 69 | property.te \ |
| 70 | property_contexts \ |
| 71 | qemu_props.te \ |
Stephen Smalley | 1c0e1cd | 2014-02-26 08:49:39 -0500 | [diff] [blame] | 72 | qemud.te \ |
| 73 | rild.te \ |
Nick Kralevich | b20966f | 2014-03-18 15:17:35 -0700 | [diff] [blame] | 74 | shell.te \ |
Stephen Smalley | 1c0e1cd | 2014-02-26 08:49:39 -0500 | [diff] [blame] | 75 | surfaceflinger.te \ |
| 76 | system_server.te |