2009-03-04 11:28:42 +08:00
|
|
|
###########################################################
|
|
|
|
## Clear out values of all variables used by rule templates.
|
|
|
|
###########################################################
|
|
|
|
|
2017-03-24 07:12:19 +08:00
|
|
|
# '',true
|
|
|
|
LOCAL_32_BIT_ONLY:=
|
2017-11-18 07:39:52 +08:00
|
|
|
LOCAL_AAPT2_ONLY:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_AAPT_FLAGS:=
|
|
|
|
LOCAL_AAPT_INCLUDE_ALL_RESOURCES:=
|
2017-08-17 06:52:53 +08:00
|
|
|
LOCAL_AAPT_NAMESPACES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ADDITIONAL_CERTIFICATES:=
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=
|
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=
|
|
|
|
LOCAL_AIDL_INCLUDES:=
|
|
|
|
LOCAL_ALLOW_UNDEFINED_SYMBOLS:=
|
2017-04-08 07:28:41 +08:00
|
|
|
LOCAL_ANNOTATION_PROCESSORS:=
|
|
|
|
LOCAL_ANNOTATION_PROCESSOR_CLASSES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_APK_LIBRARIES:=
|
|
|
|
LOCAL_ARM_MODE:=
|
|
|
|
LOCAL_ASFLAGS:=
|
|
|
|
LOCAL_ASSET_DIR:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_BUILT_MODULE:=
|
|
|
|
LOCAL_BUILT_MODULE_STEM:=
|
|
|
|
LOCAL_CC:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CERTIFICATE:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_CFLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CHECKED_MODULE:=
|
|
|
|
LOCAL_C_INCLUDES:=
|
|
|
|
LOCAL_CLANG:=
|
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:=
|
|
|
|
LOCAL_CLANG_LDFLAGS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_CLASSPATH:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_COMPATIBILITY_SUITE:=
|
|
|
|
LOCAL_COMPATIBILITY_SUPPORT_FILES:=
|
2017-08-07 19:31:17 +08:00
|
|
|
LOCAL_COMPRESSED_MODULE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CONLYFLAGS:=
|
|
|
|
LOCAL_COPY_HEADERS:=
|
|
|
|
LOCAL_COPY_HEADERS_TO:=
|
|
|
|
LOCAL_COPY_TO_INTERMEDIATE_LIBRARIES:=
|
|
|
|
LOCAL_CPP_EXTENSION:=
|
|
|
|
LOCAL_CPPFLAGS:=
|
2017-02-10 06:28:22 +08:00
|
|
|
LOCAL_CPP_STD:=
|
|
|
|
LOCAL_C_STD:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CTS_TEST_PACKAGE:=
|
|
|
|
LOCAL_CTS_TEST_RUNNER:=
|
|
|
|
LOCAL_CXX:=
|
|
|
|
LOCAL_CXX_STL := default
|
|
|
|
LOCAL_DATA_BINDING:=
|
2017-03-01 03:17:32 +08:00
|
|
|
LOCAL_DEX_PREOPT_APP_IMAGE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DEX_PREOPT_FLAGS:=
|
2017-03-01 03:17:32 +08:00
|
|
|
LOCAL_DEX_PREOPT_GENERATE_PROFILE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DEX_PREOPT_IMAGE_LOCATION:=
|
2017-03-01 03:17:32 +08:00
|
|
|
LOCAL_DEX_PREOPT_PROFILE_CLASS_LISTING:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DEX_PREOPT:= # '',true,false,nostripping
|
2018-01-09 06:16:51 +08:00
|
|
|
LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG:=
|
2018-02-22 00:44:57 +08:00
|
|
|
LOCAL_DISABLE_RESOLVE_SUPPORT_LIBRARIES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DONT_CHECK_MODULE:=
|
|
|
|
# Don't delete the META_INF dir when merging static Java libraries.
|
|
|
|
LOCAL_DONT_DELETE_JAR_META_INF:=
|
2018-06-13 04:43:10 +08:00
|
|
|
LOCAL_DONT_MERGE_MANIFESTS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DPI_FILE_STEM:=
|
|
|
|
LOCAL_DPI_VARIANTS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_DROIDDOC_ASSET_DIR:=
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DROIDDOC_OPTIONS:=
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=
|
2015-07-17 05:21:37 +08:00
|
|
|
LOCAL_DROIDDOC_STUB_OUT_DIR:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_DROIDDOC_TEMPLATE_DIR:=
|
|
|
|
LOCAL_DROIDDOC_USE_STANDARD_DOCLET:=
|
2016-12-22 06:29:13 +08:00
|
|
|
LOCAL_DX_FLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_EMMA_COVERAGE_FILTER:=
|
|
|
|
LOCAL_EMMA_INSTRUMENT:=
|
2018-03-24 12:57:02 +08:00
|
|
|
LOCAL_ENFORCE_USES_LIBRARIES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ERROR_PRONE_FLAGS:=
|
2017-03-20 04:22:45 +08:00
|
|
|
LOCAL_EXPORT_CFLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDE_DEPS:=
|
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS:=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_EXPORT_HEADER_LIBRARY_HEADERS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_EXPORT_PACKAGE_RESOURCES:=
|
2017-11-18 05:11:26 +08:00
|
|
|
LOCAL_EXPORT_PROGUARD_FLAG_FILES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS:=
|
|
|
|
LOCAL_EXPORT_STATIC_LIBRARY_HEADERS:=
|
|
|
|
LOCAL_EXTRACT_APK:=
|
|
|
|
LOCAL_EXTRACT_DPI_APK:=
|
|
|
|
LOCAL_FDO_SUPPORT:=
|
|
|
|
LOCAL_FINDBUGS_FLAGS:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_FULL_LIBS_MANIFEST_FILES:=
|
|
|
|
LOCAL_FULL_MANIFEST_FILE:=
|
2017-04-12 07:36:46 +08:00
|
|
|
LOCAL_FULL_CLASSES_JACOCO_JAR:=
|
|
|
|
LOCAL_FULL_CLASSES_PRE_JACOCO_JAR:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_GCNO_FILES:=
|
|
|
|
LOCAL_GENERATED_SOURCES:=
|
|
|
|
# Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking.
|
|
|
|
LOCAL_GROUP_STATIC_LIBRARIES:=
|
2016-12-22 12:27:06 +08:00
|
|
|
LOCAL_GTEST:=true
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_HAL_STATIC_LIBRARIES:=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES:=
|
2018-02-02 11:48:59 +08:00
|
|
|
LOCAL_HOST_REQUIRED_MODULES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_INIT_RC:=
|
|
|
|
LOCAL_INSTALLED_MODULE:=
|
|
|
|
LOCAL_INSTALLED_MODULE_STEM:=
|
2009-03-04 11:28:42 +08:00
|
|
|
LOCAL_INSTRUMENTATION_FOR:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_INTERMEDIATE_SOURCE_DIR:=
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=
|
|
|
|
LOCAL_INTERMEDIATE_TARGETS:=
|
|
|
|
LOCAL_IS_HOST_MODULE:=
|
|
|
|
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY:=
|
|
|
|
LOCAL_JACK_CLASSPATH:=
|
|
|
|
LOCAL_JACK_COVERAGE_EXCLUDE_FILTER:=
|
|
|
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER:=
|
2017-04-28 04:34:02 +08:00
|
|
|
# '' (ie disabled), disabled, full, incremental, javac_frontend
|
2017-03-24 07:12:19 +08:00
|
|
|
LOCAL_JACK_ENABLED:=$(DEFAULT_JACK_ENABLED)
|
2014-09-08 20:45:14 +08:00
|
|
|
LOCAL_JACK_FLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_JACK_PLUGIN:=
|
|
|
|
LOCAL_JACK_PLUGIN_PATH:=
|
2014-09-08 20:45:14 +08:00
|
|
|
LOCAL_JACK_PROGUARD_FLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_JAR_EXCLUDE_FILES:=
|
|
|
|
LOCAL_JAR_EXCLUDE_PACKAGES:=
|
|
|
|
LOCAL_JARJAR_RULES:=
|
|
|
|
LOCAL_JAR_MANIFEST:=
|
|
|
|
LOCAL_JAR_PACKAGES:=
|
2017-05-23 07:21:49 +08:00
|
|
|
LOCAL_JAR_PROCESSOR:=
|
|
|
|
LOCAL_JAR_PROCESSOR_ARGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_JAVACFLAGS:=
|
|
|
|
LOCAL_JAVA_LANGUAGE_VERSION:=
|
|
|
|
LOCAL_JAVA_LAYERS_FILE:=
|
|
|
|
LOCAL_JAVA_LIBRARIES:=
|
|
|
|
LOCAL_JAVA_RESOURCE_DIRS:=
|
|
|
|
LOCAL_JAVA_RESOURCE_FILES:=
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES:=
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES_ABI:=
|
|
|
|
LOCAL_LDFLAGS:=
|
|
|
|
LOCAL_LDLIBS:=
|
|
|
|
LOCAL_LOGTAGS_FILES:=
|
2010-07-24 02:03:29 +08:00
|
|
|
LOCAL_MANIFEST_FILE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_MANIFEST_INSTRUMENTATION_FOR:=
|
|
|
|
LOCAL_MANIFEST_PACKAGE_NAME:=
|
|
|
|
LOCAL_MIN_SDK_VERSION:=
|
|
|
|
LOCAL_MODULE:=
|
|
|
|
LOCAL_MODULE_CLASS:=
|
|
|
|
LOCAL_MODULE_HOST_ARCH:=
|
|
|
|
LOCAL_MODULE_HOST_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_HOST_CROSS_ARCH:=
|
|
|
|
LOCAL_MODULE_HOST_CROSS_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_HOST_OS:=
|
|
|
|
LOCAL_MODULE_OWNER:=
|
|
|
|
LOCAL_MODULE_PATH:=
|
|
|
|
LOCAL_MODULE_RELATIVE_PATH :=
|
|
|
|
LOCAL_MODULE_STEM:=
|
|
|
|
LOCAL_MODULE_SUFFIX:=
|
|
|
|
LOCAL_MODULE_SYMLINKS:=
|
|
|
|
LOCAL_MODULE_TAGS:=
|
|
|
|
LOCAL_MODULE_TARGET_ARCH:=
|
|
|
|
LOCAL_MODULE_TARGET_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_HOST_CROSS_ARCH_WARN:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:=
|
|
|
|
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH_WARN:=
|
|
|
|
LOCAL_MULTILIB:=
|
2018-04-19 01:51:58 +08:00
|
|
|
LOCAL_NATIVE_BENCHMARK:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_NDK_STL_VARIANT:=
|
|
|
|
LOCAL_NDK_VERSION:=current
|
2011-02-05 12:15:00 +08:00
|
|
|
LOCAL_NO_CRT:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
|
|
|
|
LOCAL_NO_FPIE :=
|
2016-08-02 08:38:35 +08:00
|
|
|
LOCAL_NO_LIBCOMPILER_RT:=
|
2015-07-03 02:05:27 +08:00
|
|
|
LOCAL_NO_LIBGCC:=
|
2017-04-04 07:06:00 +08:00
|
|
|
LOCAL_NO_NOTICE_FILE:=
|
2016-08-02 08:36:39 +08:00
|
|
|
LOCAL_NO_PIC:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_NOSANITIZE:=
|
|
|
|
LOCAL_NO_STANDARD_LIBRARIES:=
|
|
|
|
LOCAL_NO_STATIC_ANALYZER:=
|
|
|
|
LOCAL_NOTICE_FILE:=
|
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:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_OEM_MODULE:=
|
2018-03-24 12:57:02 +08:00
|
|
|
LOCAL_OPTIONAL_USES_LIBRARIES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_OVERRIDES_PACKAGES:=
|
2017-03-24 18:31:49 +08:00
|
|
|
LOCAL_OVERRIDES_MODULES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PACKAGE_NAME:=
|
|
|
|
LOCAL_PACKAGE_SPLITS:=
|
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS:=
|
2018-01-10 04:33:08 +08:00
|
|
|
LOCAL_PATCH_MODULE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PICKUP_FILES:=
|
2013-02-07 03:44:41 +08:00
|
|
|
LOCAL_POST_INSTALL_CMD:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_POST_LINK_CMD:=
|
2017-02-10 16:07:17 +08:00
|
|
|
LOCAL_PREBUILT_COVERAGE_ARCHIVE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PREBUILT_EXECUTABLES:=
|
|
|
|
LOCAL_PREBUILT_JAVA_LIBRARIES:=
|
|
|
|
LOCAL_PREBUILT_JNI_LIBS:=
|
|
|
|
LOCAL_PREBUILT_LIBS:=
|
|
|
|
LOCAL_PREBUILT_MODULE_FILE:=
|
|
|
|
LOCAL_PREBUILT_OBJ_FILES:=
|
|
|
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:=
|
|
|
|
LOCAL_PREBUILT_STRIP_COMMENTS:=
|
2018-04-14 05:39:53 +08:00
|
|
|
LOCAL_PRESUBMIT_DISABLED:=
|
2018-02-21 23:29:44 +08:00
|
|
|
LOCAL_PRIVATE_PLATFORM_APIS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PRIVILEGED_MODULE:=
|
2017-12-29 01:43:41 +08:00
|
|
|
# '',full,custom,disabled,obfuscation,optimization
|
2017-11-27 16:04:47 +08:00
|
|
|
LOCAL_PRODUCT_MODULE:=
|
2017-03-24 07:12:19 +08:00
|
|
|
LOCAL_PROGUARD_ENABLED:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PROGUARD_FLAG_FILES:=
|
|
|
|
LOCAL_PROGUARD_FLAGS:=
|
|
|
|
LOCAL_PROPRIETARY_MODULE:=
|
|
|
|
LOCAL_PROTOC_FLAGS:=
|
2017-03-24 07:12:19 +08:00
|
|
|
# lite(default),micro,nano,stream,full,nanopb-c,nanopb-c-enable_malloc
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_PROTO_JAVA_OUTPUT_PARAMS:=
|
2017-10-12 22:09:13 +08:00
|
|
|
LOCAL_R8_FLAG_FILES:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_RECORDED_MODULE_TYPE:=
|
|
|
|
LOCAL_RENDERSCRIPT_CC:=
|
|
|
|
LOCAL_RENDERSCRIPT_COMPATIBILITY:=
|
|
|
|
LOCAL_RENDERSCRIPT_FLAGS:=
|
|
|
|
LOCAL_RENDERSCRIPT_INCLUDES:=
|
|
|
|
LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
|
|
|
|
LOCAL_RENDERSCRIPT_TARGET_API:=
|
|
|
|
# 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:=
|
|
|
|
LOCAL_REQUIRED_MODULES:=
|
|
|
|
LOCAL_RES_LIBRARIES:=
|
|
|
|
LOCAL_RESOURCE_DIR:=
|
2013-08-15 07:59:00 +08:00
|
|
|
LOCAL_RMTYPEDEFS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_RRO_THEME:=
|
|
|
|
LOCAL_RTTI_FLAG:=
|
|
|
|
LOCAL_SANITIZE:=
|
|
|
|
LOCAL_SANITIZE_DIAG:=
|
|
|
|
LOCAL_SANITIZE_RECOVER:=
|
2017-06-29 00:11:26 +08:00
|
|
|
LOCAL_SANITIZE_BLACKLIST :=
|
2018-04-12 23:17:55 +08:00
|
|
|
LOCAL_SDK_LIBRARIES :=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SDK_RES_VERSION:=
|
|
|
|
LOCAL_SDK_VERSION:=
|
|
|
|
LOCAL_SHARED_ANDROID_LIBRARIES:=
|
|
|
|
LOCAL_SHARED_LIBRARIES:=
|
2017-12-15 05:19:46 +08:00
|
|
|
LOCAL_SOONG_CLASSES_JAR :=
|
2017-11-23 08:04:55 +08:00
|
|
|
LOCAL_SOONG_DEX_JAR :=
|
2018-02-21 09:21:36 +08:00
|
|
|
LOCAL_SOONG_EXPORT_PROGUARD_FLAGS :=
|
2017-12-15 05:19:46 +08:00
|
|
|
LOCAL_SOONG_HEADER_JAR :=
|
2017-11-23 08:04:55 +08:00
|
|
|
LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=
|
2017-12-28 11:46:02 +08:00
|
|
|
LOCAL_SOONG_PROGUARD_DICT :=
|
2017-12-01 12:11:22 +08:00
|
|
|
LOCAL_SOONG_RESOURCE_EXPORT_PACKAGE :=
|
|
|
|
LOCAL_SOONG_RRO_DIRS :=
|
2018-05-03 03:52:43 +08:00
|
|
|
LOCAL_SOONG_STATIC_LIBRARY_EXTRA_PACKAGES :=
|
2018-03-10 04:39:34 +08:00
|
|
|
LOCAL_DROIDDOC_STUBS_SRCJAR :=
|
2018-01-11 03:40:14 +08:00
|
|
|
LOCAL_DROIDDOC_DOC_ZIP :=
|
2017-03-24 07:12:19 +08:00
|
|
|
# '',true
|
|
|
|
LOCAL_SOURCE_FILES_ALL_GENERATED:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SRC_FILES:=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE:=
|
2017-11-23 08:04:11 +08:00
|
|
|
LOCAL_SRCJARS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES:=
|
|
|
|
LOCAL_STATIC_JAVA_AAR_LIBRARIES:=
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=
|
|
|
|
LOCAL_STATIC_LIBRARIES:=
|
|
|
|
LOCAL_STRIP_MODULE:=
|
|
|
|
LOCAL_SYSTEM_SHARED_LIBRARIES:=none
|
2017-08-30 10:31:48 +08:00
|
|
|
LOCAL_TARGET_REQUIRED_MODULES:=
|
2017-11-14 05:38:17 +08:00
|
|
|
LOCAL_TEST_CONFIG_OPTIONS:=
|
2016-12-10 08:05:09 +08:00
|
|
|
LOCAL_TEST_DATA:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_TEST_MODULE_TO_PROGUARD_WITH:=
|
2016-04-01 07:30:23 +08:00
|
|
|
LOCAL_TIDY:=
|
|
|
|
LOCAL_TIDY_CHECKS:=
|
|
|
|
LOCAL_TIDY_FLAGS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_UNINSTALLABLE_MODULE:=
|
|
|
|
LOCAL_UNSTRIPPED_PATH:=
|
2016-02-25 06:11:55 +08:00
|
|
|
LOCAL_USE_AAPT2:=$(USE_AAPT2)
|
2018-04-13 01:55:54 +08:00
|
|
|
LOCAL_USE_CLANG_LLD:=
|
2018-03-15 00:56:04 +08:00
|
|
|
LOCAL_USE_R8:=
|
2016-11-19 06:05:39 +08:00
|
|
|
LOCAL_USE_VNDK:=
|
2018-03-24 12:57:02 +08:00
|
|
|
LOCAL_USES_LIBRARIES:=
|
2017-03-21 09:31:17 +08:00
|
|
|
LOCAL_VENDOR_MODULE:=
|
2018-04-05 06:41:05 +08:00
|
|
|
LOCAL_VINTF_FRAGMENTS:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_VTSC_FLAGS:=
|
|
|
|
LOCAL_VTS_INCLUDES:=
|
|
|
|
LOCAL_VTS_MODE:=
|
|
|
|
LOCAL_WARNINGS_ENABLE:=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES:=
|
|
|
|
LOCAL_YACCFLAGS:=
|
|
|
|
OVERRIDE_BUILT_MODULE_PATH:=
|
2009-03-04 11:28:42 +08:00
|
|
|
|
2014-01-24 07:09:04 +08:00
|
|
|
# arch specific variables
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_CFLAGS_$(TARGET_ARCH):=
|
2014-01-28 02:27:19 +08:00
|
|
|
LOCAL_C_INCLUDES_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(TARGET_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(TARGET_ARCH):=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_$(TARGET_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(TARGET_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(TARGET_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CPPFLAGS_$(TARGET_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(TARGET_ARCH):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(TARGET_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_LDFLAGS_$(TARGET_ARCH):=
|
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_ARCH):=
|
2014-06-25 11:01:52 +08:00
|
|
|
LOCAL_PREBUILT_JNI_LIBS_$(TARGET_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_REQUIRED_MODULES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_SHARED_LIBRARIES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(TARGET_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_$(TARGET_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(TARGET_ARCH):=
|
2016-03-02 12:14:52 +08:00
|
|
|
LOCAL_STRIP_MODULE_$(TARGET_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
ifdef TARGET_2ND_ARCH
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
LOCAL_CFLAGS_$(TARGET_2ND_ARCH):=
|
2014-01-28 02:27:19 +08:00
|
|
|
LOCAL_C_INCLUDES_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(TARGET_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_$(TARGET_2ND_ARCH):=
|
2014-09-27 08:13:48 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(TARGET_2ND_ARCH):=
|
2014-05-28 04:03:36 +08:00
|
|
|
LOCAL_CLANG_$(TARGET_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CPPFLAGS_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(TARGET_2ND_ARCH):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(TARGET_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_LDFLAGS_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_PACK_MODULE_RELOCATIONS_$(TARGET_2ND_ARCH):=
|
2014-06-25 11:01:52 +08:00
|
|
|
LOCAL_PREBUILT_JNI_LIBS_$(TARGET_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_REQUIRED_MODULES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_SHARED_LIBRARIES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_$(TARGET_2ND_ARCH):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
|
2016-03-02 12:14:52 +08:00
|
|
|
LOCAL_STRIP_MODULE_$(TARGET_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(TARGET_2ND_ARCH):=
|
2014-01-24 07:09:04 +08:00
|
|
|
endif
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_ARCH):=
|
|
|
|
LOCAL_C_INCLUDES_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(HOST_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(HOST_ARCH):=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_$(HOST_ARCH):=
|
|
|
|
LOCAL_CLANG_$(HOST_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(HOST_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_ARCH):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(HOST_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(HOST_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_$(HOST_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_ARCH):=
|
|
|
|
ifdef HOST_2ND_ARCH
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_C_INCLUDES_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_ASFLAGS_$(HOST_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CLANG_CFLAGS_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_CLANG_CPPFLAGS_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_CLANG_$(HOST_2ND_ARCH):=
|
2014-10-01 05:23:14 +08:00
|
|
|
LOCAL_CLANG_LDFLAGS_$(HOST_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_2ND_ARCH):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(HOST_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_2ND_ARCH):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SRC_FILES_EXCLUDE_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_SRC_FILES_$(HOST_2ND_ARCH):=
|
2014-04-18 01:03:35 +08:00
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_$(HOST_2ND_ARCH):=
|
|
|
|
endif
|
2014-01-24 07:09:04 +08:00
|
|
|
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(HOST_OS):=
|
2015-08-14 08:51:40 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_C_INCLUDES_$(HOST_OS):=
|
2015-08-14 08:51:40 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_OS):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(HOST_OS):=
|
2015-08-14 08:51:40 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_OS):=
|
|
|
|
LOCAL_LDLIBS_$(HOST_OS):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_OS):=
|
|
|
|
LOCAL_SRC_FILES_$(HOST_OS):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_OS):=
|
2015-08-14 08:51:40 +08:00
|
|
|
|
2015-08-15 03:59:50 +08:00
|
|
|
ifdef HOST_CROSS_OS
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_ASFLAGS_$(HOST_CROSS_OS):=
|
2015-08-15 03:59:50 +08:00
|
|
|
LOCAL_CFLAGS_$(HOST_CROSS_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_C_INCLUDES_$(HOST_CROSS_OS):=
|
2015-08-15 03:59:50 +08:00
|
|
|
LOCAL_CPPFLAGS_$(HOST_CROSS_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_GENERATED_SOURCES_$(HOST_CROSS_OS):=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_$(HOST_CROSS_OS):=
|
2015-08-15 03:59:50 +08:00
|
|
|
LOCAL_LDFLAGS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_LDLIBS_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_REQUIRED_MODULES_$(HOST_CROSS_OS):=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_SRC_FILES_$(HOST_CROSS_OS):=
|
|
|
|
LOCAL_STATIC_LIBRARIES_$(HOST_CROSS_OS):=
|
2015-08-15 03:59:50 +08:00
|
|
|
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-01-30 09:46:37 +08:00
|
|
|
LOCAL_ASFLAGS_32:=
|
|
|
|
LOCAL_ASFLAGS_64:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CFLAGS_32:=
|
|
|
|
LOCAL_CFLAGS_64:=
|
|
|
|
LOCAL_C_INCLUDES_32:=
|
|
|
|
LOCAL_C_INCLUDES_64:=
|
|
|
|
LOCAL_CLANG_32:=
|
|
|
|
LOCAL_CLANG_64:=
|
|
|
|
LOCAL_CLANG_ASFLAGS_32:=
|
|
|
|
LOCAL_CLANG_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:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_CPPFLAGS_32:=
|
|
|
|
LOCAL_CPPFLAGS_64:=
|
|
|
|
LOCAL_GENERATED_SOURCES_32:=
|
|
|
|
LOCAL_GENERATED_SOURCES_64:=
|
2017-02-16 07:48:11 +08:00
|
|
|
LOCAL_HEADER_LIBRARIES_32:=
|
|
|
|
LOCAL_HEADER_LIBRARIES_64:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_INIT_RC_32:=
|
|
|
|
LOCAL_INIT_RC_64:=
|
|
|
|
LOCAL_LDFLAGS_32:=
|
|
|
|
LOCAL_LDFLAGS_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:=
|
2016-07-15 07:02:57 +08:00
|
|
|
LOCAL_MODULE_SYMLINKS_32:=
|
|
|
|
LOCAL_MODULE_SYMLINKS_64:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES_32:=
|
|
|
|
LOCAL_SHARED_LIBRARIES_64:=
|
|
|
|
LOCAL_SRC_FILES_32:=
|
|
|
|
LOCAL_SRC_FILES_64:=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE_32:=
|
|
|
|
LOCAL_SRC_FILES_EXCLUDE_64:=
|
|
|
|
LOCAL_STATIC_LIBRARIES_32:=
|
|
|
|
LOCAL_STATIC_LIBRARIES_64:=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_32:=
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES_64:=
|
2014-01-30 09:46:37 +08:00
|
|
|
|
2018-01-28 18:40:51 +08:00
|
|
|
# Robolectric variables
|
|
|
|
LOCAL_INSTRUMENT_SOURCE_DIRS :=
|
|
|
|
LOCAL_ROBOTEST_FAILURE_FATAL :=
|
|
|
|
LOCAL_ROBOTEST_FILES :=
|
|
|
|
LOCAL_ROBOTEST_TIMEOUT :=
|
|
|
|
LOCAL_TEST_PACKAGE :=
|
|
|
|
|
2016-12-13 08:52:57 +08:00
|
|
|
# Aux specific variables
|
2016-08-02 08:41:49 +08:00
|
|
|
LOCAL_AUX_ARCH :=
|
|
|
|
LOCAL_AUX_CPU :=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_AUX_OS :=
|
2016-08-02 08:41:49 +08:00
|
|
|
LOCAL_AUX_OS_VARIANT :=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_AUX_SUBARCH :=
|
|
|
|
LOCAL_AUX_TOOLCHAIN :=
|
2016-08-02 08:41:49 +08:00
|
|
|
LOCAL_CUSTOM_BUILD_STEP_INPUT:=
|
|
|
|
LOCAL_CUSTOM_BUILD_STEP_OUTPUT:=
|
2016-12-13 08:52:57 +08:00
|
|
|
LOCAL_IS_AUX_MODULE :=
|
2016-08-02 08:41:49 +08:00
|
|
|
|
2018-05-18 03:49:08 +08:00
|
|
|
full_android_manifest :=
|
|
|
|
|
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))
|