Merge "Record ALL_DEPS by default." am: 372d74a8c9
Original change: https://android-review.googlesource.com/c/platform/build/+/1878199 Change-Id: Ib9fabe5af8c027845c4c3d01e4670f1260083661
This commit is contained in:
@@ -1068,7 +1068,7 @@ INSTALLABLE_FILES.$(LOCAL_INSTALLED_MODULE).MODULE := $(my_register_name)
|
||||
##########################################################
|
||||
# Track module-level dependencies.
|
||||
# Use $(LOCAL_MODULE) instead of $(my_register_name) to ignore module's bitness.
|
||||
ifdef RECORD_ALL_DEPS
|
||||
# (b/204397180) Unlock RECORD_ALL_DEPS was acknowledged reasonable for better Atest performance.
|
||||
ALL_DEPS.MODULES += $(LOCAL_MODULE)
|
||||
ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS := $(sort \
|
||||
$(ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS) \
|
||||
@@ -1085,7 +1085,6 @@ ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS := $(sort \
|
||||
|
||||
license_files := $(call find-parent-file,$(LOCAL_PATH),MODULE_LICENSE*)
|
||||
ALL_DEPS.$(LOCAL_MODULE).LICENSE := $(sort $(ALL_DEPS.$(LOCAL_MODULE).LICENSE) $(license_files))
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
## Take care of my_module_tags
|
||||
|
@@ -1223,7 +1223,4 @@ endif
|
||||
DEFAULT_DATA_OUT_MODULES := ltp $(ltp_packages) $(kselftest_modules)
|
||||
.KATI_READONLY := DEFAULT_DATA_OUT_MODULES
|
||||
|
||||
# Make RECORD_ALL_DEPS readonly.
|
||||
RECORD_ALL_DEPS :=$= $(filter true,$(RECORD_ALL_DEPS))
|
||||
|
||||
include $(BUILD_SYSTEM)/dumpvar.mk
|
||||
|
@@ -378,9 +378,8 @@ else # LOCAL_IS_HOST_MODULE
|
||||
endif # USE_CORE_LIB_BOOTCLASSPATH
|
||||
endif # !LOCAL_IS_HOST_MODULE
|
||||
|
||||
ifdef RECORD_ALL_DEPS
|
||||
# (b/204397180) Record ALL_DEPS by default.
|
||||
ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS := $(ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS) $(full_java_bootclasspath_libs)
|
||||
endif
|
||||
|
||||
# Export the SDK libs. The sdk library names listed in LOCAL_SDK_LIBRARIES are first exported.
|
||||
# Then sdk library names exported from dependencies are all re-exported.
|
||||
|
Reference in New Issue
Block a user