The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | ########################################################### |
| 2 | ## Clear out values of all variables used by rule templates. |
| 3 | ########################################################### |
| 4 | |
| 5 | LOCAL_MODULE:= |
| 6 | LOCAL_MODULE_PATH:= |
| 7 | LOCAL_MODULE_STEM:= |
Joe Onorato | e334d25 | 2009-07-17 15:33:40 -0400 | [diff] [blame] | 8 | LOCAL_DONT_CHECK_MODULE:= |
| 9 | LOCAL_CHECKED_MODULE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 10 | LOCAL_BUILT_MODULE:= |
| 11 | LOCAL_BUILT_MODULE_STEM:= |
| 12 | OVERRIDE_BUILT_MODULE_PATH:= |
| 13 | LOCAL_INSTALLED_MODULE:= |
| 14 | LOCAL_UNINSTALLABLE_MODULE:= |
| 15 | LOCAL_INTERMEDIATE_TARGETS:= |
| 16 | LOCAL_UNSTRIPPED_PATH:= |
| 17 | LOCAL_MODULE_CLASS:= |
| 18 | LOCAL_MODULE_SUFFIX:= |
| 19 | LOCAL_PACKAGE_NAME:= |
| 20 | LOCAL_OVERRIDES_PACKAGES:= |
| 21 | LOCAL_EXPORT_PACKAGE_RESOURCES:= |
Jeff Hamilton | bb67d21 | 2010-02-05 22:36:42 -0600 | [diff] [blame] | 22 | LOCAL_MANIFEST_PACKAGE_NAME:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 23 | LOCAL_REQUIRED_MODULES:= |
| 24 | LOCAL_ACP_UNAVAILABLE:= |
| 25 | LOCAL_MODULE_TAGS:= |
| 26 | LOCAL_SRC_FILES:= |
| 27 | LOCAL_PREBUILT_OBJ_FILES:= |
| 28 | LOCAL_STATIC_JAVA_LIBRARIES:= |
| 29 | LOCAL_STATIC_LIBRARIES:= |
Ying Wang | fcdabd4 | 2011-04-25 14:22:41 -0700 | [diff] [blame] | 30 | # Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking. |
| 31 | LOCAL_GROUP_STATIC_LIBRARIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 32 | LOCAL_WHOLE_STATIC_LIBRARIES:= |
| 33 | LOCAL_SHARED_LIBRARIES:= |
| 34 | LOCAL_IS_HOST_MODULE:= |
| 35 | LOCAL_CC:= |
| 36 | LOCAL_CXX:= |
| 37 | LOCAL_CPP_EXTENSION:= |
| 38 | LOCAL_NO_DEFAULT_COMPILER_FLAGS:= |
Jing Yu | 2dcc806 | 2009-09-21 16:31:50 -0700 | [diff] [blame] | 39 | LOCAL_NO_FDO_SUPPORT := |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 40 | LOCAL_ARM_MODE:= |
| 41 | LOCAL_YACCFLAGS:= |
| 42 | LOCAL_ASFLAGS:= |
| 43 | LOCAL_CFLAGS:= |
| 44 | LOCAL_CPPFLAGS:= |
Ying Wang | 7429e21 | 2012-08-15 10:59:10 -0700 | [diff] [blame] | 45 | LOCAL_CONLYFLAGS:= |
Doug Kwan | e3c3c6d | 2011-06-07 10:55:48 -0700 | [diff] [blame] | 46 | LOCAL_RTTI_FLAG:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 47 | LOCAL_C_INCLUDES:= |
Ying Wang | 5f07480 | 2011-11-08 09:31:21 -0800 | [diff] [blame] | 48 | LOCAL_EXPORT_C_INCLUDE_DIRS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 49 | LOCAL_LDFLAGS:= |
| 50 | LOCAL_LDLIBS:= |
| 51 | LOCAL_AAPT_FLAGS:= |
Ying Wang | 8b07ed8 | 2010-12-28 13:14:29 -0800 | [diff] [blame] | 52 | LOCAL_AAPT_INCLUDE_ALL_RESOURCES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 53 | LOCAL_SYSTEM_SHARED_LIBRARIES:=none |
| 54 | LOCAL_PREBUILT_LIBS:= |
| 55 | LOCAL_PREBUILT_EXECUTABLES:= |
| 56 | LOCAL_PREBUILT_JAVA_LIBRARIES:= |
| 57 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:= |
Doug Zongker | d0a4472 | 2009-08-06 21:50:51 -0700 | [diff] [blame] | 58 | LOCAL_PREBUILT_STRIP_COMMENTS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 59 | LOCAL_INTERMEDIATE_SOURCES:= |
Joe Onorato | 4f9c205 | 2010-05-17 18:40:39 -0700 | [diff] [blame] | 60 | LOCAL_INTERMEDIATE_SOURCE_DIR:= |
Brian Carlstrom | f184a0f | 2010-02-01 11:13:32 -0800 | [diff] [blame] | 61 | LOCAL_JAVACFLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 62 | LOCAL_JAVA_LIBRARIES:= |
Joe Onorato | 0eccce9 | 2011-10-30 21:37:35 -0700 | [diff] [blame] | 63 | LOCAL_JAVA_LAYERS_FILE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 64 | LOCAL_NO_STANDARD_LIBRARIES:= |
| 65 | LOCAL_CLASSPATH:= |
Joe Onorato | 64d85d0 | 2009-04-09 19:31:12 -0700 | [diff] [blame] | 66 | LOCAL_DROIDDOC_USE_STANDARD_DOCLET:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 67 | LOCAL_DROIDDOC_SOURCE_PATH:= |
| 68 | LOCAL_DROIDDOC_TEMPLATE_DIR:= |
| 69 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= |
| 70 | LOCAL_DROIDDOC_ASSET_DIR:= |
| 71 | LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:= |
| 72 | LOCAL_DROIDDOC_OPTIONS:= |
| 73 | LOCAL_DROIDDOC_HTML_DIR:= |
Dirk Dougherty | 9fdf671 | 2013-02-08 15:45:45 -0800 | [diff] [blame] | 74 | LOCAL_ADDITIONAL_HTML_DIR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 75 | LOCAL_ASSET_FILES:= |
| 76 | LOCAL_ASSET_DIR:= |
| 77 | LOCAL_RESOURCE_DIR:= |
| 78 | LOCAL_JAVA_RESOURCE_DIRS:= |
| 79 | LOCAL_JAVA_RESOURCE_FILES:= |
| 80 | LOCAL_GENERATED_SOURCES:= |
| 81 | LOCAL_COPY_HEADERS_TO:= |
| 82 | LOCAL_COPY_HEADERS:= |
| 83 | LOCAL_FORCE_STATIC_EXECUTABLE:= |
| 84 | LOCAL_ADDITIONAL_DEPENDENCIES:= |
Kito Cheng | 70dc3e1 | 2012-06-15 15:15:50 +0800 | [diff] [blame] | 85 | LOCAL_ENABLE_APROF:= |
| 86 | LOCAL_ENABLE_APROF_JNI:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 87 | LOCAL_COMPRESS_MODULE_SYMBOLS:= |
| 88 | LOCAL_STRIP_MODULE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 89 | LOCAL_JNI_SHARED_LIBRARIES:= |
Jack Palevich | a0ab29b | 2010-06-18 15:38:07 +0800 | [diff] [blame] | 90 | LOCAL_JNI_SHARED_LIBRARIES_ABI:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 91 | LOCAL_JAR_MANIFEST:= |
| 92 | LOCAL_INSTRUMENTATION_FOR:= |
Dianne Hackborn | a1fece0 | 2013-03-11 18:04:55 -0700 | [diff] [blame] | 93 | LOCAL_APK_LIBRARIES:= |
Ying Wang | 3dae0ee | 2010-09-02 15:41:01 -0700 | [diff] [blame] | 94 | LOCAL_MANIFEST_INSTRUMENTATION_FOR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 95 | LOCAL_AIDL_INCLUDES:= |
| 96 | LOCAL_JARJAR_RULES:= |
| 97 | LOCAL_ADDITIONAL_JAVA_DIR:= |
| 98 | LOCAL_ALLOW_UNDEFINED_SYMBOLS:= |
| 99 | LOCAL_DX_FLAGS:= |
| 100 | LOCAL_CERTIFICATE:= |
| 101 | LOCAL_SDK_VERSION:= |
Dianne Hackborn | 14169bc | 2011-09-18 17:34:29 -0700 | [diff] [blame] | 102 | LOCAL_SDK_RES_VERSION:= |
Ying Wang | cce4c97 | 2011-03-03 18:53:53 -0800 | [diff] [blame] | 103 | LOCAL_NDK_STL_VARIANT:= |
Ying Wang | af4800c | 2012-08-21 16:59:01 -0700 | [diff] [blame] | 104 | LOCAL_EMMA_INSTRUMENT:= |
Ying Wang | 2ce71aa | 2013-01-11 15:31:06 -0800 | [diff] [blame] | 105 | LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled |
Joe Onorato | 2daa2b3 | 2009-08-30 13:39:24 -0700 | [diff] [blame] | 106 | LOCAL_PROGUARD_FLAGS:= |
Ying Wang | 0b9382c | 2010-09-29 14:50:41 -0700 | [diff] [blame] | 107 | LOCAL_PROGUARD_FLAG_FILES:= |
Guang Zhu | 155afe3 | 2010-03-10 15:48:03 -0800 | [diff] [blame] | 108 | LOCAL_EMMA_COVERAGE_FILTER:= |
Jeffrey Chyan | 7adbf97 | 2010-07-07 13:42:19 -0500 | [diff] [blame] | 109 | LOCAL_WARNINGS_ENABLE:= |
Kevin Hester | 6c70362 | 2012-04-12 10:20:53 -0700 | [diff] [blame] | 110 | LOCAL_FULL_MANIFEST_FILE:= |
Evan Charlton | 121a787 | 2010-07-23 11:03:29 -0700 | [diff] [blame] | 111 | LOCAL_MANIFEST_FILE:= |
Ying Wang | 5128027 | 2010-09-01 13:28:52 -0700 | [diff] [blame] | 112 | LOCAL_RENDERSCRIPT_INCLUDES:= |
Stephen Hines | d4136c0 | 2011-08-23 22:01:49 -0700 | [diff] [blame] | 113 | LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:= |
Ying Wang | 7d83ef8 | 2011-05-25 17:16:22 -0700 | [diff] [blame] | 114 | LOCAL_RENDERSCRIPT_CC:= |
Stephen Hines | e719f28 | 2012-11-28 16:52:41 -0800 | [diff] [blame] | 115 | LOCAL_RENDERSCRIPT_COMPATIBILITY:= |
Stephen Hines | 914f7a2 | 2011-12-06 18:43:24 -0800 | [diff] [blame] | 116 | LOCAL_RENDERSCRIPT_FLAGS:= |
Stephen Hines | 3b0fa10 | 2013-02-06 16:19:30 -0800 | [diff] [blame] | 117 | LOCAL_RENDERSCRIPT_SKIP_INSTALL:= |
Stephen Hines | a941d13 | 2011-08-29 18:53:53 -0700 | [diff] [blame] | 118 | LOCAL_RENDERSCRIPT_TARGET_API:= |
Ying Wang | f7912e4 | 2010-09-10 16:19:24 -0700 | [diff] [blame] | 119 | LOCAL_BUILD_HOST_DEX:= |
Ying Wang | 79e3dec | 2011-10-24 12:17:03 -0700 | [diff] [blame] | 120 | LOCAL_DEX_PREOPT:= # '',true,false,nostripping |
Ulas Kirazci | bde274e | 2013-03-28 14:02:14 -0700 | [diff] [blame^] | 121 | LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full |
Ying Wang | 33c0d95 | 2010-11-05 11:30:58 -0700 | [diff] [blame] | 122 | LOCAL_PROTOC_FLAGS:= |
Jeff Brown | 703e7c6 | 2011-02-04 20:15:00 -0800 | [diff] [blame] | 123 | LOCAL_NO_CRT:= |
Ying Wang | 8f77936 | 2011-09-13 13:57:26 -0700 | [diff] [blame] | 124 | LOCAL_PROPRIETARY_MODULE:= |
Ying Wang | dbb31be | 2011-12-09 15:11:57 -0800 | [diff] [blame] | 125 | LOCAL_MODULE_OWNER:= |
Brian Muramatsu | 237fa07 | 2011-12-12 23:54:49 -0800 | [diff] [blame] | 126 | LOCAL_CTS_TEST_PACKAGE:= |
Svetoslav Ganov | 49932f1 | 2012-03-12 16:49:58 -0700 | [diff] [blame] | 127 | LOCAL_CTS_TEST_RUNNER:= |
Evgeniy Stepanov | b71e2df | 2012-03-20 18:00:16 +0400 | [diff] [blame] | 128 | LOCAL_CLANG:= |
Evgeniy Stepanov | 6cc9c06 | 2012-03-30 12:15:12 +0400 | [diff] [blame] | 129 | LOCAL_ADDRESS_SANITIZER:= |
Ying Wang | ae25ec1 | 2012-06-19 10:40:37 -0700 | [diff] [blame] | 130 | LOCAL_JAR_EXCLUDE_FILES:= |
Ying Wang | 0d570a7 | 2012-06-18 18:45:40 -0700 | [diff] [blame] | 131 | LOCAL_LINT_FLAGS:= |
Ying Wang | 28437aa | 2012-07-19 14:38:43 -0700 | [diff] [blame] | 132 | LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true |
Ying Wang | 3a6f758 | 2012-08-30 12:59:42 -0700 | [diff] [blame] | 133 | # Don't delete the META_INF dir when merging static Java libraries. |
| 134 | LOCAL_DONT_DELETE_JAR_META_INF:= |
Ying Wang | 31df068 | 2012-11-13 10:55:28 -0800 | [diff] [blame] | 135 | LOCAL_ADDITIONAL_CERTIFICATES:= |
Ying Wang | 63d94fa | 2012-12-13 18:23:01 -0800 | [diff] [blame] | 136 | LOCAL_PREBUILT_MODULE_FILE:= |
Ying Wang | e56605a | 2013-02-06 11:44:41 -0800 | [diff] [blame] | 137 | LOCAL_POST_INSTALL_CMD:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 138 | |
| 139 | # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to |
| 140 | # iterate over thousands of entries every time. |
| 141 | # Leave the current makefile to make sure we don't break anything |
| 142 | # that expects to be able to find the name of the current makefile. |
| 143 | MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST)) |