buildspec.mk.default revision 77dfeaed2ac068770cd29b314e7697afd7c1741c
1#
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# 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
48# Uncomment this if you want the simulator, otherwise, build for arm
49ifndef TARGET_SIMULATOR
50#TARGET_SIMULATOR:=true
51endif
52
53# Set this to debug or release if you care.  Otherwise, it defaults to
54# release for arm and debug for the simulator.
55ifndef TARGET_BUILD_TYPE
56#TARGET_BUILD_TYPE:=release
57#TARGET_BUILD_TYPE:=debug
58endif
59
60# Uncomment this if you want the host tools built in debug mode.  Otherwise
61# it defaults to release.
62ifndef HOST_BUILD_TYPE
63#HOST_BUILD_TYPE:=debug
64endif
65
66# Turn on debugging for selected modules.  If DEBUG_MODULE_<module-name> is set
67# to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
68# will be added to LOCAL_CFLAGS when building the module.
69#DEBUG_MODULE_ModuleName:=true
70
71# Specify an alternative tool chain prefix if needed.
72#TARGET_TOOLS_PREFIX:=
73
74# Specify the extra CFLAGS to use when building a module whose
75# DEBUG_MODULE_ variable is set.  Host and device flags are handled
76# separately.
77#HOST_CUSTOM_DEBUG_CFLAGS:=
78#TARGET_CUSTOM_DEBUG_CFLAGS:=
79
80# Choose additional locales, like "en_US" or "it_IT", to add to any
81# built product.  Any locales that appear in CUSTOM_LOCALES but not in
82# the locale list for the selected product will be added to the end
83# of PRODUCT_LOCALES.
84ifndef CUSTOM_LOCALES
85#CUSTOM_LOCALES:=
86endif
87
88# If you have a special place to put your ouput files, set this, otherwise
89# it goes to <build-root>/out
90#OUT_DIR:=/tmp/stuff
91
92# If you want to always set certain system properties, add them to this list.
93# E.g., "ADDITIONAL_BUILD_PROPERTIES += ro.prop1=5 prop2=value"
94# This mechanism does not currently support values containing spaces.
95#ADDITIONAL_BUILD_PROPERTIES +=
96
97# If you want to reduce the system.img size by several meg, and are willing to
98# lose access to CJK (and other) character sets, define NO_FALLBACK_FONT:=true
99ifndef NO_FALLBACK_FONT
100#NO_FALLBACK_FONT:=true
101endif
102
103# To enable instrumentation in webcore based apps like gmail and
104# the browser, define WEBCORE_INSTRUMENTATION:=true
105ifndef WEBCORE_INSTRUMENTATION
106#WEBCORE_INSTRUMENTATION:=true
107endif
108
109# To enable SVG in webcore define ENABLE_SVG:=true
110ifndef ENABLE_SVG
111#ENABLE_SVG:=true
112endif
113
114# when the build system changes such that this file must be updated, this
115# variable will be changed.  After you have modified this file with the new
116# changes (see buildspec.mk.default), update this to the new value from
117# buildspec.mk.default.
118BUILD_ENV_SEQUENCE_NUMBER := 10
119