blob: 2f840166fc480b3a827e04e585bb8dd5c8b3806b [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
Joe Onorato582b21e2009-10-05 10:06:25 -070024# Choose a product to build for. Look in the products directory for ones
25# that work.
26ifndef TARGET_PRODUCT
27#TARGET_PRODUCT:=generic
28endif
29
30# Choose a variant to build. If you don't pick one, the default is eng.
31# User is what we ship. Userdebug is that, with a few flags turned on
32# for debugging. Eng has lots of extra tools for development.
33ifndef TARGET_BUILD_VARIANT
34#TARGET_BUILD_VARIANT:=user
35#TARGET_BUILD_VARIANT:=userdebug
36#TARGET_BUILD_VARIANT:=eng
37endif
38
39# Choose additional targets to always install, even when building
40# minimal targets like "make droid". This takes simple target names
41# like "Browser" or "MyApp", the names used by LOCAL_MODULE or
42# LOCAL_PACKAGE_NAME. Modules listed here will always be installed in
43# /system, even if they'd usually go in /data.
44ifndef CUSTOM_MODULES
45#CUSTOM_MODULES:=
46endif
47
Jeff Browne33ba4c2011-07-11 22:11:46 -070048# Set this to debug or release if you care. Otherwise, it defaults to release.
The Android Open Source Project88b60792009-03-03 19:28:42 -080049ifndef TARGET_BUILD_TYPE
50#TARGET_BUILD_TYPE:=release
The Android Open Source Project88b60792009-03-03 19:28:42 -080051endif
52
53# Uncomment this if you want the host tools built in debug mode. Otherwise
54# it defaults to release.
55ifndef HOST_BUILD_TYPE
56#HOST_BUILD_TYPE:=debug
57endif
58
59# Turn on debugging for selected modules. If DEBUG_MODULE_<module-name> is set
60# to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
61# will be added to LOCAL_CFLAGS when building the module.
62#DEBUG_MODULE_ModuleName:=true
63
Keith Deacon7d3d4a52009-01-07 08:50:05 -060064# Specify an alternative tool chain prefix if needed.
65#TARGET_TOOLS_PREFIX:=
66
The Android Open Source Project88b60792009-03-03 19:28:42 -080067# Specify the extra CFLAGS to use when building a module whose
68# DEBUG_MODULE_ variable is set. Host and device flags are handled
69# separately.
70#HOST_CUSTOM_DEBUG_CFLAGS:=
71#TARGET_CUSTOM_DEBUG_CFLAGS:=
72
The Android Open Source Project88b60792009-03-03 19:28:42 -080073# Choose additional locales, like "en_US" or "it_IT", to add to any
74# built product. Any locales that appear in CUSTOM_LOCALES but not in
75# the locale list for the selected product will be added to the end
76# of PRODUCT_LOCALES.
77ifndef CUSTOM_LOCALES
78#CUSTOM_LOCALES:=
79endif
80
81# If you have a special place to put your ouput files, set this, otherwise
82# it goes to <build-root>/out
83#OUT_DIR:=/tmp/stuff
84
85# If you want to always set certain system properties, add them to this list.
86# E.g., "ADDITIONAL_BUILD_PROPERTIES += ro.prop1=5 prop2=value"
87# This mechanism does not currently support values containing spaces.
88#ADDITIONAL_BUILD_PROPERTIES +=
89
90# If you want to reduce the system.img size by several meg, and are willing to
91# lose access to CJK (and other) character sets, define NO_FALLBACK_FONT:=true
92ifndef NO_FALLBACK_FONT
93#NO_FALLBACK_FONT:=true
94endif
95
Cary Clark2a66f062009-04-08 08:09:31 -070096# To enable instrumentation in webcore based apps like gmail and
The Android Open Source Project88b60792009-03-03 19:28:42 -080097# the browser, define WEBCORE_INSTRUMENTATION:=true
Cary Clark2a66f062009-04-08 08:09:31 -070098ifndef WEBCORE_INSTRUMENTATION
The Android Open Source Project88b60792009-03-03 19:28:42 -080099#WEBCORE_INSTRUMENTATION:=true
Cary Clark2a66f062009-04-08 08:09:31 -0700100endif
101
Shimeng (Simon) Wangaf168fe2010-05-04 10:22:40 -0700102# To disable SVG in webcore define ENABLE_SVG:=false
Cary Clark2a66f062009-04-08 08:09:31 -0700103ifndef ENABLE_SVG
Shimeng (Simon) Wangaf168fe2010-05-04 10:22:40 -0700104#ENABLE_SVG:=false
Cary Clark2a66f062009-04-08 08:09:31 -0700105endif
The Android Open Source Project88b60792009-03-03 19:28:42 -0800106
107# when the build system changes such that this file must be updated, this
108# variable will be changed. After you have modified this file with the new
109# changes (see buildspec.mk.default), update this to the new value from
110# buildspec.mk.default.
Joe Onoratoaee4daa2010-06-23 14:03:13 -0700111BUILD_ENV_SEQUENCE_NUMBER := 10