blob: 1493bd943b7fda866cb6d2392ce68181b503718f [file] [log] [blame]
Ben Chengdb4fc202013-10-04 16:02:59 -07001# 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.
17TARGET_NO_BOOTLOADER := true
18TARGET_NO_KERNEL := true
Colin Cross4f0eb7d2014-01-21 19:35:38 -080019TARGET_ARCH := arm64
Ben Chengdb4fc202013-10-04 16:02:59 -070020TARGET_ARCH_VARIANT := armv8-a
21TARGET_CPU_VARIANT := generic
Colin Cross4f0eb7d2014-01-21 19:35:38 -080022TARGET_CPU_ABI := arm64-v8a
Ben Chengdb4fc202013-10-04 16:02:59 -070023
Colin Cross930b5fb2014-01-28 14:35:16 -080024TARGET_2ND_ARCH := arm
25TARGET_2ND_ARCH_VARIANT := armv7-a-neon
Serban Constantinescu93694e62014-05-29 17:41:03 +010026TARGET_2ND_CPU_VARIANT := cortex-a15
Colin Cross930b5fb2014-01-28 14:35:16 -080027TARGET_2ND_CPU_ABI := armeabi-v7a
28TARGET_2ND_CPU_ABI2 := armeabi
29
30TARGET_USES_64_BIT_BINDER := true
31
Ben Chengdb4fc202013-10-04 16:02:59 -070032# no hardware camera
33USE_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
37ifeq ($(HOST_OS),linux)
38 ifeq ($(WITH_DEXPREOPT),)
39 WITH_DEXPREOPT := true
40 endif
41endif
42
43# Build OpenGLES emulation host and guest libraries
44BUILD_EMULATOR_OPENGL := true
45
Ben Chengdb4fc202013-10-04 16:02:59 -070046# 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.
48USE_OPENGL_RENDERER := true
49
50TARGET_USERIMAGES_USE_EXT4 := true
Elliott Hughes04993992014-05-20 14:37:51 -070051BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
Colin Crossd46c7382014-04-02 09:16:37 -070052BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
Ben Chengdb4fc202013-10-04 16:02:59 -070053BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
54BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
55BOARD_FLASH_BLOCK_SIZE := 512
56TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
57