BoardConfig.mk revision b5f333bbefafcac188a8b7dd0bef9a733064567e
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.
17TARGET_NO_BOOTLOADER := true
18TARGET_NO_KERNEL := true
19TARGET_ARCH := arm64
20TARGET_ARCH_VARIANT := armv8-a
21TARGET_CPU_VARIANT := generic
22TARGET_CPU_ABI := arm64-v8a
23
24TARGET_2ND_ARCH := arm
25TARGET_2ND_ARCH_VARIANT := armv7-a-neon
26TARGET_2ND_CPU_VARIANT := generic
27TARGET_2ND_CPU_ABI := armeabi-v7a
28TARGET_2ND_CPU_ABI2 := armeabi
29
30TARGET_USES_64_BIT_BINDER := true
31
32# 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
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.
48USE_OPENGL_RENDERER := true
49
50TARGET_USERIMAGES_USE_EXT4 := true
51BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
52BOARD_USERDATAIMAGE_PARTITION_SIZE := 209715200
53BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
54BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
55BOARD_FLASH_BLOCK_SIZE := 512
56TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
57
58BUILD_EMULATOR := false
59