blob: 6fd93da89fd1afdee51195e25c9b496592a9c999 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001#
2# Copyright (C) 2007 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
17######################################################################
18# This is a do-nothing template file. To use it, copy it to a file
19# named "buildspec.mk" in the root directory, and uncomment or change
20# the variables necessary for your desired configuration. The file
21# "buildspec.mk" should never be checked in to source control.
22######################################################################
23
24# Uncomment this if you want the simulator, otherwise, build for arm
25ifndef TARGET_SIMULATOR
26#TARGET_SIMULATOR:=true
27endif
28
29# Set this to debug or release if you care. Otherwise, it defaults to
30# release for arm and debug for the simulator.
31ifndef TARGET_BUILD_TYPE
32#TARGET_BUILD_TYPE:=release
33#TARGET_BUILD_TYPE:=debug
34endif
35
36# Uncomment this if you want the host tools built in debug mode. Otherwise
37# it defaults to release.
38ifndef HOST_BUILD_TYPE
39#HOST_BUILD_TYPE:=debug
40endif
41
42# Turn on debugging for selected modules. If DEBUG_MODULE_<module-name> is set
43# to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
44# will be added to LOCAL_CFLAGS when building the module.
45#DEBUG_MODULE_ModuleName:=true
46
47# Specify the extra CFLAGS to use when building a module whose
48# DEBUG_MODULE_ variable is set. Host and device flags are handled
49# separately.
50#HOST_CUSTOM_DEBUG_CFLAGS:=
51#TARGET_CUSTOM_DEBUG_CFLAGS:=
52
53# Choose a product to build for. Look in the products directory for ones
54# that work.
55ifndef TARGET_PRODUCT
56#TARGET_PRODUCT:=generic
57endif
58
59# Choose additional targets to always install, even when building
60# minimal targets like "make droid". This takes simple target names
61# like "Browser" or "MyApp", the names used by LOCAL_MODULE or
62# LOCAL_PACKAGE_NAME. Modules listed here will always be installed in
63# /system, even if they'd usually go in /data.
64ifndef CUSTOM_MODULES
65#CUSTOM_MODULES:=
66endif
67
68# Choose additional locales, like "en_US" or "it_IT", to add to any
69# built product. Any locales that appear in CUSTOM_LOCALES but not in
70# the locale list for the selected product will be added to the end
71# of PRODUCT_LOCALES.
72ifndef CUSTOM_LOCALES
73#CUSTOM_LOCALES:=
74endif
75
76# If you have a special place to put your ouput files, set this, otherwise
77# it goes to <build-root>/out
78#OUT_DIR:=/tmp/stuff
79
80# If you want to always set certain system properties, add them to this list.
81# E.g., "ADDITIONAL_BUILD_PROPERTIES += ro.prop1=5 prop2=value"
82# This mechanism does not currently support values containing spaces.
83#ADDITIONAL_BUILD_PROPERTIES +=
84
85# If you want to reduce the system.img size by several meg, and are willing to
86# lose access to CJK (and other) character sets, define NO_FALLBACK_FONT:=true
87ifndef NO_FALLBACK_FONT
88#NO_FALLBACK_FONT:=true
89endif
90
Cary Clark2a66f062009-04-08 08:09:31 -070091# To enable instrumentation in webcore based apps like gmail and
The Android Open Source Project88b60792009-03-03 19:28:42 -080092# the browser, define WEBCORE_INSTRUMENTATION:=true
Cary Clark2a66f062009-04-08 08:09:31 -070093ifndef WEBCORE_INSTRUMENTATION
The Android Open Source Project88b60792009-03-03 19:28:42 -080094#WEBCORE_INSTRUMENTATION:=true
Cary Clark2a66f062009-04-08 08:09:31 -070095endif
96
97# To enable SVG in webcore define ENABLE_SVG:=true
98ifndef ENABLE_SVG
99#ENABLE_SVG:=true
100endif
The Android Open Source Project88b60792009-03-03 19:28:42 -0800101
102# when the build system changes such that this file must be updated, this
103# variable will be changed. After you have modified this file with the new
104# changes (see buildspec.mk.default), update this to the new value from
105# buildspec.mk.default.
106BUILD_ENV_SEQUENCE_NUMBER := 9