2009-03-04 11:28:42 +08:00
|
|
|
###########################################################
|
|
|
|
## Clear out values of all variables used by rule templates.
|
|
|
|
###########################################################
|
|
|
|
|
|
|
|
LOCAL_MODULE:=
|
|
|
|
LOCAL_MODULE_PATH:=
|
2014-01-25 11:23:40 +08:00
|
|
|
LOCAL_MODULE_RELATIVE_PATH :=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_MODULE_STEM:=
|
2009-07-18 03:33:40 +08:00
|
|
|
LOCAL_DONT_CHECK_MODULE:=
|
|
|
|
LOCAL_CHECKED_MODULE:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_BUILT_MODULE:=
|
|
|
|
LOCAL_BUILT_MODULE_STEM:=
|
|
|
|
OVERRIDE_BUILT_MODULE_PATH:=
|
|
|
|
LOCAL_INSTALLED_MODULE:=
|
2013-09-25 06:56:11 +08:00
|
|
|
LOCAL_INSTALLED_MODULE_STEM:=
|
2014-05-06 07:46:52 +08:00
|
|
|
LOCAL_PICKUP_FILES:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_UNINSTALLABLE_MODULE:=
|
|
|
|
LOCAL_INTERMEDIATE_TARGETS:=
|
|
|
|
LOCAL_UNSTRIPPED_PATH:=
|
|
|
|
LOCAL_MODULE_CLASS:=
|
|
|
|
LOCAL_MODULE_SUFFIX:=
|
|
|
|
LOCAL_PACKAGE_NAME:=
|
|
|
|
LOCAL_OVERRIDES_PACKAGES:=
|
|
|
|
LOCAL_EXPORT_PACKAGE_RESOURCES:=
|
2010-02-06 12:36:42 +08:00
|
|
|
LOCAL_MANIFEST_PACKAGE_NAME:=
|
2014-07-23 06:42:11 +08:00
|
|
|
LOCAL_PACKAGE_SPLITS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_REQUIRED_MODULES:=
|
|
|
|
LOCAL_MODULE_TAGS:=
|
|
|
|
LOCAL_SRC_FILES:=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_PREBUILT_OBJ_FILES:=
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=
|
2014-10-30 06:48:32 +08:00
|
|
|
LOCAL_STATIC_JAVA_AAR_LIBRARIES:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES:=
|
2011-04-26 05:22:41 +08:00
|
|
|
# Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking.
|
|
|
|
LOCAL_GROUP_STATIC_LIBRARIES:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES:=
|
2016-04-12 03:40:36 +08:00
|
|
|
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS:=
|
|
|
|
LOCAL_EXPORT_STATIC_LIBRARY_HEADERS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES:=
|
|
|
|
LOCAL_IS_HOST_MODULE:=
|
|
|
|
LOCAL_CC:=
|
|
|
|
LOCAL_CXX:=
|
|
|
|
LOCAL_CPP_EXTENSION:=
|
|
|
|
LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
|
2013-08-14 08:41:52 +08:00
|
|
|
LOCAL_FDO_SUPPORT:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_ARM_MODE:=
|
|
|
|
LOCAL_YACCFLAGS:=
|
|
|
|
LOCAL_ASFLAGS:=
|
|
|
|
LOCAL_CFLAGS:=
|
|
|
|
LOCAL_CPPFLAGS:=
|
2014-09-05 08:15:47 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS:=
|
|
|
|
LOCAL_CLANG_CFLAGS:=
|
2014-11-26 16:53:46 +08:00
|
|
|
LOCAL_CLANG_CONLYFLAGS:=
|
2014-09-05 08:15:47 +08:00
|
|
|
LOCAL_CLANG_CPPFLAGS:=
|
2012-08-16 01:59:10 +08:00
|
|
|
LOCAL_CONLYFLAGS:=
|
2011-06-08 01:55:48 +08:00
|
|
|
LOCAL_RTTI_FLAG:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_C_INCLUDES:=
|
2011-11-09 01:31:21 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_LDFLAGS:=
|
2014-09-05 08:15:47 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_LDLIBS:=
|
|
|
|
LOCAL_AAPT_FLAGS:=
|
2010-12-29 05:14:29 +08:00
|
|
|
LOCAL_AAPT_INCLUDE_ALL_RESOURCES:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_SYSTEM_SHARED_LIBRARIES:=none
|
|
|
|
LOCAL_PREBUILT_LIBS:=
|
|
|
|
LOCAL_PREBUILT_EXECUTABLES:=
|
|
|
|
LOCAL_PREBUILT_JAVA_LIBRARIES:=
|
|
|
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:=
|
2009-08-07 12:50:51 +08:00
|
|
|
LOCAL_PREBUILT_STRIP_COMMENTS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=
|
2010-05-18 09:40:39 +08:00
|
|
|
LOCAL_INTERMEDIATE_SOURCE_DIR:=
|
2010-02-02 03:13:32 +08:00
|
|
|
LOCAL_JAVACFLAGS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_JAVA_LIBRARIES:=
|
2011-10-31 12:37:35 +08:00
|
|
|
LOCAL_JAVA_LAYERS_FILE:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_NO_STANDARD_LIBRARIES:=
|
|
|
|
LOCAL_CLASSPATH:=
|
2014-09-08 20:45:14 +08:00
|
|
|
LOCAL_JACK_CLASSPATH:=
|
2009-04-10 10:31:12 +08:00
|
|
|
LOCAL_DROIDDOC_USE_STANDARD_DOCLET:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=
|
|
|
|
LOCAL_DROIDDOC_TEMPLATE_DIR:=
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=
|
|
|
|
LOCAL_DROIDDOC_ASSET_DIR:=
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=
|
2013-02-09 07:45:45 +08:00
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_ASSET_DIR:=
|
|
|
|
LOCAL_RESOURCE_DIR:=
|
|
|
|
LOCAL_JAVA_RESOURCE_DIRS:=
|
|
|
|
LOCAL_JAVA_RESOURCE_FILES:=
|
|
|
|
LOCAL_GENERATED_SOURCES:=
|
|
|
|
LOCAL_COPY_HEADERS_TO:=
|
|
|
|
LOCAL_COPY_HEADERS:=
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE:=
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=
|
|
|
|
LOCAL_STRIP_MODULE:=
|
2015-04-21 07:59:05 +08:00
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_JNI_SHARED_LIBRARIES:=
|
2010-06-18 15:38:07 +08:00
|
|
|
LOCAL_JNI_SHARED_LIBRARIES_ABI:=
|
2014-04-19 11:13:41 +08:00
|
|
|
LOCAL_PREBUILT_JNI_LIBS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_JAR_MANIFEST:=
|
|
|
|
LOCAL_INSTRUMENTATION_FOR:=
|
2013-03-12 09:04:55 +08:00
|
|
|
LOCAL_APK_LIBRARIES:=
|
2014-03-26 06:45:34 +08:00
|
|
|
LOCAL_RES_LIBRARIES:=
|
2010-09-03 06:41:01 +08:00
|
|
|
LOCAL_MANIFEST_INSTRUMENTATION_FOR:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_AIDL_INCLUDES:=
|
|
|
|
LOCAL_JARJAR_RULES:=
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=
|
|
|
|
LOCAL_ALLOW_UNDEFINED_SYMBOLS:=
|
2016-03-29 09:39:42 +08:00
|
|
|
# full or incremental
|
|
|
|
LOCAL_JACK_ENABLED:=full
|
2014-09-08 20:45:14 +08:00
|
|
|
LOCAL_JACK_FLAGS:=
|
2016-04-07 00:18:47 +08:00
|
|
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER:=
|
|
|
|
LOCAL_JACK_COVERAGE_EXCLUDE_FILTER:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_CERTIFICATE:=
|
|
|
|
LOCAL_SDK_VERSION:=
|
2016-04-15 03:51:46 +08:00
|
|
|
LOCAL_MIN_SDK_VERSION:=
|
2011-09-19 08:34:29 +08:00
|
|
|
LOCAL_SDK_RES_VERSION:=
|
2011-03-04 10:53:53 +08:00
|
|
|
LOCAL_NDK_STL_VARIANT:=
|
2012-08-22 07:59:01 +08:00
|
|
|
LOCAL_EMMA_INSTRUMENT:=
|
2013-08-22 09:32:49 +08:00
|
|
|
LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled,obfuscation,optimization
|
2009-08-31 04:39:24 +08:00
|
|
|
LOCAL_PROGUARD_FLAGS:=
|
2014-09-08 20:45:14 +08:00
|
|
|
LOCAL_JACK_PROGUARD_FLAGS:=
|
2010-09-30 05:50:41 +08:00
|
|
|
LOCAL_PROGUARD_FLAG_FILES:=
|
2014-02-09 02:31:36 +08:00
|
|
|
LOCAL_TEST_MODULE_TO_PROGUARD_WITH:=
|
2010-03-11 07:48:03 +08:00
|
|
|
LOCAL_EMMA_COVERAGE_FILTER:=
|
2010-07-08 02:42:19 +08:00
|
|
|
LOCAL_WARNINGS_ENABLE:=
|
2012-04-13 01:20:53 +08:00
|
|
|
LOCAL_FULL_MANIFEST_FILE:=
|
2010-07-24 02:03:29 +08:00
|
|
|
LOCAL_MANIFEST_FILE:=
|
2014-02-06 10:24:45 +08:00
|
|
|
LOCAL_FULL_LIBS_MANIFEST_FILES:=
|
2010-09-02 04:28:52 +08:00
|
|
|
LOCAL_RENDERSCRIPT_INCLUDES:=
|
2011-08-24 13:01:49 +08:00
|
|
|
LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
|
2011-05-26 08:16:22 +08:00
|
|
|
LOCAL_RENDERSCRIPT_CC:=
|
2012-11-29 08:52:41 +08:00
|
|
|
LOCAL_RENDERSCRIPT_COMPATIBILITY:=
|
2011-12-07 10:43:24 +08:00
|
|
|
LOCAL_RENDERSCRIPT_FLAGS:=
|
2011-08-30 09:53:53 +08:00
|
|
|
LOCAL_RENDERSCRIPT_TARGET_API:=
|
2011-10-25 03:17:03 +08:00
|
|
|
LOCAL_DEX_PREOPT:= # '',true,false,nostripping
|
2014-05-14 04:57:28 +08:00
|
|
|
LOCAL_DEX_PREOPT_IMAGE_LOCATION:=
|
2014-10-08 09:07:23 +08:00
|
|
|
LOCAL_DEX_PREOPT_FLAGS:=
|
2014-06-26 10:48:51 +08:00
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full,nanopb-c,nanopb-c-enable_malloc
|
2010-11-06 02:30:58 +08:00
|
|
|
LOCAL_PROTOC_FLAGS:=
|
2013-07-26 03:28:19 +08:00
|
|
|
LOCAL_PROTO_JAVA_OUTPUT_PARAMS:=
|
2011-02-05 12:15:00 +08:00
|
|
|
LOCAL_NO_CRT:=
|
2015-07-03 02:05:27 +08:00
|
|
|
LOCAL_NO_LIBGCC:=
|
2011-09-14 04:57:26 +08:00
|
|
|
LOCAL_PROPRIETARY_MODULE:=
|
2014-03-12 08:13:27 +08:00
|
|
|
LOCAL_OEM_MODULE:=
|
Support to configure and build multiple custom images.
Build additional images requested by the product makefile.
This script gives the ability to build multiple additional images and
you can configure what modules/files to include in each image.
1. Define PRODUCT_CUSTOM_IMAGE_MAKEFILES in your product makefile.
PRODUCT_CUSTOM_IMAGE_MAKEFILES is a list of makefiles.
Each makefile configures an image.
For image configuration makefile foo/bar/xyz.mk, the built image
file name
will be xyz.img. So make sure they won't conflict.
2. In each image's configuration makefile, you can define variables:
- CUSTOM_IMAGE_MOUNT_POINT, the mount point, such as "oem", "odm"
etc.
- CUSTOM_IMAGE_PARTITION_SIZE
- CUSTOM_IMAGE_FILE_SYSTEM_TYPE
- CUSTOM_IMAGE_DICT_FILE, a text file defining a dictionary
accepted by BuildImage() in tools/releasetools/build_image.py.
- CUSTOM_IMAGE_MODULES, a list of module names you want to include
in the image; Not only the module itself will be installed to proper
path in the image, you can also piggyback additional files/directories
with the module's LOCAL_PICKUP_FILES.
- CUSTOM_IMAGE_COPY_FILES, a list of "<src>:<dest>" to be copied to
the image. <dest> is relativ to the root of the image.
To build all those images, run "make custom_images".
Bug: 19609718
Change-Id: Ic73587e08503a251be27797c7b00329716051927
2015-03-13 09:30:39 +08:00
|
|
|
LOCAL_ODM_MODULE:=
|
2013-05-09 06:49:08 +08:00
|
|
|
LOCAL_PRIVILEGED_MODULE:=
|
2011-12-10 07:11:57 +08:00
|
|
|
LOCAL_MODULE_OWNER:=
|
2011-12-13 15:54:49 +08:00
|
|
|
LOCAL_CTS_TEST_PACKAGE:=
|
2012-03-13 07:49:58 +08:00
|
|
|
LOCAL_CTS_TEST_RUNNER:=
|
2012-03-20 22:00:16 +08:00
|
|
|
LOCAL_CLANG:=
|
2012-06-20 01:40:37 +08:00
|
|
|
LOCAL_JAR_EXCLUDE_FILES:=
|
2013-07-18 11:29:51 +08:00
|
|
|
LOCAL_JAR_PACKAGES:=
|
2014-05-24 09:41:19 +08:00
|
|
|
LOCAL_JAR_EXCLUDE_PACKAGES:=
|
2012-07-20 05:38:43 +08:00
|
|
|
LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true
|
2012-08-31 03:59:42 +08:00
|
|
|
# Don't delete the META_INF dir when merging static Java libraries.
|
|
|
|
LOCAL_DONT_DELETE_JAR_META_INF:=
|
2012-11-14 02:55:28 +08:00
|
|
|
LOCAL_ADDITIONAL_CERTIFICATES:=
|
Build from source or prebuilt
With this change, you can easily switch between building from source
code and prebuilt.
Set LOCAL_PREBUILT_MODULE_FILE to the path of the prebuilt file,
relative to the top of the source tree, in the usual module definition.
The prebuilt will be used unless any of the followings satisfied:
1) ANDROID_BUILD_FROM_SOURCE is "true", which disable prebuilt globally;
2) The module name is in ANDROID_NO_PREBUILT_MODULES;
3) The LOCAL_PATH is prefixed by any of ANDROID_NO_PREBUILT_PATHS.
A developer can set ANDROID_NO_PREBUILT_MODULES or
ANDROID_NO_PREBUILT_PATHS to build only his own module(s) from source,
while build other modules from prebuilts.
You can set ANDROID_BUILD_FROM_SOURCE to true to build everything from
source.
Those variables can be set with shell environmental variable or in your
buildspec.mk.
Sometimes module B is able to be built from source only if module A is
also
built from source, for example, if B is the test apk of A.
In that case, you can use the macro include-if-build-from-source to
include B's Android.mk only if A is built from source too, or
if-build-from-source to conditionally include the definition of module
B,
if their module definitions are in the same Android.mk.
Support host-executable-hook and host-shared-library-hook.
Change-Id: Icab7cf028c87eaba0dd7efc2a7749fd6f32b44e4
2012-12-14 10:23:01 +08:00
|
|
|
LOCAL_PREBUILT_MODULE_FILE:=
|
2014-09-06 06:46:43 +08:00
|
|
|
LOCAL_POST_LINK_CMD:=
|
2013-02-07 03:44:41 +08:00
|
|
|
LOCAL_POST_INSTALL_CMD:=
|
2013-08-14 03:35:10 +08:00
|
|
|
LOCAL_HAL_STATIC_LIBRARIES:=
|
2013-08-15 07:59:00 +08:00
|
|
|
LOCAL_RMTYPEDEFS:=
|
2013-08-27 17:55:46 +08:00
|
|
|
LOCAL_NO_SYNTAX_CHECK:=
|
2013-09-10 17:37:14 +08:00
|
|
|
LOCAL_NO_STATIC_ANALYZER:=
|
2016-04-01 07:30:23 +08:00
|
|
|
LOCAL_TIDY:=
|
|
|
|
LOCAL_TIDY_CHECKS:=
|
|
|
|
LOCAL_TIDY_FLAGS:=
|
2014-01-30 10:20:01 +08:00
|
|
|
LOCAL_32_BIT_ONLY:= # '',true
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_MULTILIB:=
|
2014-02-07 06:45:37 +08:00
|
|
|
LOCAL_MODULE_TARGET_ARCH:=
|
|
|
|
LOCAL_MODULE_TARGET_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_MODULE_HOST_ARCH:=
|
2015-08-15 03:59:50 +08:00
|
|
|
LOCAL_MODULE_HOST_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_HOST_CROSS_ARCH:=
|
|
|
|
LOCAL_MODULE_HOST_CROSS_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH_WARN:=
|
2014-09-04 06:01:46 +08:00
|
|
|
LOCAL_NO_FPIE :=
|
2014-09-13 05:46:57 +08:00
|
|
|
LOCAL_CXX_STL := default
|
2014-09-20 05:25:57 +08:00
|
|
|
LOCAL_NATIVE_COVERAGE :=
|
2014-11-18 08:56:04 +08:00
|
|
|
LOCAL_DPI_VARIANTS:=
|
|
|
|
LOCAL_DPI_FILE_STEM:=
|
2014-12-12 10:56:26 +08:00
|
|
|
LOCAL_SANITIZE:=
|
2015-04-17 09:08:44 +08:00
|
|
|
LOCAL_SANITIZE_RECOVER:=
|
2016-05-13 04:07:17 +08:00
|
|
|
LOCAL_NOSANITIZE:=
|
2015-08-15 05:55:32 +08:00
|
|
|
LOCAL_DBUS_PROXY_PREFIX:=
|
2015-08-21 03:02:10 +08:00
|
|
|
LOCAL_INIT_RC:=
|
2016-07-15 07:02:57 +08:00
|
|
|
LOCAL_MODULE_SYMLINKS:=
|
2015-08-15 03:59:06 +08:00
|
|
|
LOCAL_MODULE_HOST_OS:=
|
2015-12-22 22:34:09 +08:00
|
|
|
LOCAL_NOTICE_FILE:=
|
2016-03-12 02:32:01 +08:00
|
|
|
# Used to replace the installed file of a presigned prebuilt apk in PDK fusion build,
|
|
|
|
# to avoid installing the presigned apks with classes.dex unstripped.
|
|
|
|
LOCAL_REPLACE_PREBUILT_APK_INSTALLED:=
|
2016-03-31 05:13:50 +08:00
|
|
|
LOCAL_NDK_VERSION:=current
|
2016-07-21 02:02:18 +08:00
|
|
|
LOCAL_COPY_TO_INTERMEDIATE_LIBRARIES:=
|
2016-06-02 06:27:11 +08:00
|
|
|
LOCAL_LOGTAGS_FILES:=
|
2016-07-26 07:03:53 +08:00
|
|
|
LOCAL_RECORDED_MODULE_TYPE:=
|
2009-03-04 11:28:42 +08:00
|
|
|
|
2014-01-24 07:09:04 +08:00
|
|
|
# arch specific variables
|
|
|
|
LOCAL_SRC_FILES_$(TARGET_ARCH):=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_CFLAGS_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(TARGET_ARCH):=
|
2014-02-13 13:15:12 +08:00
|
|
|
LOCAL_CPPFLAGS_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_CPPFLAGS_$(TARGET_ARCH):=
|
2014-01-28 02:27:19 +08:00
|
|
|
LOCAL_C_INCLUDES_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_ASFLAGS_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_LDFLAGS_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(TARGET_ARCH):=
|
2014-02-05 06:53:25 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(TARGET_ARCH):=
|
2014-06-25 11:01:52 +08:00
|
|
|
LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH):=
|
2016-03-02 12:14:52 +08:00
|
|
|
LOCAL_STRIP_MODULE_$(TARGET_ARCH):=
|
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
ifdef TARGET_2ND_ARCH
|
|
|
|
LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_CFLAGS_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(TARGET_2ND_ARCH):=
|
2014-02-13 13:15:12 +08:00
|
|
|
LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_CPPFLAGS_$(TARGET_2ND_ARCH):=
|
2014-01-28 02:27:19 +08:00
|
|
|
LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(TARGET_2ND_ARCH):=
|
2014-02-05 06:53:25 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(TARGET_2ND_ARCH):=
|
2014-06-25 11:01:52 +08:00
|
|
|
LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH):=
|
2016-03-02 12:14:52 +08:00
|
|
|
LOCAL_STRIP_MODULE_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
endif
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_SRC_FILES_$(HOST_ARCH):=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_CPPFLAGS_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_C_INCLUDES_$(HOST_ARCH):=
|
|
|
|
LOCAL_ASFLAGS_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
ifdef HOST_2ND_ARCH
|
|
|
|
LOCAL_SRC_FILES_$(HOST_2ND_ARCH):=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_CPPFLAGS_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_ASFLAGS_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
endif
|
2014-01-24 07:09:04 +08:00
|
|
|
|
2015-08-14 08:51:40 +08:00
|
|
|
LOCAL_SRC_FILES_$(HOST_OS):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_OS):=
|
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_OS):=
|
|
|
|
LOCAL_CFLAGS_$(HOST_OS):=
|
|
|
|
LOCAL_CPPFLAGS_$(HOST_OS):=
|
|
|
|
LOCAL_LDFLAGS_$(HOST_OS):=
|
|
|
|
LOCAL_LDLIBS_$(HOST_OS):=
|
|
|
|
LOCAL_ASFLAGS_$(HOST_OS):=
|
|
|
|
LOCAL_C_INCLUDES_$(HOST_OS):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_OS):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_OS):=
|
|
|
|
|
2015-08-15 03:59:50 +08:00
|
|
|
ifdef HOST_CROSS_OS
|
|
|
|
LOCAL_SRC_FILES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_CFLAGS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_CPPFLAGS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_LDFLAGS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_LDLIBS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_ASFLAGS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_C_INCLUDES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_CROSS_OS):=
|
|
|
|
endif
|
|
|
|
|
2015-08-19 08:47:06 +08:00
|
|
|
LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_ARCH):=
|
|
|
|
ifdef HOST_2ND_ARCH
|
|
|
|
LOCAL_SRC_FILES_$(HOST_OS)_$(HOST_2ND_ARCH):=
|
|
|
|
endif
|
2015-08-15 03:59:50 +08:00
|
|
|
ifdef HOST_CROSS_OS
|
|
|
|
LOCAL_SRC_FILES_$(HOST_CROSS_OS)_$(HOST_CROSS_ARCH):=
|
2016-02-06 08:20:19 +08:00
|
|
|
ifdef HOST_CROSS_2ND_ARCH
|
|
|
|
LOCAL_SRC_FILES_$(HOST_CROSS_OS)_$(HOST_CROSS_2ND_ARCH):=
|
|
|
|
endif
|
2015-08-15 03:59:50 +08:00
|
|
|
endif
|
2015-08-19 08:47:06 +08:00
|
|
|
|
2014-02-13 13:15:12 +08:00
|
|
|
LOCAL_SRC_FILES_32:=
|
|
|
|
LOCAL_SRC_FILES_64:=
|
2015-07-01 03:21:59 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_32:=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE_64:=
|
2014-02-13 13:15:12 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_32:=
|
|
|
|
LOCAL_SHARED_LIBRARIES_64:=
|
|
|
|
LOCAL_STATIC_LIBRARIES_32:=
|
|
|
|
LOCAL_STATIC_LIBRARIES_64:=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_32:=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_64:=
|
|
|
|
LOCAL_GENERATED_SOURCES_32:=
|
|
|
|
LOCAL_GENERATED_SOURCES_64:=
|
2014-01-30 09:46:37 +08:00
|
|
|
LOCAL_CFLAGS_32:=
|
|
|
|
LOCAL_CFLAGS_64:=
|
2014-02-13 13:15:12 +08:00
|
|
|
LOCAL_CPPFLAGS_32:=
|
|
|
|
LOCAL_CPPFLAGS_64:=
|
2014-01-30 09:46:37 +08:00
|
|
|
LOCAL_LDFLAGS_32:=
|
|
|
|
LOCAL_LDFLAGS_64:=
|
|
|
|
LOCAL_ASFLAGS_32:=
|
|
|
|
LOCAL_ASFLAGS_64:=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_32:=
|
|
|
|
LOCAL_CLANG_CFLAGS_64:=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_32:=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_64:=
|
|
|
|
LOCAL_CLANG_LDFLAGS_32:=
|
|
|
|
LOCAL_CLANG_LDFLAGS_64:=
|
|
|
|
LOCAL_CLANG_ASFLAGS_32:=
|
|
|
|
LOCAL_CLANG_ASFLAGS_64:=
|
2014-01-30 09:46:37 +08:00
|
|
|
LOCAL_C_INCLUDES_32:=
|
|
|
|
LOCAL_C_INCLUDES_64:=
|
2014-03-22 03:25:44 +08:00
|
|
|
LOCAL_MODULE_PATH_32:=
|
|
|
|
LOCAL_MODULE_PATH_64:=
|
2014-03-22 03:27:37 +08:00
|
|
|
LOCAL_MODULE_STEM_32:=
|
|
|
|
LOCAL_MODULE_STEM_64:=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_32:=
|
|
|
|
LOCAL_CLANG_64:=
|
2015-08-21 03:02:10 +08:00
|
|
|
LOCAL_INIT_RC_32:=
|
|
|
|
LOCAL_INIT_RC_64:=
|
2016-07-15 07:02:57 +08:00
|
|
|
LOCAL_MODULE_SYMLINKS_32:=
|
|
|
|
LOCAL_MODULE_SYMLINKS_64:=
|
2016-01-16 11:41:26 +08:00
|
|
|
LOCAL_JAVA_LANGUAGE_VERSION:=
|
2016-03-03 12:36:57 +08:00
|
|
|
LOCAL_CTS_GTEST_LIST_EXECUTABLE:=
|
2014-01-30 09:46:37 +08:00
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
# Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
|
|
|
|
# iterate over thousands of entries every time.
|
|
|
|
# Leave the current makefile to make sure we don't break anything
|
|
|
|
# that expects to be able to find the name of the current makefile.
|
|
|
|
MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST))
|