blob: 801b0faf2d15bf488fcc2f201ed4d472ed3f3407 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001###########################################################
2## Clear out values of all variables used by rule templates.
3###########################################################
4
5LOCAL_MODULE:=
6LOCAL_MODULE_PATH:=
Colin Cross639c3362014-01-24 19:23:40 -08007LOCAL_MODULE_RELATIVE_PATH :=
The Android Open Source Project88b60792009-03-03 19:28:42 -08008LOCAL_MODULE_STEM:=
Joe Onoratoe334d252009-07-17 15:33:40 -04009LOCAL_DONT_CHECK_MODULE:=
10LOCAL_CHECKED_MODULE:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080011LOCAL_BUILT_MODULE:=
12LOCAL_BUILT_MODULE_STEM:=
13OVERRIDE_BUILT_MODULE_PATH:=
14LOCAL_INSTALLED_MODULE:=
Ying Wang24084792013-09-24 15:56:11 -070015LOCAL_INSTALLED_MODULE_STEM:=
Ying Wang989ac382014-05-05 16:46:52 -070016LOCAL_PICKUP_FILES:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080017LOCAL_UNINSTALLABLE_MODULE:=
18LOCAL_INTERMEDIATE_TARGETS:=
19LOCAL_UNSTRIPPED_PATH:=
20LOCAL_MODULE_CLASS:=
21LOCAL_MODULE_SUFFIX:=
22LOCAL_PACKAGE_NAME:=
23LOCAL_OVERRIDES_PACKAGES:=
24LOCAL_EXPORT_PACKAGE_RESOURCES:=
Jeff Hamiltonbb67d212010-02-05 22:36:42 -060025LOCAL_MANIFEST_PACKAGE_NAME:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080026LOCAL_REQUIRED_MODULES:=
27LOCAL_ACP_UNAVAILABLE:=
28LOCAL_MODULE_TAGS:=
29LOCAL_SRC_FILES:=
30LOCAL_PREBUILT_OBJ_FILES:=
31LOCAL_STATIC_JAVA_LIBRARIES:=
32LOCAL_STATIC_LIBRARIES:=
Ying Wangfcdabd42011-04-25 14:22:41 -070033# Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking.
34LOCAL_GROUP_STATIC_LIBRARIES:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080035LOCAL_WHOLE_STATIC_LIBRARIES:=
36LOCAL_SHARED_LIBRARIES:=
37LOCAL_IS_HOST_MODULE:=
38LOCAL_CC:=
39LOCAL_CXX:=
40LOCAL_CPP_EXTENSION:=
41LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
synergydev7c467422013-08-13 17:41:52 -070042LOCAL_FDO_SUPPORT:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080043LOCAL_ARM_MODE:=
44LOCAL_YACCFLAGS:=
45LOCAL_ASFLAGS:=
46LOCAL_CFLAGS:=
47LOCAL_CPPFLAGS:=
Ying Wang7429e212012-08-15 10:59:10 -070048LOCAL_CONLYFLAGS:=
Doug Kwane3c3c6d2011-06-07 10:55:48 -070049LOCAL_RTTI_FLAG:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080050LOCAL_C_INCLUDES:=
Ying Wang5f074802011-11-08 09:31:21 -080051LOCAL_EXPORT_C_INCLUDE_DIRS:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080052LOCAL_LDFLAGS:=
53LOCAL_LDLIBS:=
54LOCAL_AAPT_FLAGS:=
Ying Wang8b07ed82010-12-28 13:14:29 -080055LOCAL_AAPT_INCLUDE_ALL_RESOURCES:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080056LOCAL_SYSTEM_SHARED_LIBRARIES:=none
57LOCAL_PREBUILT_LIBS:=
58LOCAL_PREBUILT_EXECUTABLES:=
59LOCAL_PREBUILT_JAVA_LIBRARIES:=
60LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:=
Doug Zongkerd0a44722009-08-06 21:50:51 -070061LOCAL_PREBUILT_STRIP_COMMENTS:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080062LOCAL_INTERMEDIATE_SOURCES:=
Joe Onorato4f9c2052010-05-17 18:40:39 -070063LOCAL_INTERMEDIATE_SOURCE_DIR:=
Brian Carlstromf184a0f2010-02-01 11:13:32 -080064LOCAL_JAVACFLAGS:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080065LOCAL_JAVA_LIBRARIES:=
Joe Onorato0eccce92011-10-30 21:37:35 -070066LOCAL_JAVA_LAYERS_FILE:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080067LOCAL_NO_STANDARD_LIBRARIES:=
68LOCAL_CLASSPATH:=
Joe Onorato64d85d02009-04-09 19:31:12 -070069LOCAL_DROIDDOC_USE_STANDARD_DOCLET:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080070LOCAL_DROIDDOC_SOURCE_PATH:=
71LOCAL_DROIDDOC_TEMPLATE_DIR:=
72LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=
73LOCAL_DROIDDOC_ASSET_DIR:=
74LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=
75LOCAL_DROIDDOC_OPTIONS:=
76LOCAL_DROIDDOC_HTML_DIR:=
Dirk Dougherty9fdf6712013-02-08 15:45:45 -080077LOCAL_ADDITIONAL_HTML_DIR:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080078LOCAL_ASSET_DIR:=
79LOCAL_RESOURCE_DIR:=
80LOCAL_JAVA_RESOURCE_DIRS:=
81LOCAL_JAVA_RESOURCE_FILES:=
82LOCAL_GENERATED_SOURCES:=
83LOCAL_COPY_HEADERS_TO:=
84LOCAL_COPY_HEADERS:=
85LOCAL_FORCE_STATIC_EXECUTABLE:=
86LOCAL_ADDITIONAL_DEPENDENCIES:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080087LOCAL_COMPRESS_MODULE_SYMBOLS:=
88LOCAL_STRIP_MODULE:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080089LOCAL_JNI_SHARED_LIBRARIES:=
Jack Palevicha0ab29b2010-06-18 15:38:07 +080090LOCAL_JNI_SHARED_LIBRARIES_ABI:=
Ying Wang7cf9f282014-04-18 20:13:41 -070091LOCAL_PREBUILT_JNI_LIBS:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080092LOCAL_JAR_MANIFEST:=
93LOCAL_INSTRUMENTATION_FOR:=
Dianne Hackborna1fece02013-03-11 18:04:55 -070094LOCAL_APK_LIBRARIES:=
Ying Wang3dae0ee2010-09-02 15:41:01 -070095LOCAL_MANIFEST_INSTRUMENTATION_FOR:=
The Android Open Source Project88b60792009-03-03 19:28:42 -080096LOCAL_AIDL_INCLUDES:=
97LOCAL_JARJAR_RULES:=
98LOCAL_ADDITIONAL_JAVA_DIR:=
99LOCAL_ALLOW_UNDEFINED_SYMBOLS:=
100LOCAL_DX_FLAGS:=
101LOCAL_CERTIFICATE:=
102LOCAL_SDK_VERSION:=
Dianne Hackborn14169bc2011-09-18 17:34:29 -0700103LOCAL_SDK_RES_VERSION:=
Ying Wangcce4c972011-03-03 18:53:53 -0800104LOCAL_NDK_STL_VARIANT:=
Ying Wangaf4800c2012-08-21 16:59:01 -0700105LOCAL_EMMA_INSTRUMENT:=
Ying Wang7311a342013-08-21 18:32:49 -0700106LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled,obfuscation,optimization
Joe Onorato2daa2b32009-08-30 13:39:24 -0700107LOCAL_PROGUARD_FLAGS:=
Ying Wang0b9382c2010-09-29 14:50:41 -0700108LOCAL_PROGUARD_FLAG_FILES:=
Guang Zhu155afe32010-03-10 15:48:03 -0800109LOCAL_EMMA_COVERAGE_FILTER:=
Jeffrey Chyan7adbf972010-07-07 13:42:19 -0500110LOCAL_WARNINGS_ENABLE:=
Kevin Hester6c703622012-04-12 10:20:53 -0700111LOCAL_FULL_MANIFEST_FILE:=
Evan Charlton121a7872010-07-23 11:03:29 -0700112LOCAL_MANIFEST_FILE:=
Ying Wang51280272010-09-01 13:28:52 -0700113LOCAL_RENDERSCRIPT_INCLUDES:=
Stephen Hinesd4136c02011-08-23 22:01:49 -0700114LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
Ying Wang7d83ef82011-05-25 17:16:22 -0700115LOCAL_RENDERSCRIPT_CC:=
Stephen Hinese719f282012-11-28 16:52:41 -0800116LOCAL_RENDERSCRIPT_COMPATIBILITY:=
Stephen Hines914f7a22011-12-06 18:43:24 -0800117LOCAL_RENDERSCRIPT_FLAGS:=
Stephen Hines3b0fa102013-02-06 16:19:30 -0800118LOCAL_RENDERSCRIPT_SKIP_INSTALL:=
Stephen Hinesa941d132011-08-29 18:53:53 -0700119LOCAL_RENDERSCRIPT_TARGET_API:=
Ying Wangf7912e42010-09-10 16:19:24 -0700120LOCAL_BUILD_HOST_DEX:=
Ying Wang79e3dec2011-10-24 12:17:03 -0700121LOCAL_DEX_PREOPT:= # '',true,false,nostripping
Ying Wangb9aa5d42014-05-13 13:57:28 -0700122LOCAL_DEX_PREOPT_IMAGE_LOCATION:=
Ulas Kirazcibde274e2013-03-28 14:02:14 -0700123LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full
Ying Wang33c0d952010-11-05 11:30:58 -0700124LOCAL_PROTOC_FLAGS:=
Ulas Kirazci6e485b52013-07-25 12:28:19 -0700125LOCAL_PROTO_JAVA_OUTPUT_PARAMS:=
Jeff Brown703e7c62011-02-04 20:15:00 -0800126LOCAL_NO_CRT:=
Ying Wang8f779362011-09-13 13:57:26 -0700127LOCAL_PROPRIETARY_MODULE:=
Ying Wang5338fbf2013-05-08 15:49:08 -0700128LOCAL_PRIVILEGED_MODULE:=
Ying Wangdbb31be2011-12-09 15:11:57 -0800129LOCAL_MODULE_OWNER:=
Brian Muramatsu237fa072011-12-12 23:54:49 -0800130LOCAL_CTS_TEST_PACKAGE:=
Svetoslav Ganov49932f12012-03-12 16:49:58 -0700131LOCAL_CTS_TEST_RUNNER:=
Evgeniy Stepanovb71e2df2012-03-20 18:00:16 +0400132LOCAL_CLANG:=
Evgeniy Stepanov6cc9c062012-03-30 12:15:12 +0400133LOCAL_ADDRESS_SANITIZER:=
Ying Wangae25ec12012-06-19 10:40:37 -0700134LOCAL_JAR_EXCLUDE_FILES:=
Jeff Brownae859f92013-07-17 20:29:51 -0700135LOCAL_JAR_PACKAGES:=
Ying Wang0d570a72012-06-18 18:45:40 -0700136LOCAL_LINT_FLAGS:=
Ying Wang28437aa2012-07-19 14:38:43 -0700137LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true
Ying Wang3a6f7582012-08-30 12:59:42 -0700138# Don't delete the META_INF dir when merging static Java libraries.
139LOCAL_DONT_DELETE_JAR_META_INF:=
Ying Wang31df0682012-11-13 10:55:28 -0800140LOCAL_ADDITIONAL_CERTIFICATES:=
Ying Wang63d94fa2012-12-13 18:23:01 -0800141LOCAL_PREBUILT_MODULE_FILE:=
Ying Wange56605a2013-02-06 11:44:41 -0800142LOCAL_POST_INSTALL_CMD:=
Ying Wang3e556092013-04-10 19:17:41 -0700143LOCAL_DIST_BUNDLED_BINARIES:=
Ying Wang285045b2013-08-13 12:35:10 -0700144LOCAL_HAL_STATIC_LIBRARIES:=
Andrew Hsieh6cea59a2013-08-27 17:33:06 +0800145LOCAL_NO_SYNTAX_CHECK:=
Andrew Hsieh906cb782013-09-10 17:37:14 +0800146LOCAL_NO_STATIC_ANALYZER:=
Colin Cross78d642f2014-01-29 18:20:01 -0800147LOCAL_32_BIT_ONLY:= # '',true
Ying Wang824344a2014-05-27 13:03:36 -0700148LOCAL_MULTILIB:=
Colin Cross8e404122014-02-06 14:45:37 -0800149LOCAL_MODULE_TARGET_ARCH:=
150LOCAL_MODULE_TARGET_ARCH_WARN:=
151LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:=
152LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:=
Ying Wang6feb6d52014-04-17 10:03:35 -0700153LOCAL_MODULE_HOST_ARCH:=
154LOCAL_MODULE_HOST_ARCH_WARN:=
155LOCAL_MODULE_UNSUPPORTED_HOST_ARCH:=
156LOCAL_MODULE_UNSUPPORTED_HOST_ARCH_WARN:=
The Android Open Source Project88b60792009-03-03 19:28:42 -0800157
Ying Wangb8e01852014-01-23 15:09:04 -0800158# arch specific variables
159LOCAL_SRC_FILES_$(TARGET_ARCH):=
160LOCAL_CFLAGS_$(TARGET_ARCH):=
Colin Crossf4f2fbe2014-02-12 21:15:12 -0800161LOCAL_CPPFLAGS_$(TARGET_ARCH):=
Ying Wangdbdafdb2014-01-27 10:27:19 -0800162LOCAL_C_INCLUDES_$(TARGET_ARCH):=
Ying Wangb8e01852014-01-23 15:09:04 -0800163LOCAL_ASFLAGS_$(TARGET_ARCH):=
164LOCAL_NO_CRT_$(TARGET_ARCH):=
165LOCAL_LDFLAGS_$(TARGET_ARCH):=
Colin Cross90353fe2014-02-04 14:53:25 -0800166LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):=
167LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):=
168LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):=
169LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):=
170LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):=
Ying Wang824344a2014-05-27 13:03:36 -0700171LOCAL_CLANG_$(TARGET_ARCH):=
Ying Wangb8e01852014-01-23 15:09:04 -0800172ifdef TARGET_2ND_ARCH
173LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):=
174LOCAL_CFLAGS_$(TARGET_2ND_ARCH):=
Colin Crossf4f2fbe2014-02-12 21:15:12 -0800175LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):=
Ying Wangdbdafdb2014-01-27 10:27:19 -0800176LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):=
Ying Wangb8e01852014-01-23 15:09:04 -0800177LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):=
178LOCAL_NO_CRT_$(TARGET_2ND_ARCH):=
179LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):=
Colin Cross90353fe2014-02-04 14:53:25 -0800180LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):=
181LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
182LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
183LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):=
184LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):=
Ying Wang824344a2014-05-27 13:03:36 -0700185LOCAL_CLANG_$(TARGET_2ND_ARCH):=
Ying Wangb8e01852014-01-23 15:09:04 -0800186endif
Ying Wang6feb6d52014-04-17 10:03:35 -0700187LOCAL_SRC_FILES_$(HOST_ARCH):=
188LOCAL_CFLAGS_$(HOST_ARCH):=
189LOCAL_CPPFLAGS_$(HOST_ARCH):=
190LOCAL_C_INCLUDES_$(HOST_ARCH):=
191LOCAL_ASFLAGS_$(HOST_ARCH):=
192LOCAL_NO_CRT_$(HOST_ARCH):=
193LOCAL_LDFLAGS_$(HOST_ARCH):=
194LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):=
195LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):=
196LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):=
197LOCAL_GENERATED_SOURCES_$(HOST_ARCH):=
198LOCAL_REQUIRED_MODULES_$(HOST_ARCH):=
Ying Wang824344a2014-05-27 13:03:36 -0700199LOCAL_CLANG_$(HOST_ARCH):=
Ying Wang6feb6d52014-04-17 10:03:35 -0700200ifdef HOST_2ND_ARCH
201LOCAL_SRC_FILES_$(HOST_2ND_ARCH):=
202LOCAL_CFLAGS_$(HOST_2ND_ARCH):=
203LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):=
204LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):=
205LOCAL_ASFLAGS_$(HOST_2ND_ARCH):=
206LOCAL_NO_CRT_$(HOST_2ND_ARCH):=
207LOCAL_LDFLAGS_$(HOST_2ND_ARCH):=
208LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):=
209LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
210LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
211LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):=
212LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):=
Ying Wang824344a2014-05-27 13:03:36 -0700213LOCAL_CLANG_$(HOST_2ND_ARCH):=
Ying Wang6feb6d52014-04-17 10:03:35 -0700214endif
Ying Wangb8e01852014-01-23 15:09:04 -0800215
Colin Crossf4f2fbe2014-02-12 21:15:12 -0800216LOCAL_SRC_FILES_32:=
217LOCAL_SRC_FILES_64:=
218LOCAL_SHARED_LIBRARIES_32:=
219LOCAL_SHARED_LIBRARIES_64:=
220LOCAL_STATIC_LIBRARIES_32:=
221LOCAL_STATIC_LIBRARIES_64:=
222LOCAL_WHOLE_STATIC_LIBRARIES_32:=
223LOCAL_WHOLE_STATIC_LIBRARIES_64:=
224LOCAL_GENERATED_SOURCES_32:=
225LOCAL_GENERATED_SOURCES_64:=
Colin Cross44a75262014-01-29 17:46:37 -0800226LOCAL_CFLAGS_32:=
227LOCAL_CFLAGS_64:=
Colin Crossf4f2fbe2014-02-12 21:15:12 -0800228LOCAL_CPPFLAGS_32:=
229LOCAL_CPPFLAGS_64:=
Colin Cross44a75262014-01-29 17:46:37 -0800230LOCAL_LDFLAGS_32:=
231LOCAL_LDFLAGS_64:=
232LOCAL_ASFLAGS_32:=
233LOCAL_ASFLAGS_64:=
234LOCAL_C_INCLUDES_32:=
235LOCAL_C_INCLUDES_64:=
Colin Cross87974052014-03-21 12:25:44 -0700236LOCAL_MODULE_PATH_32:=
237LOCAL_MODULE_PATH_64:=
Colin Cross5a9db902014-03-21 12:27:37 -0700238LOCAL_MODULE_STEM_32:=
239LOCAL_MODULE_STEM_64:=
Ying Wang824344a2014-05-27 13:03:36 -0700240LOCAL_CLANG_32:=
241LOCAL_CLANG_64:=
Colin Cross44a75262014-01-29 17:46:37 -0800242
The Android Open Source Project88b60792009-03-03 19:28:42 -0800243# Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
244# iterate over thousands of entries every time.
245# Leave the current makefile to make sure we don't break anything
246# that expects to be able to find the name of the current makefile.
247MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST))