Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 1 | # Copyright (C) 2013 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | |
| 16 | # The generic product target doesn't have any hardware-specific pieces. |
| 17 | TARGET_NO_BOOTLOADER := true |
| 18 | TARGET_NO_KERNEL := true |
Colin Cross | 4f0eb7d | 2014-01-21 19:35:38 -0800 | [diff] [blame] | 19 | TARGET_ARCH := arm64 |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 20 | TARGET_ARCH_VARIANT := armv8-a |
| 21 | TARGET_CPU_VARIANT := generic |
Colin Cross | 4f0eb7d | 2014-01-21 19:35:38 -0800 | [diff] [blame] | 22 | TARGET_CPU_ABI := arm64-v8a |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 23 | |
Colin Cross | 930b5fb | 2014-01-28 14:35:16 -0800 | [diff] [blame] | 24 | TARGET_2ND_ARCH := arm |
| 25 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
Serban Constantinescu | 93694e6 | 2014-05-29 17:41:03 +0100 | [diff] [blame] | 26 | TARGET_2ND_CPU_VARIANT := cortex-a15 |
Colin Cross | 930b5fb | 2014-01-28 14:35:16 -0800 | [diff] [blame] | 27 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 28 | TARGET_2ND_CPU_ABI2 := armeabi |
| 29 | |
| 30 | TARGET_USES_64_BIT_BINDER := true |
| 31 | |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 32 | # no hardware camera |
| 33 | USE_CAMERA_STUB := true |
| 34 | |
| 35 | # Enable dex-preoptimization to speed up the first boot sequence |
| 36 | # of an SDK AVD. Note that this operation only works on Linux for now |
| 37 | ifeq ($(HOST_OS),linux) |
| 38 | ifeq ($(WITH_DEXPREOPT),) |
| 39 | WITH_DEXPREOPT := true |
| 40 | endif |
| 41 | endif |
| 42 | |
| 43 | # Build OpenGLES emulation host and guest libraries |
| 44 | BUILD_EMULATOR_OPENGL := true |
| 45 | |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 46 | # Build and enable the OpenGL ES View renderer. When running on the emulator, |
| 47 | # the GLES renderer disables itself if host GL acceleration isn't available. |
| 48 | USE_OPENGL_RENDERER := true |
| 49 | |
| 50 | TARGET_USERIMAGES_USE_EXT4 := true |
Elliott Hughes | 0499399 | 2014-05-20 14:37:51 -0700 | [diff] [blame] | 51 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 |
Colin Cross | d46c738 | 2014-04-02 09:16:37 -0700 | [diff] [blame] | 52 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 53 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 54 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 55 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 56 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
| 57 | |