Skip to content

Commit 88b6079

Browse files
author
The Android Open Source Project
committed
auto import from //depot/cupcake/@135843
1 parent 05806d7 commit 88b6079

File tree

404 files changed

+43942
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+43942
-0
lines changed

buildspec.mk.default

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
# Uncomment this if you want the simulator, otherwise, build for arm
25+
ifndef TARGET_SIMULATOR
26+
#TARGET_SIMULATOR:=true
27+
endif
28+
29+
# Set this to debug or release if you care. Otherwise, it defaults to
30+
# release for arm and debug for the simulator.
31+
ifndef TARGET_BUILD_TYPE
32+
#TARGET_BUILD_TYPE:=release
33+
#TARGET_BUILD_TYPE:=debug
34+
endif
35+
36+
# Uncomment this if you want the host tools built in debug mode. Otherwise
37+
# it defaults to release.
38+
ifndef HOST_BUILD_TYPE
39+
#HOST_BUILD_TYPE:=debug
40+
endif
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.
55+
ifndef TARGET_PRODUCT
56+
#TARGET_PRODUCT:=generic
57+
endif
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.
64+
ifndef CUSTOM_MODULES
65+
#CUSTOM_MODULES:=
66+
endif
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.
72+
ifndef CUSTOM_LOCALES
73+
#CUSTOM_LOCALES:=
74+
endif
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
87+
ifndef NO_FALLBACK_FONT
88+
#NO_FALLBACK_FONT:=true
89+
endif
90+
91+
# To enabled instrumentation in webcore based apps like gmail and
92+
# the browser, define WEBCORE_INSTRUMENTATION:=true
93+
#WEBCORE_INSTRUMENTATION:=true
94+
#endif
95+
96+
# when the build system changes such that this file must be updated, this
97+
# variable will be changed. After you have modified this file with the new
98+
# changes (see buildspec.mk.default), update this to the new value from
99+
# buildspec.mk.default.
100+
BUILD_ENV_SEQUENCE_NUMBER := 9

cleanspec.mk

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Copyright (C) 2007 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
16+
# Just bump this if you want to force a clean build.
17+
# **********************************************************************
18+
# WHEN DOING SO, DELETE ANY "add-clean-step" ENTRIES THAT HAVE PILED UP.
19+
# **********************************************************************
20+
#
21+
INTERNAL_CLEAN_BUILD_VERSION := 2
22+
#
23+
# ***********************************************************************
24+
# Do not touch INTERNAL_CLEAN_BUILD_VERSION if you've added a clean step!
25+
# ***********************************************************************
26+
27+
# If you don't need to do a full clean build but would like to touch
28+
# a file or delete some intermediate files, add a clean step to the end
29+
# of the list. These steps will only be run once, if they haven't been
30+
# run before.
31+
#
32+
# E.g.:
33+
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
34+
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/external/zlib/)
35+
#
36+
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
37+
# files that are missing or have been moved.
38+
#
39+
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
40+
# Use $(OUT_DIR) to refer to the "out" directory.
41+
#
42+
# If you need to re-do something that's already mentioned, just copy
43+
# the command and add it to the bottom of the list. E.g., if a change
44+
# that you made last week required touching a file and a change you
45+
# made today requires touching the same file, just copy the old
46+
# touch step and add it to the end of the list.
47+
#
48+
# ************************************************
49+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
50+
# ************************************************
51+
52+
# For example:
53+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
54+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
55+
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
56+
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
57+
58+
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/etc/NOTICE.html)
59+
# Remove generated java files after CL 126153
60+
$(call add-clean-step, find $(OUT_DIR) -type f -name "*.java" -print0 | xargs -0 rm -f)
61+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates)
62+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/sapphire/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/led)
63+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/mountd)
64+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/mountd.conf)
65+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Browser_intermediates)
66+
$(call add-clean-step, rm -f vendor/google/apps/Talk/res/drawable/%*)
67+
$(call add-clean-step, rm -rf $(OUT_DIR)/product/*/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_os_NetStat.o)
68+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates)
69+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/SHARED_LIBRARIES/libjni_andpyime_intermediates)
70+
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/SHARED_LIBRARIES/share)
71+
72+
# ************************************************
73+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
74+
# ************************************************

0 commit comments

Comments
 (0)