dbb31be413
Bug: 5692177 If you set "PRODUCT_RESTRICT_VENDOR_FILES := true" in a product configuration, this changes restricts that: - No overlays in the vendor tree. - No PRODUCT_COPY_FILES coming from the vendor tree. - Any referenced package with Android.mk in the vendor tree must have LOCAL_MODULE_OWNER set to a value that's compared against a whitelist stored in the core build system. Change-Id: I172b84c7c853e9a04bf9879ea8dec90bd5054230
124 lines
3.4 KiB
Makefile
124 lines
3.4 KiB
Makefile
###########################################################
|
|
## Clear out values of all variables used by rule templates.
|
|
###########################################################
|
|
|
|
LOCAL_MODULE:=
|
|
LOCAL_MODULE_PATH:=
|
|
LOCAL_MODULE_STEM:=
|
|
LOCAL_DONT_CHECK_MODULE:=
|
|
LOCAL_CHECKED_MODULE:=
|
|
LOCAL_BUILT_MODULE:=
|
|
LOCAL_BUILT_MODULE_STEM:=
|
|
OVERRIDE_BUILT_MODULE_PATH:=
|
|
LOCAL_INSTALLED_MODULE:=
|
|
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:=
|
|
LOCAL_MANIFEST_PACKAGE_NAME:=
|
|
LOCAL_REQUIRED_MODULES:=
|
|
LOCAL_ACP_UNAVAILABLE:=
|
|
LOCAL_MODULE_TAGS:=
|
|
LOCAL_SRC_FILES:=
|
|
LOCAL_PREBUILT_OBJ_FILES:=
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=
|
|
LOCAL_STATIC_LIBRARIES:=
|
|
# Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking.
|
|
LOCAL_GROUP_STATIC_LIBRARIES:=
|
|
LOCAL_WHOLE_STATIC_LIBRARIES:=
|
|
LOCAL_SHARED_LIBRARIES:=
|
|
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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_COMPRESS_MODULE_SYMBOLS:=
|
|
LOCAL_STRIP_MODULE:=
|
|
LOCAL_POST_PROCESS_COMMAND:=true
|
|
LOCAL_JNI_SHARED_LIBRARIES:=
|
|
LOCAL_JNI_SHARED_LIBRARIES_ABI:=
|
|
LOCAL_JAR_MANIFEST:=
|
|
LOCAL_INSTRUMENTATION_FOR:=
|
|
LOCAL_MANIFEST_INSTRUMENTATION_FOR:=
|
|
LOCAL_AIDL_INCLUDES:=
|
|
LOCAL_JARJAR_RULES:=
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=
|
|
LOCAL_ALLOW_UNDEFINED_SYMBOLS:=
|
|
LOCAL_DX_FLAGS:=
|
|
LOCAL_CERTIFICATE:=
|
|
LOCAL_SDK_VERSION:=
|
|
LOCAL_SDK_RES_VERSION:=
|
|
LOCAL_NDK_VERSION:=
|
|
LOCAL_NDK_STL_VARIANT:=
|
|
LOCAL_NO_EMMA_INSTRUMENT:=
|
|
LOCAL_NO_EMMA_COMPILE:=
|
|
LOCAL_PROGUARD_ENABLED:= # '',optonly,full,custom,disabled
|
|
LOCAL_PROGUARD_FLAGS:=
|
|
LOCAL_PROGUARD_FLAG_FILES:=
|
|
LOCAL_EMMA_COVERAGE_FILTER:=
|
|
LOCAL_WARNINGS_ENABLE:=
|
|
LOCAL_MANIFEST_FILE:=
|
|
LOCAL_RENDERSCRIPT_INCLUDES:=
|
|
LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
|
|
LOCAL_RENDERSCRIPT_CC:=
|
|
LOCAL_RENDERSCRIPT_FLAGS:=
|
|
LOCAL_RENDERSCRIPT_TARGET_API:=
|
|
LOCAL_BUILD_HOST_DEX:=
|
|
LOCAL_DEX_PREOPT:= # '',true,false,nostripping
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,full
|
|
LOCAL_PROTOC_FLAGS:=
|
|
LOCAL_NO_CRT:=
|
|
LOCAL_PROPRIETARY_MODULE:=
|
|
LOCAL_MODULE_OWNER:=
|
|
|
|
# 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))
|