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:= |
Colin Cross | 639c336 | 2014-01-24 19:23:40 -0800 | [diff] [blame] | 7 | LOCAL_MODULE_RELATIVE_PATH := |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 8 | LOCAL_MODULE_STEM:= |
Joe Onorato | e334d25 | 2009-07-17 15:33:40 -0400 | [diff] [blame] | 9 | LOCAL_DONT_CHECK_MODULE:= |
| 10 | LOCAL_CHECKED_MODULE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 11 | LOCAL_BUILT_MODULE:= |
| 12 | LOCAL_BUILT_MODULE_STEM:= |
| 13 | OVERRIDE_BUILT_MODULE_PATH:= |
| 14 | LOCAL_INSTALLED_MODULE:= |
Ying Wang | feb7586 | 2013-09-24 15:56:11 -0700 | [diff] [blame] | 15 | LOCAL_INSTALLED_MODULE_STEM:= |
Ying Wang | 3b81aab | 2014-05-05 16:46:52 -0700 | [diff] [blame] | 16 | LOCAL_PICKUP_FILES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 17 | LOCAL_UNINSTALLABLE_MODULE:= |
| 18 | LOCAL_INTERMEDIATE_TARGETS:= |
| 19 | LOCAL_UNSTRIPPED_PATH:= |
| 20 | LOCAL_MODULE_CLASS:= |
| 21 | LOCAL_MODULE_SUFFIX:= |
| 22 | LOCAL_PACKAGE_NAME:= |
Dmitriy Ivanov | 13e5965 | 2014-07-23 15:27:21 -0700 | [diff] [blame] | 23 | LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 24 | LOCAL_OVERRIDES_PACKAGES:= |
| 25 | LOCAL_EXPORT_PACKAGE_RESOURCES:= |
Jeff Hamilton | bb67d21 | 2010-02-05 22:36:42 -0600 | [diff] [blame] | 26 | LOCAL_MANIFEST_PACKAGE_NAME:= |
Ying Wang | 1425e2d | 2014-07-22 15:42:11 -0700 | [diff] [blame] | 27 | LOCAL_PACKAGE_SPLITS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 28 | LOCAL_REQUIRED_MODULES:= |
| 29 | LOCAL_ACP_UNAVAILABLE:= |
| 30 | LOCAL_MODULE_TAGS:= |
| 31 | LOCAL_SRC_FILES:= |
| 32 | LOCAL_PREBUILT_OBJ_FILES:= |
| 33 | LOCAL_STATIC_JAVA_LIBRARIES:= |
Ying Wang | e9dd9f2 | 2014-10-29 15:48:32 -0700 | [diff] [blame] | 34 | LOCAL_STATIC_JAVA_AAR_LIBRARIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 35 | LOCAL_STATIC_LIBRARIES:= |
Ying Wang | fcdabd4 | 2011-04-25 14:22:41 -0700 | [diff] [blame] | 36 | # Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking. |
| 37 | LOCAL_GROUP_STATIC_LIBRARIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 38 | LOCAL_WHOLE_STATIC_LIBRARIES:= |
| 39 | LOCAL_SHARED_LIBRARIES:= |
| 40 | LOCAL_IS_HOST_MODULE:= |
| 41 | LOCAL_CC:= |
| 42 | LOCAL_CXX:= |
| 43 | LOCAL_CPP_EXTENSION:= |
| 44 | LOCAL_NO_DEFAULT_COMPILER_FLAGS:= |
synergydev | 7c46742 | 2013-08-13 17:41:52 -0700 | [diff] [blame] | 45 | LOCAL_FDO_SUPPORT:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 46 | LOCAL_ARM_MODE:= |
| 47 | LOCAL_YACCFLAGS:= |
| 48 | LOCAL_ASFLAGS:= |
| 49 | LOCAL_CFLAGS:= |
| 50 | LOCAL_CPPFLAGS:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 51 | LOCAL_CLANG_ASFLAGS:= |
| 52 | LOCAL_CLANG_CFLAGS:= |
Stephen Hines | 1568029 | 2014-11-26 00:53:46 -0800 | [diff] [blame] | 53 | LOCAL_CLANG_CONLYFLAGS:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 54 | LOCAL_CLANG_CPPFLAGS:= |
Ying Wang | 7429e21 | 2012-08-15 10:59:10 -0700 | [diff] [blame] | 55 | LOCAL_CONLYFLAGS:= |
Doug Kwan | e3c3c6d | 2011-06-07 10:55:48 -0700 | [diff] [blame] | 56 | LOCAL_RTTI_FLAG:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 57 | LOCAL_C_INCLUDES:= |
Ying Wang | 5f07480 | 2011-11-08 09:31:21 -0800 | [diff] [blame] | 58 | LOCAL_EXPORT_C_INCLUDE_DIRS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 59 | LOCAL_LDFLAGS:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 60 | LOCAL_CLANG_LDFLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 61 | LOCAL_LDLIBS:= |
| 62 | LOCAL_AAPT_FLAGS:= |
Ying Wang | 8b07ed8 | 2010-12-28 13:14:29 -0800 | [diff] [blame] | 63 | LOCAL_AAPT_INCLUDE_ALL_RESOURCES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 64 | LOCAL_SYSTEM_SHARED_LIBRARIES:=none |
| 65 | LOCAL_PREBUILT_LIBS:= |
| 66 | LOCAL_PREBUILT_EXECUTABLES:= |
| 67 | LOCAL_PREBUILT_JAVA_LIBRARIES:= |
| 68 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:= |
Doug Zongker | d0a4472 | 2009-08-06 21:50:51 -0700 | [diff] [blame] | 69 | LOCAL_PREBUILT_STRIP_COMMENTS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 70 | LOCAL_INTERMEDIATE_SOURCES:= |
Joe Onorato | 4f9c205 | 2010-05-17 18:40:39 -0700 | [diff] [blame] | 71 | LOCAL_INTERMEDIATE_SOURCE_DIR:= |
Brian Carlstrom | f184a0f | 2010-02-01 11:13:32 -0800 | [diff] [blame] | 72 | LOCAL_JAVACFLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 73 | LOCAL_JAVA_LIBRARIES:= |
Joe Onorato | 0eccce9 | 2011-10-30 21:37:35 -0700 | [diff] [blame] | 74 | LOCAL_JAVA_LAYERS_FILE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 75 | LOCAL_NO_STANDARD_LIBRARIES:= |
| 76 | LOCAL_CLASSPATH:= |
Yohann Roussel | f09e59e | 2014-09-08 14:45:14 +0200 | [diff] [blame] | 77 | LOCAL_JACK_CLASSPATH:= |
Joe Onorato | 64d85d0 | 2009-04-09 19:31:12 -0700 | [diff] [blame] | 78 | LOCAL_DROIDDOC_USE_STANDARD_DOCLET:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 79 | LOCAL_DROIDDOC_SOURCE_PATH:= |
| 80 | LOCAL_DROIDDOC_TEMPLATE_DIR:= |
| 81 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= |
| 82 | LOCAL_DROIDDOC_ASSET_DIR:= |
| 83 | LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:= |
| 84 | LOCAL_DROIDDOC_OPTIONS:= |
| 85 | LOCAL_DROIDDOC_HTML_DIR:= |
Dirk Dougherty | 9fdf671 | 2013-02-08 15:45:45 -0800 | [diff] [blame] | 86 | LOCAL_ADDITIONAL_HTML_DIR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 87 | LOCAL_ASSET_DIR:= |
| 88 | LOCAL_RESOURCE_DIR:= |
| 89 | LOCAL_JAVA_RESOURCE_DIRS:= |
| 90 | LOCAL_JAVA_RESOURCE_FILES:= |
| 91 | LOCAL_GENERATED_SOURCES:= |
| 92 | LOCAL_COPY_HEADERS_TO:= |
| 93 | LOCAL_COPY_HEADERS:= |
| 94 | LOCAL_FORCE_STATIC_EXECUTABLE:= |
| 95 | LOCAL_ADDITIONAL_DEPENDENCIES:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 96 | LOCAL_STRIP_MODULE:= |
Dmitriy Ivanov | 4c2d1a6 | 2015-04-20 16:59:05 -0700 | [diff] [blame] | 97 | LOCAL_PACK_MODULE_RELOCATIONS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 98 | LOCAL_JNI_SHARED_LIBRARIES:= |
Jack Palevich | a0ab29b | 2010-06-18 15:38:07 +0800 | [diff] [blame] | 99 | LOCAL_JNI_SHARED_LIBRARIES_ABI:= |
Ying Wang | 74eb660 | 2014-04-18 20:13:41 -0700 | [diff] [blame] | 100 | LOCAL_PREBUILT_JNI_LIBS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 101 | LOCAL_JAR_MANIFEST:= |
| 102 | LOCAL_INSTRUMENTATION_FOR:= |
Dianne Hackborn | a1fece0 | 2013-03-11 18:04:55 -0700 | [diff] [blame] | 103 | LOCAL_APK_LIBRARIES:= |
Adam Lesinski | 5eebe0f | 2014-03-25 15:45:34 -0700 | [diff] [blame] | 104 | LOCAL_RES_LIBRARIES:= |
Ying Wang | 3dae0ee | 2010-09-02 15:41:01 -0700 | [diff] [blame] | 105 | LOCAL_MANIFEST_INSTRUMENTATION_FOR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 106 | LOCAL_AIDL_INCLUDES:= |
| 107 | LOCAL_JARJAR_RULES:= |
| 108 | LOCAL_ADDITIONAL_JAVA_DIR:= |
| 109 | LOCAL_ALLOW_UNDEFINED_SYMBOLS:= |
| 110 | LOCAL_DX_FLAGS:= |
Yohann Roussel | f09e59e | 2014-09-08 14:45:14 +0200 | [diff] [blame] | 111 | LOCAL_JACK_ENABLED:=$(DEFAULT_JACK_ENABLED) # '' (ie disabled), disabled, full, incremental |
| 112 | LOCAL_JACK_VM_ARGS := $(DEFAULT_JACK_VM_ARGS) |
| 113 | LOCAL_JACK_EXTRA_ARGS := $(DEFAULT_JACK_EXTRA_ARGS) |
| 114 | LOCAL_JACK_FLAGS:= |
| 115 | LOCAL_JILL_FLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 116 | LOCAL_CERTIFICATE:= |
| 117 | LOCAL_SDK_VERSION:= |
Dianne Hackborn | 14169bc | 2011-09-18 17:34:29 -0700 | [diff] [blame] | 118 | LOCAL_SDK_RES_VERSION:= |
Ying Wang | cce4c97 | 2011-03-03 18:53:53 -0800 | [diff] [blame] | 119 | LOCAL_NDK_STL_VARIANT:= |
Ying Wang | af4800c | 2012-08-21 16:59:01 -0700 | [diff] [blame] | 120 | LOCAL_EMMA_INSTRUMENT:= |
Ying Wang | 7311a34 | 2013-08-21 18:32:49 -0700 | [diff] [blame] | 121 | LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled,obfuscation,optimization |
Joe Onorato | 2daa2b3 | 2009-08-30 13:39:24 -0700 | [diff] [blame] | 122 | LOCAL_PROGUARD_FLAGS:= |
Yohann Roussel | f09e59e | 2014-09-08 14:45:14 +0200 | [diff] [blame] | 123 | LOCAL_JACK_PROGUARD_FLAGS:= |
Ying Wang | 0b9382c | 2010-09-29 14:50:41 -0700 | [diff] [blame] | 124 | LOCAL_PROGUARD_FLAG_FILES:= |
Ying Wang | 960d919 | 2014-02-08 10:31:36 -0800 | [diff] [blame] | 125 | LOCAL_TEST_MODULE_TO_PROGUARD_WITH:= |
Guang Zhu | 155afe3 | 2010-03-10 15:48:03 -0800 | [diff] [blame] | 126 | LOCAL_EMMA_COVERAGE_FILTER:= |
Jeffrey Chyan | 7adbf97 | 2010-07-07 13:42:19 -0500 | [diff] [blame] | 127 | LOCAL_WARNINGS_ENABLE:= |
Kevin Hester | 6c70362 | 2012-04-12 10:20:53 -0700 | [diff] [blame] | 128 | LOCAL_FULL_MANIFEST_FILE:= |
Evan Charlton | 121a787 | 2010-07-23 11:03:29 -0700 | [diff] [blame] | 129 | LOCAL_MANIFEST_FILE:= |
Ying Wang | dc7fee9 | 2014-02-05 18:24:45 -0800 | [diff] [blame] | 130 | LOCAL_FULL_LIBS_MANIFEST_FILES:= |
Ying Wang | 5128027 | 2010-09-01 13:28:52 -0700 | [diff] [blame] | 131 | LOCAL_RENDERSCRIPT_INCLUDES:= |
Stephen Hines | d4136c0 | 2011-08-23 22:01:49 -0700 | [diff] [blame] | 132 | LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:= |
Ying Wang | 7d83ef8 | 2011-05-25 17:16:22 -0700 | [diff] [blame] | 133 | LOCAL_RENDERSCRIPT_CC:= |
Stephen Hines | e719f28 | 2012-11-28 16:52:41 -0800 | [diff] [blame] | 134 | LOCAL_RENDERSCRIPT_COMPATIBILITY:= |
Stephen Hines | 914f7a2 | 2011-12-06 18:43:24 -0800 | [diff] [blame] | 135 | LOCAL_RENDERSCRIPT_FLAGS:= |
Stephen Hines | 3b0fa10 | 2013-02-06 16:19:30 -0800 | [diff] [blame] | 136 | LOCAL_RENDERSCRIPT_SKIP_INSTALL:= |
Stephen Hines | a941d13 | 2011-08-29 18:53:53 -0700 | [diff] [blame] | 137 | LOCAL_RENDERSCRIPT_TARGET_API:= |
Ying Wang | 79e3dec | 2011-10-24 12:17:03 -0700 | [diff] [blame] | 138 | LOCAL_DEX_PREOPT:= # '',true,false,nostripping |
Ying Wang | b9aa5d4 | 2014-05-13 13:57:28 -0700 | [diff] [blame] | 139 | LOCAL_DEX_PREOPT_IMAGE_LOCATION:= |
Ying Wang | 20ebd2e | 2014-10-07 18:07:23 -0700 | [diff] [blame] | 140 | LOCAL_DEX_PREOPT_FLAGS:= |
Ulas Kirazci | bde274e | 2013-03-28 14:02:14 -0700 | [diff] [blame] | 141 | LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full |
Ying Wang | 33c0d95 | 2010-11-05 11:30:58 -0700 | [diff] [blame] | 142 | LOCAL_PROTOC_FLAGS:= |
Ulas Kirazci | 6e485b5 | 2013-07-25 12:28:19 -0700 | [diff] [blame] | 143 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS:= |
Jeff Brown | 703e7c6 | 2011-02-04 20:15:00 -0800 | [diff] [blame] | 144 | LOCAL_NO_CRT:= |
Ying Wang | 75011b2 | 2015-07-02 11:05:27 -0700 | [diff] [blame] | 145 | LOCAL_NO_LIBGCC:= |
Ying Wang | 8f77936 | 2011-09-13 13:57:26 -0700 | [diff] [blame] | 146 | LOCAL_PROPRIETARY_MODULE:= |
Ying Wang | b888843 | 2014-03-11 17:13:27 -0700 | [diff] [blame] | 147 | LOCAL_OEM_MODULE:= |
Ying Wang | 4540a85 | 2015-03-12 18:30:39 -0700 | [diff] [blame] | 148 | LOCAL_ODM_MODULE:= |
Ying Wang | 5338fbf | 2013-05-08 15:49:08 -0700 | [diff] [blame] | 149 | LOCAL_PRIVILEGED_MODULE:= |
Ying Wang | dbb31be | 2011-12-09 15:11:57 -0800 | [diff] [blame] | 150 | LOCAL_MODULE_OWNER:= |
Brian Muramatsu | 237fa07 | 2011-12-12 23:54:49 -0800 | [diff] [blame] | 151 | LOCAL_CTS_TEST_PACKAGE:= |
Svetoslav Ganov | 49932f1 | 2012-03-12 16:49:58 -0700 | [diff] [blame] | 152 | LOCAL_CTS_TEST_RUNNER:= |
Evgeniy Stepanov | b71e2df | 2012-03-20 18:00:16 +0400 | [diff] [blame] | 153 | LOCAL_CLANG:= |
Ying Wang | ae25ec1 | 2012-06-19 10:40:37 -0700 | [diff] [blame] | 154 | LOCAL_JAR_EXCLUDE_FILES:= |
Jeff Brown | ae859f9 | 2013-07-17 20:29:51 -0700 | [diff] [blame] | 155 | LOCAL_JAR_PACKAGES:= |
Jeff Brown | 4c4aa99 | 2014-05-23 18:41:19 -0700 | [diff] [blame] | 156 | LOCAL_JAR_EXCLUDE_PACKAGES:= |
Ying Wang | 28437aa | 2012-07-19 14:38:43 -0700 | [diff] [blame] | 157 | LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true |
Ying Wang | 3a6f758 | 2012-08-30 12:59:42 -0700 | [diff] [blame] | 158 | # Don't delete the META_INF dir when merging static Java libraries. |
| 159 | LOCAL_DONT_DELETE_JAR_META_INF:= |
Fredrik Roubert | cc93f0c | 2015-01-28 21:29:38 +0100 | [diff] [blame] | 160 | LOCAL_DONT_DELETE_JAR_DIRS:= |
Ying Wang | 31df068 | 2012-11-13 10:55:28 -0800 | [diff] [blame] | 161 | LOCAL_ADDITIONAL_CERTIFICATES:= |
Ying Wang | 63d94fa | 2012-12-13 18:23:01 -0800 | [diff] [blame] | 162 | LOCAL_PREBUILT_MODULE_FILE:= |
Ying Wang | 8b34769 | 2014-09-05 15:46:43 -0700 | [diff] [blame] | 163 | LOCAL_POST_LINK_CMD:= |
Ying Wang | e56605a | 2013-02-06 11:44:41 -0800 | [diff] [blame] | 164 | LOCAL_POST_INSTALL_CMD:= |
Ying Wang | 285045b | 2013-08-13 12:35:10 -0700 | [diff] [blame] | 165 | LOCAL_HAL_STATIC_LIBRARIES:= |
Ying Wang | a3b7593 | 2013-08-14 16:59:00 -0700 | [diff] [blame] | 166 | LOCAL_RMTYPEDEFS:= |
Andrew Hsieh | e7c2d14 | 2013-08-27 17:55:46 +0800 | [diff] [blame] | 167 | LOCAL_NO_SYNTAX_CHECK:= |
Andrew Hsieh | 906cb78 | 2013-09-10 17:37:14 +0800 | [diff] [blame] | 168 | LOCAL_NO_STATIC_ANALYZER:= |
Colin Cross | 78d642f | 2014-01-29 18:20:01 -0800 | [diff] [blame] | 169 | LOCAL_32_BIT_ONLY:= # '',true |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 170 | LOCAL_MULTILIB:= |
Colin Cross | 8e40412 | 2014-02-06 14:45:37 -0800 | [diff] [blame] | 171 | LOCAL_MODULE_TARGET_ARCH:= |
| 172 | LOCAL_MODULE_TARGET_ARCH_WARN:= |
| 173 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:= |
| 174 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 175 | LOCAL_MODULE_HOST_ARCH:= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame^] | 176 | LOCAL_MODULE_HOST_ARCH_WARN:= |
| 177 | LOCAL_MODULE_UNSUPPORTED_HOST_ARCH:= |
| 178 | LOCAL_MODULE_UNSUPPORTED_HOST_ARCH_WARN:= |
| 179 | LOCAL_MODULE_HOST_CROSS_ARCH:= |
| 180 | LOCAL_MODULE_HOST_CROSS_ARCH_WARN:= |
| 181 | LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH:= |
| 182 | LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH_WARN:= |
Tim Murray | 595d0db | 2014-09-03 15:01:46 -0700 | [diff] [blame] | 183 | LOCAL_NO_FPIE := |
Dan Albert | b05f2ca | 2014-09-12 14:46:57 -0700 | [diff] [blame] | 184 | LOCAL_CXX_STL := default |
Dan Albert | 4bbc6c7 | 2014-09-19 14:25:57 -0700 | [diff] [blame] | 185 | LOCAL_NATIVE_COVERAGE := |
Ying Wang | 43f7a32 | 2014-11-17 16:56:04 -0800 | [diff] [blame] | 186 | LOCAL_DPI_VARIANTS:= |
| 187 | LOCAL_DPI_FILE_STEM:= |
Dan Albert | 08cca28 | 2014-12-11 18:56:26 -0800 | [diff] [blame] | 188 | LOCAL_SANITIZE:= |
Dan Albert | 4111d48 | 2015-04-16 18:08:44 -0700 | [diff] [blame] | 189 | LOCAL_SANITIZE_RECOVER:= |
Christopher Wiley | 529f176 | 2015-08-14 14:55:32 -0700 | [diff] [blame] | 190 | LOCAL_DBUS_PROXY_PREFIX:= |
Ying Wang | 9fe15ac | 2015-08-20 12:02:10 -0700 | [diff] [blame] | 191 | LOCAL_INIT_RC:= |
Dan Willemsen | 859ac34 | 2015-08-14 12:59:06 -0700 | [diff] [blame] | 192 | LOCAL_MODULE_HOST_OS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 193 | |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 194 | # arch specific variables |
| 195 | LOCAL_SRC_FILES_$(TARGET_ARCH):= |
| 196 | LOCAL_CFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 197 | LOCAL_CLANG_CFLAGS_$(TARGET_ARCH):= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 198 | LOCAL_CPPFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 199 | LOCAL_CLANG_CPPFLAGS_$(TARGET_ARCH):= |
Ying Wang | dbdafdb | 2014-01-27 10:27:19 -0800 | [diff] [blame] | 200 | LOCAL_C_INCLUDES_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 201 | LOCAL_ASFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 202 | LOCAL_CLANG_ASFLAGS_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 203 | LOCAL_LDFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 204 | LOCAL_CLANG_LDFLAGS_$(TARGET_ARCH):= |
Colin Cross | 90353fe | 2014-02-04 14:53:25 -0800 | [diff] [blame] | 205 | LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):= |
| 206 | LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):= |
| 207 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):= |
| 208 | LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):= |
| 209 | LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 210 | LOCAL_CLANG_$(TARGET_ARCH):= |
Ying Wang | 8e20ef6 | 2014-06-24 20:01:52 -0700 | [diff] [blame] | 211 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 212 | ifdef TARGET_2ND_ARCH |
| 213 | LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):= |
| 214 | LOCAL_CFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 215 | LOCAL_CLANG_CFLAGS_$(TARGET_2ND_ARCH):= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 216 | LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 217 | LOCAL_CLANG_CPPFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | dbdafdb | 2014-01-27 10:27:19 -0800 | [diff] [blame] | 218 | LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 219 | LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 220 | LOCAL_CLANG_ASFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 221 | LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 222 | LOCAL_CLANG_LDFLAGS_$(TARGET_2ND_ARCH):= |
Colin Cross | 90353fe | 2014-02-04 14:53:25 -0800 | [diff] [blame] | 223 | LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 224 | LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 225 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 226 | LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):= |
| 227 | LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 228 | LOCAL_CLANG_$(TARGET_2ND_ARCH):= |
Ying Wang | 8e20ef6 | 2014-06-24 20:01:52 -0700 | [diff] [blame] | 229 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 230 | endif |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 231 | LOCAL_SRC_FILES_$(HOST_ARCH):= |
| 232 | LOCAL_CFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 233 | LOCAL_CLANG_CFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 234 | LOCAL_CPPFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 235 | LOCAL_CLANG_CPPFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 236 | LOCAL_C_INCLUDES_$(HOST_ARCH):= |
| 237 | LOCAL_ASFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 238 | LOCAL_CLANG_ASFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 239 | LOCAL_LDFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 240 | LOCAL_CLANG_LDFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 241 | LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):= |
| 242 | LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):= |
| 243 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):= |
| 244 | LOCAL_GENERATED_SOURCES_$(HOST_ARCH):= |
| 245 | LOCAL_REQUIRED_MODULES_$(HOST_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 246 | LOCAL_CLANG_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 247 | ifdef HOST_2ND_ARCH |
| 248 | LOCAL_SRC_FILES_$(HOST_2ND_ARCH):= |
| 249 | LOCAL_CFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 250 | LOCAL_CLANG_CFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 251 | LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 252 | LOCAL_CLANG_CPPFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 253 | LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):= |
| 254 | LOCAL_ASFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 255 | LOCAL_CLANG_ASFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 256 | LOCAL_LDFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 257 | LOCAL_CLANG_LDFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 258 | LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):= |
| 259 | LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
| 260 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
| 261 | LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):= |
| 262 | LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 263 | LOCAL_CLANG_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 264 | endif |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 265 | |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 266 | LOCAL_SRC_FILES_$(HOST_OS):= |
| 267 | LOCAL_STATIC_LIBRARIES_$(HOST_OS):= |
| 268 | LOCAL_SHARED_LIBRARIES_$(HOST_OS):= |
| 269 | LOCAL_CFLAGS_$(HOST_OS):= |
| 270 | LOCAL_CPPFLAGS_$(HOST_OS):= |
| 271 | LOCAL_LDFLAGS_$(HOST_OS):= |
| 272 | LOCAL_LDLIBS_$(HOST_OS):= |
| 273 | LOCAL_ASFLAGS_$(HOST_OS):= |
| 274 | LOCAL_C_INCLUDES_$(HOST_OS):= |
| 275 | LOCAL_GENERATED_SOURCES_$(HOST_OS):= |
| 276 | LOCAL_REQUIRED_MODULES_$(HOST_OS):= |
| 277 | |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame^] | 278 | ifdef HOST_CROSS_OS |
| 279 | LOCAL_SRC_FILES_$(HOST_CROSS_OS):= |
| 280 | LOCAL_STATIC_LIBRARIES_$(HOST_CROSS_OS):= |
| 281 | LOCAL_SHARED_LIBRARIES_$(HOST_CROSS_OS):= |
| 282 | LOCAL_CFLAGS_$(HOST_CROSS_OS):= |
| 283 | LOCAL_CPPFLAGS_$(HOST_CROSS_OS):= |
| 284 | LOCAL_LDFLAGS_$(HOST_CROSS_OS):= |
| 285 | LOCAL_LDLIBS_$(HOST_CROSS_OS):= |
| 286 | LOCAL_ASFLAGS_$(HOST_CROSS_OS):= |
| 287 | LOCAL_C_INCLUDES_$(HOST_CROSS_OS):= |
| 288 | LOCAL_GENERATED_SOURCES_$(HOST_CROSS_OS):= |
| 289 | LOCAL_REQUIRED_MODULES_$(HOST_CROSS_OS):= |
| 290 | endif |
| 291 | |
Dan Willemsen | 85ac8d2 | 2015-08-18 17:47:06 -0700 | [diff] [blame] | 292 | LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_ARCH):= |
| 293 | ifdef HOST_2ND_ARCH |
| 294 | LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_2ND_ARCH):= |
| 295 | endif |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame^] | 296 | ifdef HOST_CROSS_OS |
| 297 | LOCAL_SRC_FILES_$(HOST_CROSS_OS)_$(HOST_CROSS_ARCH):= |
| 298 | endif |
Dan Willemsen | 85ac8d2 | 2015-08-18 17:47:06 -0700 | [diff] [blame] | 299 | |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 300 | LOCAL_SRC_FILES_32:= |
| 301 | LOCAL_SRC_FILES_64:= |
| 302 | LOCAL_SHARED_LIBRARIES_32:= |
| 303 | LOCAL_SHARED_LIBRARIES_64:= |
| 304 | LOCAL_STATIC_LIBRARIES_32:= |
| 305 | LOCAL_STATIC_LIBRARIES_64:= |
| 306 | LOCAL_WHOLE_STATIC_LIBRARIES_32:= |
| 307 | LOCAL_WHOLE_STATIC_LIBRARIES_64:= |
| 308 | LOCAL_GENERATED_SOURCES_32:= |
| 309 | LOCAL_GENERATED_SOURCES_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 310 | LOCAL_CFLAGS_32:= |
| 311 | LOCAL_CFLAGS_64:= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 312 | LOCAL_CPPFLAGS_32:= |
| 313 | LOCAL_CPPFLAGS_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 314 | LOCAL_LDFLAGS_32:= |
| 315 | LOCAL_LDFLAGS_64:= |
| 316 | LOCAL_ASFLAGS_32:= |
| 317 | LOCAL_ASFLAGS_64:= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 318 | LOCAL_CLANG_CFLAGS_32:= |
| 319 | LOCAL_CLANG_CFLAGS_64:= |
| 320 | LOCAL_CLANG_CPPFLAGS_32:= |
| 321 | LOCAL_CLANG_CPPFLAGS_64:= |
| 322 | LOCAL_CLANG_LDFLAGS_32:= |
| 323 | LOCAL_CLANG_LDFLAGS_64:= |
| 324 | LOCAL_CLANG_ASFLAGS_32:= |
| 325 | LOCAL_CLANG_ASFLAGS_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 326 | LOCAL_C_INCLUDES_32:= |
| 327 | LOCAL_C_INCLUDES_64:= |
Colin Cross | 8797405 | 2014-03-21 12:25:44 -0700 | [diff] [blame] | 328 | LOCAL_MODULE_PATH_32:= |
| 329 | LOCAL_MODULE_PATH_64:= |
Colin Cross | 5a9db90 | 2014-03-21 12:27:37 -0700 | [diff] [blame] | 330 | LOCAL_MODULE_STEM_32:= |
| 331 | LOCAL_MODULE_STEM_64:= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 332 | LOCAL_CLANG_32:= |
| 333 | LOCAL_CLANG_64:= |
Ying Wang | 9fe15ac | 2015-08-20 12:02:10 -0700 | [diff] [blame] | 334 | LOCAL_INIT_RC_32:= |
| 335 | LOCAL_INIT_RC_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 336 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 337 | # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to |
| 338 | # iterate over thousands of entries every time. |
| 339 | # Leave the current makefile to make sure we don't break anything |
| 340 | # that expects to be able to find the name of the current makefile. |
| 341 | MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST)) |