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 | |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 5 | LOCAL_32_BIT_ONLY:= # '',true |
| 6 | LOCAL_AAPT_FLAGS:= |
| 7 | LOCAL_AAPT_INCLUDE_ALL_RESOURCES:= |
| 8 | LOCAL_ADDITIONAL_CERTIFICATES:= |
| 9 | LOCAL_ADDITIONAL_DEPENDENCIES:= |
| 10 | LOCAL_ADDITIONAL_HTML_DIR:= |
| 11 | LOCAL_ADDITIONAL_JAVA_DIR:= |
| 12 | LOCAL_AIDL_INCLUDES:= |
| 13 | LOCAL_ALLOW_UNDEFINED_SYMBOLS:= |
| 14 | LOCAL_APK_LIBRARIES:= |
| 15 | LOCAL_ARM_MODE:= |
| 16 | LOCAL_ASFLAGS:= |
| 17 | LOCAL_ASSET_DIR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 18 | LOCAL_BUILT_MODULE:= |
| 19 | LOCAL_BUILT_MODULE_STEM:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 20 | LOCAL_CC:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 21 | LOCAL_CERTIFICATE:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 22 | LOCAL_CFLAGS:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 23 | LOCAL_CHECKED_MODULE:= |
| 24 | LOCAL_C_INCLUDES:= |
| 25 | LOCAL_CLANG:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 26 | LOCAL_CLANG_ASFLAGS:= |
| 27 | LOCAL_CLANG_CFLAGS:= |
Stephen Hines | 1568029 | 2014-11-26 00:53:46 -0800 | [diff] [blame] | 28 | LOCAL_CLANG_CONLYFLAGS:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 29 | LOCAL_CLANG_CPPFLAGS:= |
Chih-Hung Hsieh | 9aa69a6 | 2014-09-04 17:15:47 -0700 | [diff] [blame] | 30 | LOCAL_CLANG_LDFLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 31 | LOCAL_CLASSPATH:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 32 | LOCAL_COMPATIBILITY_SUITE:= |
| 33 | LOCAL_COMPATIBILITY_SUPPORT_FILES:= |
| 34 | LOCAL_CONLYFLAGS:= |
| 35 | LOCAL_COPY_HEADERS:= |
| 36 | LOCAL_COPY_HEADERS_TO:= |
| 37 | LOCAL_COPY_TO_INTERMEDIATE_LIBRARIES:= |
| 38 | LOCAL_CPP_EXTENSION:= |
| 39 | LOCAL_CPPFLAGS:= |
Dan Willemsen | 88ac806 | 2017-02-09 14:28:22 -0800 | [diff] [blame] | 40 | LOCAL_CPP_STD:= |
| 41 | LOCAL_C_STD:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 42 | LOCAL_CTS_TEST_PACKAGE:= |
| 43 | LOCAL_CTS_TEST_RUNNER:= |
| 44 | LOCAL_CXX:= |
| 45 | LOCAL_CXX_STL := default |
| 46 | LOCAL_DATA_BINDING:= |
| 47 | LOCAL_DBUS_PROXY_PREFIX:= |
| 48 | LOCAL_DEX_PREOPT_FLAGS:= |
| 49 | LOCAL_DEX_PREOPT_IMAGE_LOCATION:= |
| 50 | LOCAL_DEX_PREOPT:= # '',true,false,nostripping |
| 51 | LOCAL_DONT_CHECK_MODULE:= |
| 52 | # Don't delete the META_INF dir when merging static Java libraries. |
| 53 | LOCAL_DONT_DELETE_JAR_META_INF:= |
| 54 | LOCAL_DPI_FILE_STEM:= |
| 55 | LOCAL_DPI_VARIANTS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 56 | LOCAL_DROIDDOC_ASSET_DIR:= |
| 57 | LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 58 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 59 | LOCAL_DROIDDOC_HTML_DIR:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 60 | LOCAL_DROIDDOC_OPTIONS:= |
| 61 | LOCAL_DROIDDOC_SOURCE_PATH:= |
Ying Wang | 5adfc3e | 2015-07-16 14:21:37 -0700 | [diff] [blame] | 62 | LOCAL_DROIDDOC_STUB_OUT_DIR:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 63 | LOCAL_DROIDDOC_TEMPLATE_DIR:= |
| 64 | LOCAL_DROIDDOC_USE_STANDARD_DOCLET:= |
Colin Cross | 79e2f73 | 2016-12-21 14:29:13 -0800 | [diff] [blame] | 65 | LOCAL_DX_FLAGS:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 66 | LOCAL_EMMA_COVERAGE_FILTER:= |
| 67 | LOCAL_EMMA_INSTRUMENT:= |
| 68 | LOCAL_EXPORT_C_INCLUDE_DEPS:= |
| 69 | LOCAL_EXPORT_C_INCLUDE_DIRS:= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 70 | LOCAL_EXPORT_HEADER_LIBRARY_HEADERS:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 71 | LOCAL_EXPORT_PACKAGE_RESOURCES:= |
| 72 | LOCAL_EXPORT_SHARED_LIBRARY_HEADERS:= |
| 73 | LOCAL_EXPORT_STATIC_LIBRARY_HEADERS:= |
| 74 | LOCAL_EXTRACT_APK:= |
| 75 | LOCAL_EXTRACT_DPI_APK:= |
| 76 | LOCAL_FDO_SUPPORT:= |
| 77 | LOCAL_FINDBUGS_FLAGS:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 78 | LOCAL_FORCE_STATIC_EXECUTABLE:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 79 | LOCAL_FULL_LIBS_MANIFEST_FILES:= |
| 80 | LOCAL_FULL_MANIFEST_FILE:= |
| 81 | LOCAL_GCNO_FILES:= |
| 82 | LOCAL_GENERATED_SOURCES:= |
| 83 | # Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking. |
| 84 | LOCAL_GROUP_STATIC_LIBRARIES:= |
Dan Willemsen | 9416c20 | 2016-12-21 20:27:06 -0800 | [diff] [blame] | 85 | LOCAL_GTEST:=true |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 86 | LOCAL_HAL_STATIC_LIBRARIES:= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 87 | LOCAL_HEADER_LIBRARIES:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 88 | LOCAL_INIT_RC:= |
| 89 | LOCAL_INSTALLED_MODULE:= |
| 90 | LOCAL_INSTALLED_MODULE_STEM:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 91 | LOCAL_INSTRUMENTATION_FOR:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 92 | LOCAL_INTERMEDIATE_SOURCE_DIR:= |
| 93 | LOCAL_INTERMEDIATE_SOURCES:= |
| 94 | LOCAL_INTERMEDIATE_TARGETS:= |
| 95 | LOCAL_IS_HOST_MODULE:= |
| 96 | LOCAL_IS_RUNTIME_RESOURCE_OVERLAY:= |
| 97 | LOCAL_JACK_CLASSPATH:= |
| 98 | LOCAL_JACK_COVERAGE_EXCLUDE_FILTER:= |
| 99 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER:= |
Colin Cross | 79e2f73 | 2016-12-21 14:29:13 -0800 | [diff] [blame] | 100 | LOCAL_JACK_ENABLED:=$(DEFAULT_JACK_ENABLED) # '' (ie disabled), disabled, full, incremental |
Yohann Roussel | b4c49cb | 2014-09-08 14:45:14 +0200 | [diff] [blame] | 101 | LOCAL_JACK_FLAGS:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 102 | LOCAL_JACK_PLUGIN:= |
| 103 | LOCAL_JACK_PLUGIN_PATH:= |
Yohann Roussel | b4c49cb | 2014-09-08 14:45:14 +0200 | [diff] [blame] | 104 | LOCAL_JACK_PROGUARD_FLAGS:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 105 | LOCAL_JAR_EXCLUDE_FILES:= |
| 106 | LOCAL_JAR_EXCLUDE_PACKAGES:= |
| 107 | LOCAL_JARJAR_RULES:= |
| 108 | LOCAL_JAR_MANIFEST:= |
| 109 | LOCAL_JAR_PACKAGES:= |
| 110 | LOCAL_JAVACFLAGS:= |
| 111 | LOCAL_JAVA_LANGUAGE_VERSION:= |
| 112 | LOCAL_JAVA_LAYERS_FILE:= |
| 113 | LOCAL_JAVA_LIBRARIES:= |
| 114 | LOCAL_JAVA_RESOURCE_DIRS:= |
| 115 | LOCAL_JAVA_RESOURCE_FILES:= |
| 116 | LOCAL_JNI_SHARED_LIBRARIES:= |
| 117 | LOCAL_JNI_SHARED_LIBRARIES_ABI:= |
| 118 | LOCAL_LDFLAGS:= |
| 119 | LOCAL_LDLIBS:= |
| 120 | LOCAL_LOGTAGS_FILES:= |
Evan Charlton | 121a787 | 2010-07-23 11:03:29 -0700 | [diff] [blame] | 121 | LOCAL_MANIFEST_FILE:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 122 | LOCAL_MANIFEST_INSTRUMENTATION_FOR:= |
| 123 | LOCAL_MANIFEST_PACKAGE_NAME:= |
| 124 | LOCAL_MIN_SDK_VERSION:= |
| 125 | LOCAL_MODULE:= |
| 126 | LOCAL_MODULE_CLASS:= |
| 127 | LOCAL_MODULE_HOST_ARCH:= |
| 128 | LOCAL_MODULE_HOST_ARCH_WARN:= |
| 129 | LOCAL_MODULE_HOST_CROSS_ARCH:= |
| 130 | LOCAL_MODULE_HOST_CROSS_ARCH_WARN:= |
| 131 | LOCAL_MODULE_HOST_OS:= |
| 132 | LOCAL_MODULE_OWNER:= |
| 133 | LOCAL_MODULE_PATH:= |
| 134 | LOCAL_MODULE_RELATIVE_PATH := |
| 135 | LOCAL_MODULE_STEM:= |
| 136 | LOCAL_MODULE_SUFFIX:= |
| 137 | LOCAL_MODULE_SYMLINKS:= |
| 138 | LOCAL_MODULE_TAGS:= |
| 139 | LOCAL_MODULE_TARGET_ARCH:= |
| 140 | LOCAL_MODULE_TARGET_ARCH_WARN:= |
| 141 | LOCAL_MODULE_UNSUPPORTED_HOST_ARCH:= |
| 142 | LOCAL_MODULE_UNSUPPORTED_HOST_ARCH_WARN:= |
| 143 | LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH:= |
| 144 | LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH_WARN:= |
| 145 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:= |
| 146 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:= |
| 147 | LOCAL_MULTILIB:= |
| 148 | LOCAL_NDK_STL_VARIANT:= |
| 149 | LOCAL_NDK_VERSION:=current |
Jeff Brown | 703e7c6 | 2011-02-04 20:15:00 -0800 | [diff] [blame] | 150 | LOCAL_NO_CRT:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 151 | LOCAL_NO_DEFAULT_COMPILER_FLAGS:= |
| 152 | LOCAL_NO_FPIE := |
Alexey Polyudov | ee27d81 | 2016-08-01 17:38:35 -0700 | [diff] [blame] | 153 | LOCAL_NO_LIBCOMPILER_RT:= |
Ying Wang | 75011b2 | 2015-07-02 11:05:27 -0700 | [diff] [blame] | 154 | LOCAL_NO_LIBGCC:= |
Alexey Polyudov | cbb038c | 2016-08-01 17:36:39 -0700 | [diff] [blame] | 155 | LOCAL_NO_PIC:= |
Evgenii Stepanov | 4282366 | 2016-05-12 13:07:17 -0700 | [diff] [blame] | 156 | LOCAL_NOSANITIZE:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 157 | LOCAL_NO_STANDARD_LIBRARIES:= |
| 158 | LOCAL_NO_STATIC_ANALYZER:= |
Narayan Kamath | 3026f4d | 2015-12-22 14:34:09 +0000 | [diff] [blame] | 159 | LOCAL_NOTICE_FILE:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 160 | LOCAL_ODM_MODULE:= |
| 161 | LOCAL_OEM_MODULE:= |
| 162 | LOCAL_OVERRIDES_PACKAGES:= |
| 163 | LOCAL_PACKAGE_NAME:= |
| 164 | LOCAL_PACKAGE_SPLITS:= |
| 165 | LOCAL_PACK_MODULE_RELOCATIONS:= |
| 166 | LOCAL_PICKUP_FILES:= |
| 167 | LOCAL_POST_INSTALL_CMD:= |
| 168 | LOCAL_POST_LINK_CMD:= |
Dan Willemsen | 0f90908 | 2017-02-10 00:07:17 -0800 | [diff] [blame] | 169 | LOCAL_PREBUILT_COVERAGE_ARCHIVE:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 170 | LOCAL_PREBUILT_EXECUTABLES:= |
| 171 | LOCAL_PREBUILT_JAVA_LIBRARIES:= |
| 172 | LOCAL_PREBUILT_JNI_LIBS:= |
| 173 | LOCAL_PREBUILT_LIBS:= |
| 174 | LOCAL_PREBUILT_MODULE_FILE:= |
| 175 | LOCAL_PREBUILT_OBJ_FILES:= |
| 176 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:= |
| 177 | LOCAL_PREBUILT_STRIP_COMMENTS:= |
| 178 | LOCAL_PRIVILEGED_MODULE:= |
| 179 | LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled,obfuscation,optimization |
| 180 | LOCAL_PROGUARD_FLAG_FILES:= |
| 181 | LOCAL_PROGUARD_FLAGS:= |
| 182 | LOCAL_PROPRIETARY_MODULE:= |
| 183 | LOCAL_PROTOC_FLAGS:= |
| 184 | LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full,nanopb-c,nanopb-c-enable_malloc |
| 185 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS:= |
| 186 | LOCAL_RECORDED_MODULE_TYPE:= |
| 187 | LOCAL_RENDERSCRIPT_CC:= |
| 188 | LOCAL_RENDERSCRIPT_COMPATIBILITY:= |
| 189 | LOCAL_RENDERSCRIPT_FLAGS:= |
| 190 | LOCAL_RENDERSCRIPT_INCLUDES:= |
| 191 | LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:= |
| 192 | LOCAL_RENDERSCRIPT_TARGET_API:= |
Ying Wang | 3a61eeb | 2016-03-11 10:32:01 -0800 | [diff] [blame] | 193 | # Used to replace the installed file of a presigned prebuilt apk in PDK fusion build, |
| 194 | # to avoid installing the presigned apks with classes.dex unstripped. |
| 195 | LOCAL_REPLACE_PREBUILT_APK_INSTALLED:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 196 | LOCAL_REQUIRED_MODULES:= |
| 197 | LOCAL_RES_LIBRARIES:= |
| 198 | LOCAL_RESOURCE_DIR:= |
| 199 | LOCAL_RMTYPEDEFS:= |
| 200 | LOCAL_RRO_SKU:= |
| 201 | LOCAL_RTTI_FLAG:= |
| 202 | LOCAL_SANITIZE:= |
| 203 | LOCAL_SANITIZE_DIAG:= |
| 204 | LOCAL_SANITIZE_RECOVER:= |
| 205 | LOCAL_SDK_RES_VERSION:= |
| 206 | LOCAL_SDK_VERSION:= |
| 207 | LOCAL_SHARED_ANDROID_LIBRARIES:= |
| 208 | LOCAL_SHARED_LIBRARIES:= |
| 209 | LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true |
| 210 | LOCAL_SRC_FILES:= |
| 211 | LOCAL_SRC_FILES_EXCLUDE:= |
| 212 | LOCAL_STATIC_ANDROID_LIBRARIES:= |
| 213 | LOCAL_STATIC_JAVA_AAR_LIBRARIES:= |
| 214 | LOCAL_STATIC_JAVA_LIBRARIES:= |
| 215 | LOCAL_STATIC_LIBRARIES:= |
| 216 | LOCAL_STRIP_MODULE:= |
| 217 | LOCAL_SYSTEM_SHARED_LIBRARIES:=none |
Dan Willemsen | d07ba4e | 2016-12-09 16:05:09 -0800 | [diff] [blame] | 218 | LOCAL_TEST_DATA:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 219 | LOCAL_TEST_MODULE_TO_PROGUARD_WITH:= |
| 220 | LOCAL_TIDY:= |
| 221 | LOCAL_TIDY_CHECKS:= |
| 222 | LOCAL_TIDY_FLAGS:= |
| 223 | LOCAL_UNINSTALLABLE_MODULE:= |
| 224 | LOCAL_UNSTRIPPED_PATH:= |
| 225 | LOCAL_USE_AAPT2:=$(USE_AAPT2) |
Dan Willemsen | bab0fa6 | 2016-11-18 14:05:39 -0800 | [diff] [blame] | 226 | LOCAL_USE_VNDK:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 227 | LOCAL_VTSC_FLAGS:= |
| 228 | LOCAL_VTS_INCLUDES:= |
| 229 | LOCAL_WARNINGS_ENABLE:= |
| 230 | LOCAL_WHOLE_STATIC_LIBRARIES:= |
| 231 | LOCAL_YACCFLAGS:= |
| 232 | OVERRIDE_BUILT_MODULE_PATH:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 233 | |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 234 | # arch specific variables |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 235 | LOCAL_ASFLAGS_$(TARGET_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 236 | LOCAL_CFLAGS_$(TARGET_ARCH):= |
| 237 | LOCAL_C_INCLUDES_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 238 | LOCAL_CLANG_ASFLAGS_$(TARGET_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 239 | LOCAL_CLANG_CFLAGS_$(TARGET_ARCH):= |
| 240 | LOCAL_CLANG_CPPFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 241 | LOCAL_CLANG_LDFLAGS_$(TARGET_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 242 | LOCAL_CLANG_$(TARGET_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 243 | LOCAL_CPPFLAGS_$(TARGET_ARCH):= |
| 244 | LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 245 | LOCAL_HEADER_LIBRARIES_$(TARGET_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 246 | LOCAL_LDFLAGS_$(TARGET_ARCH):= |
Ying Wang | b6eb8dd | 2016-03-01 20:14:52 -0800 | [diff] [blame] | 247 | LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 248 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH):= |
| 249 | LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):= |
| 250 | LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):= |
| 251 | LOCAL_SRC_FILES_EXCLUDE_$(TARGET_ARCH):= |
| 252 | LOCAL_SRC_FILES_$(TARGET_ARCH):= |
| 253 | LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):= |
| 254 | LOCAL_STRIP_MODULE_$(TARGET_ARCH):= |
| 255 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 256 | ifdef TARGET_2ND_ARCH |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 257 | LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 258 | LOCAL_CFLAGS_$(TARGET_2ND_ARCH):= |
| 259 | LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 260 | LOCAL_CLANG_ASFLAGS_$(TARGET_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 261 | LOCAL_CLANG_CFLAGS_$(TARGET_2ND_ARCH):= |
| 262 | LOCAL_CLANG_CPPFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 263 | LOCAL_CLANG_LDFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 264 | LOCAL_CLANG_$(TARGET_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 265 | LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):= |
| 266 | LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 267 | LOCAL_HEADER_LIBRARIES_$(TARGET_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 268 | LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | b6eb8dd | 2016-03-01 20:14:52 -0800 | [diff] [blame] | 269 | LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 270 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH):= |
| 271 | LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):= |
| 272 | LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 273 | LOCAL_SRC_FILES_EXCLUDE_$(TARGET_2ND_ARCH):= |
| 274 | LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):= |
| 275 | LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 276 | LOCAL_STRIP_MODULE_$(TARGET_2ND_ARCH):= |
| 277 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 278 | endif |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 279 | LOCAL_ASFLAGS_$(HOST_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 280 | LOCAL_CFLAGS_$(HOST_ARCH):= |
| 281 | LOCAL_C_INCLUDES_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 282 | LOCAL_CLANG_ASFLAGS_$(HOST_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 283 | LOCAL_CLANG_CFLAGS_$(HOST_ARCH):= |
| 284 | LOCAL_CLANG_CPPFLAGS_$(HOST_ARCH):= |
| 285 | LOCAL_CLANG_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 286 | LOCAL_CLANG_LDFLAGS_$(HOST_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 287 | LOCAL_CPPFLAGS_$(HOST_ARCH):= |
| 288 | LOCAL_GENERATED_SOURCES_$(HOST_ARCH):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 289 | LOCAL_HEADER_LIBRARIES_$(HOST_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 290 | LOCAL_LDFLAGS_$(HOST_ARCH):= |
| 291 | LOCAL_REQUIRED_MODULES_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 292 | LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 293 | LOCAL_SRC_FILES_EXCLUDE_$(HOST_ARCH):= |
| 294 | LOCAL_SRC_FILES_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 295 | LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):= |
| 296 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 297 | ifdef HOST_2ND_ARCH |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 298 | LOCAL_ASFLAGS_$(HOST_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 299 | LOCAL_CFLAGS_$(HOST_2ND_ARCH):= |
| 300 | LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 301 | LOCAL_CLANG_ASFLAGS_$(HOST_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 302 | LOCAL_CLANG_CFLAGS_$(HOST_2ND_ARCH):= |
| 303 | LOCAL_CLANG_CPPFLAGS_$(HOST_2ND_ARCH):= |
| 304 | LOCAL_CLANG_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 305 | LOCAL_CLANG_LDFLAGS_$(HOST_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 306 | LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):= |
| 307 | LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 308 | LOCAL_HEADER_LIBRARIES_$(HOST_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 309 | LOCAL_LDFLAGS_$(HOST_2ND_ARCH):= |
| 310 | LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 311 | LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 312 | LOCAL_SRC_FILES_EXCLUDE_$(HOST_2ND_ARCH):= |
| 313 | LOCAL_SRC_FILES_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 314 | LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
| 315 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 316 | endif |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 317 | |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 318 | LOCAL_ASFLAGS_$(HOST_OS):= |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 319 | LOCAL_CFLAGS_$(HOST_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 320 | LOCAL_C_INCLUDES_$(HOST_OS):= |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 321 | LOCAL_CPPFLAGS_$(HOST_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 322 | LOCAL_GENERATED_SOURCES_$(HOST_OS):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 323 | LOCAL_HEADER_LIBRARIES_$(HOST_OS):= |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 324 | LOCAL_LDFLAGS_$(HOST_OS):= |
| 325 | LOCAL_LDLIBS_$(HOST_OS):= |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 326 | LOCAL_REQUIRED_MODULES_$(HOST_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 327 | LOCAL_SHARED_LIBRARIES_$(HOST_OS):= |
| 328 | LOCAL_SRC_FILES_$(HOST_OS):= |
| 329 | LOCAL_STATIC_LIBRARIES_$(HOST_OS):= |
Dan Willemsen | 7a54985 | 2015-08-13 17:51:40 -0700 | [diff] [blame] | 330 | |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 331 | ifdef HOST_CROSS_OS |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 332 | LOCAL_ASFLAGS_$(HOST_CROSS_OS):= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 333 | LOCAL_CFLAGS_$(HOST_CROSS_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 334 | LOCAL_C_INCLUDES_$(HOST_CROSS_OS):= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 335 | LOCAL_CPPFLAGS_$(HOST_CROSS_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 336 | LOCAL_GENERATED_SOURCES_$(HOST_CROSS_OS):= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 337 | LOCAL_HEADER_LIBRARIES_$(HOST_CROSS_OS):= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 338 | LOCAL_LDFLAGS_$(HOST_CROSS_OS):= |
| 339 | LOCAL_LDLIBS_$(HOST_CROSS_OS):= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 340 | LOCAL_REQUIRED_MODULES_$(HOST_CROSS_OS):= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 341 | LOCAL_SHARED_LIBRARIES_$(HOST_CROSS_OS):= |
| 342 | LOCAL_SRC_FILES_$(HOST_CROSS_OS):= |
| 343 | LOCAL_STATIC_LIBRARIES_$(HOST_CROSS_OS):= |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 344 | endif |
| 345 | |
Dan Willemsen | 85ac8d2 | 2015-08-18 17:47:06 -0700 | [diff] [blame] | 346 | LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_ARCH):= |
| 347 | ifdef HOST_2ND_ARCH |
| 348 | LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_2ND_ARCH):= |
| 349 | endif |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 350 | ifdef HOST_CROSS_OS |
| 351 | LOCAL_SRC_FILES_$(HOST_CROSS_OS)_$(HOST_CROSS_ARCH):= |
Dan Willemsen | 9ecbf83 | 2016-02-05 16:20:19 -0800 | [diff] [blame] | 352 | ifdef HOST_CROSS_2ND_ARCH |
| 353 | LOCAL_SRC_FILES_$(HOST_CROSS_OS)_$(HOST_CROSS_2ND_ARCH):= |
| 354 | endif |
Dan Willemsen | 057aaea | 2015-08-14 12:59:50 -0700 | [diff] [blame] | 355 | endif |
Dan Willemsen | 85ac8d2 | 2015-08-18 17:47:06 -0700 | [diff] [blame] | 356 | |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 357 | LOCAL_ASFLAGS_32:= |
| 358 | LOCAL_ASFLAGS_64:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 359 | LOCAL_CFLAGS_32:= |
| 360 | LOCAL_CFLAGS_64:= |
| 361 | LOCAL_C_INCLUDES_32:= |
| 362 | LOCAL_C_INCLUDES_64:= |
| 363 | LOCAL_CLANG_32:= |
| 364 | LOCAL_CLANG_64:= |
| 365 | LOCAL_CLANG_ASFLAGS_32:= |
| 366 | LOCAL_CLANG_ASFLAGS_64:= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 367 | LOCAL_CLANG_CFLAGS_32:= |
| 368 | LOCAL_CLANG_CFLAGS_64:= |
| 369 | LOCAL_CLANG_CPPFLAGS_32:= |
| 370 | LOCAL_CLANG_CPPFLAGS_64:= |
| 371 | LOCAL_CLANG_LDFLAGS_32:= |
| 372 | LOCAL_CLANG_LDFLAGS_64:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 373 | LOCAL_CPPFLAGS_32:= |
| 374 | LOCAL_CPPFLAGS_64:= |
| 375 | LOCAL_GENERATED_SOURCES_32:= |
| 376 | LOCAL_GENERATED_SOURCES_64:= |
Dan Willemsen | 8dae49c | 2017-02-15 15:48:11 -0800 | [diff] [blame] | 377 | LOCAL_HEADER_LIBRARIES_32:= |
| 378 | LOCAL_HEADER_LIBRARIES_64:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 379 | LOCAL_INIT_RC_32:= |
| 380 | LOCAL_INIT_RC_64:= |
| 381 | LOCAL_LDFLAGS_32:= |
| 382 | LOCAL_LDFLAGS_64:= |
Colin Cross | 8797405 | 2014-03-21 12:25:44 -0700 | [diff] [blame] | 383 | LOCAL_MODULE_PATH_32:= |
| 384 | LOCAL_MODULE_PATH_64:= |
Colin Cross | 5a9db90 | 2014-03-21 12:27:37 -0700 | [diff] [blame] | 385 | LOCAL_MODULE_STEM_32:= |
| 386 | LOCAL_MODULE_STEM_64:= |
Colin Cross | 744d33b | 2016-07-14 16:02:57 -0700 | [diff] [blame] | 387 | LOCAL_MODULE_SYMLINKS_32:= |
| 388 | LOCAL_MODULE_SYMLINKS_64:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 389 | LOCAL_SHARED_LIBRARIES_32:= |
| 390 | LOCAL_SHARED_LIBRARIES_64:= |
| 391 | LOCAL_SRC_FILES_32:= |
| 392 | LOCAL_SRC_FILES_64:= |
| 393 | LOCAL_SRC_FILES_EXCLUDE_32:= |
| 394 | LOCAL_SRC_FILES_EXCLUDE_64:= |
| 395 | LOCAL_STATIC_LIBRARIES_32:= |
| 396 | LOCAL_STATIC_LIBRARIES_64:= |
| 397 | LOCAL_WHOLE_STATIC_LIBRARIES_32:= |
| 398 | LOCAL_WHOLE_STATIC_LIBRARIES_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 399 | |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 400 | # Aux specific variables |
Alexey Polyudov | ccdc311 | 2016-08-01 17:41:49 -0700 | [diff] [blame] | 401 | LOCAL_AUX_ARCH := |
Alexey Polyudov | ccdc311 | 2016-08-01 17:41:49 -0700 | [diff] [blame] | 402 | LOCAL_AUX_CPU := |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 403 | LOCAL_AUX_OS := |
Alexey Polyudov | ccdc311 | 2016-08-01 17:41:49 -0700 | [diff] [blame] | 404 | LOCAL_AUX_OS_VARIANT := |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 405 | LOCAL_AUX_SUBARCH := |
| 406 | LOCAL_AUX_TOOLCHAIN := |
Alexey Polyudov | ccdc311 | 2016-08-01 17:41:49 -0700 | [diff] [blame] | 407 | LOCAL_CUSTOM_BUILD_STEP_INPUT:= |
| 408 | LOCAL_CUSTOM_BUILD_STEP_OUTPUT:= |
Dan Willemsen | d78d6c9 | 2016-12-12 16:52:57 -0800 | [diff] [blame] | 409 | LOCAL_IS_AUX_MODULE := |
Alexey Polyudov | ccdc311 | 2016-08-01 17:41:49 -0700 | [diff] [blame] | 410 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 411 | # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to |
| 412 | # iterate over thousands of entries every time. |
| 413 | # Leave the current makefile to make sure we don't break anything |
| 414 | # that expects to be able to find the name of the current makefile. |
| 415 | MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST)) |