BoardConfig.mk revision 4f0eb7d50c5b472be762c581eeda580a9b8ede1b
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 24# no hardware camera 25USE_CAMERA_STUB := true 26 27# Enable dex-preoptimization to speed up the first boot sequence 28# of an SDK AVD. Note that this operation only works on Linux for now 29ifeq ($(HOST_OS),linux) 30 ifeq ($(WITH_DEXPREOPT),) 31 WITH_DEXPREOPT := true 32 endif 33endif 34 35# Build OpenGLES emulation host and guest libraries 36BUILD_EMULATOR_OPENGL := true 37 38# Build and enable the OpenGL ES View renderer. When running on the emulator, 39# the GLES renderer disables itself if host GL acceleration isn't available. 40USE_OPENGL_RENDERER := true 41 42TARGET_USERIMAGES_USE_EXT4 := true 43BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800 44BOARD_USERDATAIMAGE_PARTITION_SIZE := 209715200 45BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 46BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 47BOARD_FLASH_BLOCK_SIZE := 512 48TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 49 50# FIXME 51# Temporarily disable linking against compiler_rt until there is an arm64 52# version 53WITHOUT_LIBCOMPILER_RT := true 54