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:= |
Doug Kwan | e3c3c6d | 2011-06-07 10:55:48 -0700 | [diff] [blame] | 45 | LOCAL_RTTI_FLAG:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 46 | LOCAL_C_INCLUDES:= |
| 47 | LOCAL_LDFLAGS:= |
| 48 | LOCAL_LDLIBS:= |
| 49 | LOCAL_AAPT_FLAGS:= |
Ying Wang | 8b07ed8 | 2010-12-28 13:14:29 -0800 | [diff] [blame] | 50 | LOCAL_AAPT_INCLUDE_ALL_RESOURCES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 51 | LOCAL_SYSTEM_SHARED_LIBRARIES:=none |
| 52 | LOCAL_PREBUILT_LIBS:= |
| 53 | LOCAL_PREBUILT_EXECUTABLES:= |
| 54 | LOCAL_PREBUILT_JAVA_LIBRARIES:= |
| 55 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:= |
Doug Zongker | d0a4472 | 2009-08-06 21:50:51 -0700 | [diff] [blame] | 56 | LOCAL_PREBUILT_STRIP_COMMENTS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 57 | LOCAL_INTERMEDIATE_SOURCES:= |
Joe Onorato | 4f9c205 | 2010-05-17 18:40:39 -0700 | [diff] [blame] | 58 | LOCAL_INTERMEDIATE_SOURCE_DIR:= |
Brian Carlstrom | f184a0f | 2010-02-01 11:13:32 -0800 | [diff] [blame] | 59 | LOCAL_JAVACFLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 60 | LOCAL_JAVA_LIBRARIES:= |
| 61 | LOCAL_NO_STANDARD_LIBRARIES:= |
| 62 | LOCAL_CLASSPATH:= |
Joe Onorato | 64d85d0 | 2009-04-09 19:31:12 -0700 | [diff] [blame] | 63 | LOCAL_DROIDDOC_USE_STANDARD_DOCLET:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 64 | LOCAL_DROIDDOC_SOURCE_PATH:= |
| 65 | LOCAL_DROIDDOC_TEMPLATE_DIR:= |
| 66 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= |
| 67 | LOCAL_DROIDDOC_ASSET_DIR:= |
| 68 | LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:= |
| 69 | LOCAL_DROIDDOC_OPTIONS:= |
| 70 | LOCAL_DROIDDOC_HTML_DIR:= |
| 71 | LOCAL_ASSET_FILES:= |
| 72 | LOCAL_ASSET_DIR:= |
| 73 | LOCAL_RESOURCE_DIR:= |
| 74 | LOCAL_JAVA_RESOURCE_DIRS:= |
| 75 | LOCAL_JAVA_RESOURCE_FILES:= |
| 76 | LOCAL_GENERATED_SOURCES:= |
| 77 | LOCAL_COPY_HEADERS_TO:= |
| 78 | LOCAL_COPY_HEADERS:= |
| 79 | LOCAL_FORCE_STATIC_EXECUTABLE:= |
| 80 | LOCAL_ADDITIONAL_DEPENDENCIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 81 | LOCAL_COMPRESS_MODULE_SYMBOLS:= |
| 82 | LOCAL_STRIP_MODULE:= |
| 83 | LOCAL_POST_PROCESS_COMMAND:=true |
| 84 | LOCAL_JNI_SHARED_LIBRARIES:= |
Jack Palevich | a0ab29b | 2010-06-18 15:38:07 +0800 | [diff] [blame] | 85 | LOCAL_JNI_SHARED_LIBRARIES_ABI:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 86 | LOCAL_JAR_MANIFEST:= |
| 87 | LOCAL_INSTRUMENTATION_FOR:= |
Ying Wang | 3dae0ee | 2010-09-02 15:41:01 -0700 | [diff] [blame] | 88 | LOCAL_MANIFEST_INSTRUMENTATION_FOR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 89 | LOCAL_AIDL_INCLUDES:= |
| 90 | LOCAL_JARJAR_RULES:= |
| 91 | LOCAL_ADDITIONAL_JAVA_DIR:= |
| 92 | LOCAL_ALLOW_UNDEFINED_SYMBOLS:= |
| 93 | LOCAL_DX_FLAGS:= |
| 94 | LOCAL_CERTIFICATE:= |
| 95 | LOCAL_SDK_VERSION:= |
Dianne Hackborn | 14169bc | 2011-09-18 17:34:29 -0700 | [diff] [blame^] | 96 | LOCAL_SDK_RES_VERSION:= |
Ying Wang | 1a08100 | 2010-07-13 14:55:47 -0700 | [diff] [blame] | 97 | LOCAL_NDK_VERSION:= |
Ying Wang | cce4c97 | 2011-03-03 18:53:53 -0800 | [diff] [blame] | 98 | LOCAL_NDK_STL_VARIANT:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 99 | LOCAL_NO_EMMA_INSTRUMENT:= |
| 100 | LOCAL_NO_EMMA_COMPILE:= |
Ying Wang | 5128027 | 2010-09-01 13:28:52 -0700 | [diff] [blame] | 101 | LOCAL_PROGUARD_ENABLED:= # '',optonly,full,custom,disabled |
Joe Onorato | 2daa2b3 | 2009-08-30 13:39:24 -0700 | [diff] [blame] | 102 | LOCAL_PROGUARD_FLAGS:= |
Ying Wang | 0b9382c | 2010-09-29 14:50:41 -0700 | [diff] [blame] | 103 | LOCAL_PROGUARD_FLAG_FILES:= |
Guang Zhu | 155afe3 | 2010-03-10 15:48:03 -0800 | [diff] [blame] | 104 | LOCAL_EMMA_COVERAGE_FILTER:= |
Jeffrey Chyan | 7adbf97 | 2010-07-07 13:42:19 -0500 | [diff] [blame] | 105 | LOCAL_WARNINGS_ENABLE:= |
Evan Charlton | 121a787 | 2010-07-23 11:03:29 -0700 | [diff] [blame] | 106 | LOCAL_MANIFEST_FILE:= |
Ying Wang | 5128027 | 2010-09-01 13:28:52 -0700 | [diff] [blame] | 107 | LOCAL_RENDERSCRIPT_INCLUDES:= |
Stephen Hines | d4136c0 | 2011-08-23 22:01:49 -0700 | [diff] [blame] | 108 | LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:= |
Ying Wang | 7d83ef8 | 2011-05-25 17:16:22 -0700 | [diff] [blame] | 109 | LOCAL_RENDERSCRIPT_CC:= |
Stephen Hines | a941d13 | 2011-08-29 18:53:53 -0700 | [diff] [blame] | 110 | LOCAL_RENDERSCRIPT_TARGET_API:= |
Ying Wang | f7912e4 | 2010-09-10 16:19:24 -0700 | [diff] [blame] | 111 | LOCAL_BUILD_HOST_DEX:= |
Ying Wang | e7874c4 | 2010-09-17 16:36:06 -0700 | [diff] [blame] | 112 | LOCAL_DEX_PREOPT:= |
Ying Wang | a5fc87a | 2010-11-02 18:43:16 -0700 | [diff] [blame] | 113 | LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,full |
Ying Wang | 33c0d95 | 2010-11-05 11:30:58 -0700 | [diff] [blame] | 114 | LOCAL_PROTOC_FLAGS:= |
Jeff Brown | 703e7c6 | 2011-02-04 20:15:00 -0800 | [diff] [blame] | 115 | LOCAL_NO_CRT:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 116 | |
| 117 | # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to |
| 118 | # iterate over thousands of entries every time. |
| 119 | # Leave the current makefile to make sure we don't break anything |
| 120 | # that expects to be able to find the name of the current makefile. |
| 121 | MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST)) |