The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 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 | |
Joe Onorato | 582b21e | 2009-10-05 10:06:25 -0700 | [diff] [blame] | 24 | # Choose a product to build for. Look in the products directory for ones |
| 25 | # that work. |
| 26 | ifndef TARGET_PRODUCT |
| 27 | #TARGET_PRODUCT:=generic |
| 28 | endif |
| 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. |
| 33 | ifndef TARGET_BUILD_VARIANT |
| 34 | #TARGET_BUILD_VARIANT:=user |
| 35 | #TARGET_BUILD_VARIANT:=userdebug |
| 36 | #TARGET_BUILD_VARIANT:=eng |
| 37 | endif |
| 38 | |
Colin Cross | 8873713 | 2017-03-21 17:41:03 -0700 | [diff] [blame^] | 39 | # Choose a targeted release. If you don't pick one, the default is the |
| 40 | # soonest future release. |
| 41 | ifndef TARGET_PLATFORM_RELEASE |
| 42 | #TARGET_PLATFORM_RELEASE:=OPR1 |
| 43 | endif |
| 44 | |
Joe Onorato | 582b21e | 2009-10-05 10:06:25 -0700 | [diff] [blame] | 45 | # Choose additional targets to always install, even when building |
| 46 | # minimal targets like "make droid". This takes simple target names |
| 47 | # like "Browser" or "MyApp", the names used by LOCAL_MODULE or |
| 48 | # LOCAL_PACKAGE_NAME. Modules listed here will always be installed in |
| 49 | # /system, even if they'd usually go in /data. |
| 50 | ifndef CUSTOM_MODULES |
| 51 | #CUSTOM_MODULES:= |
| 52 | endif |
| 53 | |
Jeff Brown | e33ba4c | 2011-07-11 22:11:46 -0700 | [diff] [blame] | 54 | # Set this to debug or release if you care. Otherwise, it defaults to release. |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 55 | ifndef TARGET_BUILD_TYPE |
| 56 | #TARGET_BUILD_TYPE:=release |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 57 | endif |
| 58 | |
| 59 | # Uncomment this if you want the host tools built in debug mode. Otherwise |
| 60 | # it defaults to release. |
| 61 | ifndef HOST_BUILD_TYPE |
| 62 | #HOST_BUILD_TYPE:=debug |
| 63 | endif |
| 64 | |
| 65 | # Turn on debugging for selected modules. If DEBUG_MODULE_<module-name> is set |
| 66 | # to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS |
| 67 | # will be added to LOCAL_CFLAGS when building the module. |
| 68 | #DEBUG_MODULE_ModuleName:=true |
| 69 | |
| 70 | # Specify the extra CFLAGS to use when building a module whose |
| 71 | # DEBUG_MODULE_ variable is set. Host and device flags are handled |
| 72 | # separately. |
| 73 | #HOST_CUSTOM_DEBUG_CFLAGS:= |
| 74 | #TARGET_CUSTOM_DEBUG_CFLAGS:= |
| 75 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 76 | # Choose additional locales, like "en_US" or "it_IT", to add to any |
| 77 | # built product. Any locales that appear in CUSTOM_LOCALES but not in |
| 78 | # the locale list for the selected product will be added to the end |
| 79 | # of PRODUCT_LOCALES. |
| 80 | ifndef CUSTOM_LOCALES |
| 81 | #CUSTOM_LOCALES:= |
| 82 | endif |
| 83 | |
| 84 | # If you have a special place to put your ouput files, set this, otherwise |
| 85 | # it goes to <build-root>/out |
| 86 | #OUT_DIR:=/tmp/stuff |
| 87 | |
| 88 | # If you want to always set certain system properties, add them to this list. |
| 89 | # E.g., "ADDITIONAL_BUILD_PROPERTIES += ro.prop1=5 prop2=value" |
| 90 | # This mechanism does not currently support values containing spaces. |
| 91 | #ADDITIONAL_BUILD_PROPERTIES += |
| 92 | |
| 93 | # If you want to reduce the system.img size by several meg, and are willing to |
| 94 | # lose access to CJK (and other) character sets, define NO_FALLBACK_FONT:=true |
| 95 | ifndef NO_FALLBACK_FONT |
| 96 | #NO_FALLBACK_FONT:=true |
| 97 | endif |
| 98 | |
Brian Carlstrom | 1aeee8b | 2013-06-27 12:02:46 -0700 | [diff] [blame] | 99 | # OVERRIDE_RUNTIMES allows you to locally override PRODUCT_RUNTIMES. |
| 100 | # |
| 101 | # To only build ART, use "runtime_libart_default" |
| 102 | # To use Dalvik but also include ART, use "runtime_libdvm_default runtime_libart" |
| 103 | # To use ART but also include Dalvik, use "runtime_libart_default runtime_libdvm" |
| 104 | ifndef OVERRIDE_RUNTIMES |
| 105 | #OVERRIDE_RUNTIMES:=runtime_libart_default |
| 106 | #OVERRIDE_RUNTIMES:=runtime_libdvm_default runtime_libart |
| 107 | #OVERRIDE_RUNTIMES:=runtime_libart_default runtime_libdvm |
Brian Carlstrom | 6901768 | 2013-05-08 11:03:26 -0700 | [diff] [blame] | 108 | endif |
| 109 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 110 | # when the build system changes such that this file must be updated, this |
| 111 | # variable will be changed. After you have modified this file with the new |
| 112 | # changes (see buildspec.mk.default), update this to the new value from |
| 113 | # buildspec.mk.default. |
Colin Cross | 8873713 | 2017-03-21 17:41:03 -0700 | [diff] [blame^] | 114 | BUILD_ENV_SEQUENCE_NUMBER := 13 |