blob: 8b81c274c59be324e66bee4eb715d8750d91309f [file] [log] [blame]
Raghu Gandhamb53cc7a2012-05-07 07:04:57 -07001#
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.
22TARGET_NO_BOOTLOADER := true
23TARGET_NO_KERNEL := true
24
25TARGET_ARCH := mips
26ifeq (,$(TARGET_ARCH_VARIANT))
27TARGET_ARCH_VARIANT := mips32r2-fp
28endif
Raghu Gandhamf70dec92012-06-05 15:33:37 -070029TARGET_CPU_ABI := mips
Raghu Gandhamb53cc7a2012-05-07 07:04:57 -070030
31HAVE_HTC_AUDIO_DRIVER := true
32BOARD_USES_GENERIC_AUDIO := true
33
34# no hardware camera
35USE_CAMERA_STUB := true
36
37# Set /system/bin/sh to ash, not mksh, to make sure we can switch back.
38TARGET_SHELL := ash
39
40# Enable dex-preoptimization to speed up the first boot sequence
41# of an SDK AVD. Note that this operation only works on Linux for now
42ifeq ($(HOST_OS),linux)
43 ifeq ($(WITH_DEXPREOPT),)
44 WITH_DEXPREOPT := true
45 endif
46endif
47
48# Build OpenGLES emulation guest and host libraries
49BUILD_EMULATOR_OPENGL := true
50
51# Build and enable the OpenGL ES View renderer. When running on the emulator,
52# the GLES renderer disables itself if host GL acceleration isn't available.
53USE_OPENGL_RENDERER := true
Raghu Gandhamf70dec92012-06-05 15:33:37 -070054
55# Default to JSC until we get v8 landed
56HTTP := android
57JS_ENGINE := jsc