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 | 8f77936 | 2011-09-13 13:57:26 -0700 | [diff] [blame] | 145 | LOCAL_PROPRIETARY_MODULE:= |
Ying Wang | b888843 | 2014-03-11 17:13:27 -0700 | [diff] [blame] | 146 | LOCAL_OEM_MODULE:= |
Ying Wang | 5338fbf | 2013-05-08 15:49:08 -0700 | [diff] [blame] | 147 | LOCAL_PRIVILEGED_MODULE:= |
Ying Wang | dbb31be | 2011-12-09 15:11:57 -0800 | [diff] [blame] | 148 | LOCAL_MODULE_OWNER:= |
Brian Muramatsu | 237fa07 | 2011-12-12 23:54:49 -0800 | [diff] [blame] | 149 | LOCAL_CTS_TEST_PACKAGE:= |
Svetoslav Ganov | 49932f1 | 2012-03-12 16:49:58 -0700 | [diff] [blame] | 150 | LOCAL_CTS_TEST_RUNNER:= |
Evgeniy Stepanov | b71e2df | 2012-03-20 18:00:16 +0400 | [diff] [blame] | 151 | LOCAL_CLANG:= |
Evgeniy Stepanov | 6cc9c06 | 2012-03-30 12:15:12 +0400 | [diff] [blame] | 152 | LOCAL_ADDRESS_SANITIZER:= |
Ying Wang | ae25ec1 | 2012-06-19 10:40:37 -0700 | [diff] [blame] | 153 | LOCAL_JAR_EXCLUDE_FILES:= |
Jeff Brown | ae859f9 | 2013-07-17 20:29:51 -0700 | [diff] [blame] | 154 | LOCAL_JAR_PACKAGES:= |
Jeff Brown | 4c4aa99 | 2014-05-23 18:41:19 -0700 | [diff] [blame] | 155 | LOCAL_JAR_EXCLUDE_PACKAGES:= |
Ying Wang | 0d570a7 | 2012-06-18 18:45:40 -0700 | [diff] [blame] | 156 | LOCAL_LINT_FLAGS:= |
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 | 3e55609 | 2013-04-10 19:17:41 -0700 | [diff] [blame] | 165 | LOCAL_DIST_BUNDLED_BINARIES:= |
Ying Wang | 285045b | 2013-08-13 12:35:10 -0700 | [diff] [blame] | 166 | LOCAL_HAL_STATIC_LIBRARIES:= |
Ying Wang | a3b7593 | 2013-08-14 16:59:00 -0700 | [diff] [blame] | 167 | LOCAL_RMTYPEDEFS:= |
Andrew Hsieh | e7c2d14 | 2013-08-27 17:55:46 +0800 | [diff] [blame] | 168 | LOCAL_NO_SYNTAX_CHECK:= |
Andrew Hsieh | 906cb78 | 2013-09-10 17:37:14 +0800 | [diff] [blame] | 169 | LOCAL_NO_STATIC_ANALYZER:= |
Colin Cross | 78d642f | 2014-01-29 18:20:01 -0800 | [diff] [blame] | 170 | LOCAL_32_BIT_ONLY:= # '',true |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 171 | LOCAL_MULTILIB:= |
Colin Cross | 8e40412 | 2014-02-06 14:45:37 -0800 | [diff] [blame] | 172 | LOCAL_MODULE_TARGET_ARCH:= |
| 173 | LOCAL_MODULE_TARGET_ARCH_WARN:= |
| 174 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:= |
| 175 | LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 176 | LOCAL_MODULE_HOST_ARCH:= |
Tim Murray | 595d0db | 2014-09-03 15:01:46 -0700 | [diff] [blame] | 177 | LOCAL_NO_FPIE := |
Dan Albert | b05f2ca | 2014-09-12 14:46:57 -0700 | [diff] [blame] | 178 | LOCAL_CXX_STL := default |
Dan Albert | 4bbc6c7 | 2014-09-19 14:25:57 -0700 | [diff] [blame] | 179 | LOCAL_NATIVE_COVERAGE := |
Ying Wang | 43f7a32 | 2014-11-17 16:56:04 -0800 | [diff] [blame] | 180 | LOCAL_DPI_VARIANTS:= |
| 181 | LOCAL_DPI_FILE_STEM:= |
Dan Albert | 08cca28 | 2014-12-11 18:56:26 -0800 | [diff] [blame] | 182 | LOCAL_SANITIZE:= |
Dan Albert | 4111d48 | 2015-04-16 18:08:44 -0700 | [diff] [blame] | 183 | LOCAL_SANITIZE_RECOVER:= |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 184 | |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 185 | # arch specific variables |
| 186 | LOCAL_SRC_FILES_$(TARGET_ARCH):= |
| 187 | LOCAL_CFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 188 | LOCAL_CLANG_CFLAGS_$(TARGET_ARCH):= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 189 | LOCAL_CPPFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 190 | LOCAL_CLANG_CPPFLAGS_$(TARGET_ARCH):= |
Ying Wang | dbdafdb | 2014-01-27 10:27:19 -0800 | [diff] [blame] | 191 | LOCAL_C_INCLUDES_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 192 | LOCAL_ASFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 193 | LOCAL_CLANG_ASFLAGS_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 194 | LOCAL_NO_CRT_$(TARGET_ARCH):= |
| 195 | LOCAL_LDFLAGS_$(TARGET_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 196 | LOCAL_CLANG_LDFLAGS_$(TARGET_ARCH):= |
Colin Cross | 90353fe | 2014-02-04 14:53:25 -0800 | [diff] [blame] | 197 | LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):= |
| 198 | LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):= |
| 199 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):= |
| 200 | LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):= |
| 201 | LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 202 | LOCAL_CLANG_$(TARGET_ARCH):= |
Ying Wang | 8e20ef6 | 2014-06-24 20:01:52 -0700 | [diff] [blame] | 203 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 204 | ifdef TARGET_2ND_ARCH |
| 205 | LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):= |
| 206 | LOCAL_CFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 207 | LOCAL_CLANG_CFLAGS_$(TARGET_2ND_ARCH):= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 208 | LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 209 | LOCAL_CLANG_CPPFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | dbdafdb | 2014-01-27 10:27:19 -0800 | [diff] [blame] | 210 | LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 211 | LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 212 | LOCAL_CLANG_ASFLAGS_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 213 | LOCAL_NO_CRT_$(TARGET_2ND_ARCH):= |
| 214 | LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 215 | LOCAL_CLANG_LDFLAGS_$(TARGET_2ND_ARCH):= |
Colin Cross | 90353fe | 2014-02-04 14:53:25 -0800 | [diff] [blame] | 216 | LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 217 | LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 218 | LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):= |
| 219 | LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):= |
| 220 | LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 221 | LOCAL_CLANG_$(TARGET_2ND_ARCH):= |
Ying Wang | 8e20ef6 | 2014-06-24 20:01:52 -0700 | [diff] [blame] | 222 | LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH):= |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 223 | endif |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 224 | LOCAL_SRC_FILES_$(HOST_ARCH):= |
| 225 | LOCAL_CFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 226 | LOCAL_CLANG_CFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 227 | LOCAL_CPPFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 228 | LOCAL_CLANG_CPPFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 229 | LOCAL_C_INCLUDES_$(HOST_ARCH):= |
| 230 | LOCAL_ASFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 231 | LOCAL_CLANG_ASFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 232 | LOCAL_NO_CRT_$(HOST_ARCH):= |
| 233 | LOCAL_LDFLAGS_$(HOST_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 234 | LOCAL_CLANG_LDFLAGS_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 235 | LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):= |
| 236 | LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):= |
| 237 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):= |
| 238 | LOCAL_GENERATED_SOURCES_$(HOST_ARCH):= |
| 239 | LOCAL_REQUIRED_MODULES_$(HOST_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 240 | LOCAL_CLANG_$(HOST_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 241 | ifdef HOST_2ND_ARCH |
| 242 | LOCAL_SRC_FILES_$(HOST_2ND_ARCH):= |
| 243 | LOCAL_CFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 244 | LOCAL_CLANG_CFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 245 | LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 246 | LOCAL_CLANG_CPPFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 247 | LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):= |
| 248 | LOCAL_ASFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 249 | LOCAL_CLANG_ASFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 250 | LOCAL_NO_CRT_$(HOST_2ND_ARCH):= |
| 251 | LOCAL_LDFLAGS_$(HOST_2ND_ARCH):= |
Chih-Hung Hsieh | 78b6cea | 2014-09-30 14:23:14 -0700 | [diff] [blame] | 252 | LOCAL_CLANG_LDFLAGS_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 253 | LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):= |
| 254 | LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
| 255 | LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):= |
| 256 | LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):= |
| 257 | LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 258 | LOCAL_CLANG_$(HOST_2ND_ARCH):= |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 259 | endif |
Ying Wang | e3d0679 | 2014-01-23 15:09:04 -0800 | [diff] [blame] | 260 | |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 261 | LOCAL_SRC_FILES_32:= |
| 262 | LOCAL_SRC_FILES_64:= |
| 263 | LOCAL_SHARED_LIBRARIES_32:= |
| 264 | LOCAL_SHARED_LIBRARIES_64:= |
| 265 | LOCAL_STATIC_LIBRARIES_32:= |
| 266 | LOCAL_STATIC_LIBRARIES_64:= |
| 267 | LOCAL_WHOLE_STATIC_LIBRARIES_32:= |
| 268 | LOCAL_WHOLE_STATIC_LIBRARIES_64:= |
| 269 | LOCAL_GENERATED_SOURCES_32:= |
| 270 | LOCAL_GENERATED_SOURCES_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 271 | LOCAL_CFLAGS_32:= |
| 272 | LOCAL_CFLAGS_64:= |
Colin Cross | f4f2fbe | 2014-02-12 21:15:12 -0800 | [diff] [blame] | 273 | LOCAL_CPPFLAGS_32:= |
| 274 | LOCAL_CPPFLAGS_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 275 | LOCAL_LDFLAGS_32:= |
| 276 | LOCAL_LDFLAGS_64:= |
| 277 | LOCAL_ASFLAGS_32:= |
| 278 | LOCAL_ASFLAGS_64:= |
Chih-Hung Hsieh | 619fdb8 | 2014-09-26 17:13:48 -0700 | [diff] [blame] | 279 | LOCAL_CLANG_CFLAGS_32:= |
| 280 | LOCAL_CLANG_CFLAGS_64:= |
| 281 | LOCAL_CLANG_CPPFLAGS_32:= |
| 282 | LOCAL_CLANG_CPPFLAGS_64:= |
| 283 | LOCAL_CLANG_LDFLAGS_32:= |
| 284 | LOCAL_CLANG_LDFLAGS_64:= |
| 285 | LOCAL_CLANG_ASFLAGS_32:= |
| 286 | LOCAL_CLANG_ASFLAGS_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 287 | LOCAL_C_INCLUDES_32:= |
| 288 | LOCAL_C_INCLUDES_64:= |
Colin Cross | 8797405 | 2014-03-21 12:25:44 -0700 | [diff] [blame] | 289 | LOCAL_MODULE_PATH_32:= |
| 290 | LOCAL_MODULE_PATH_64:= |
Colin Cross | 5a9db90 | 2014-03-21 12:27:37 -0700 | [diff] [blame] | 291 | LOCAL_MODULE_STEM_32:= |
| 292 | LOCAL_MODULE_STEM_64:= |
Ying Wang | 824344a | 2014-05-27 13:03:36 -0700 | [diff] [blame] | 293 | LOCAL_CLANG_32:= |
| 294 | LOCAL_CLANG_64:= |
Colin Cross | 44a7526 | 2014-01-29 17:46:37 -0800 | [diff] [blame] | 295 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 296 | # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to |
| 297 | # iterate over thousands of entries every time. |
| 298 | # Leave the current makefile to make sure we don't break anything |
| 299 | # that expects to be able to find the name of the current makefile. |
| 300 | MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST)) |