Collect all lsdump paths and write them to $(OUT_DIR).
$(OUT_DIR)/target/product/$(TARGET_DEVICE)/lsdump_paths.txt will contain all .lsdump paths relative to $(ANDROID_BUILD_TOP). This helps faster lookup while running scripts to generate reference dumps. Test: m -j findlsdumps for aosp_arm64_ab. $OUT_DIR/lsdump_paths/generic_arm64_ab/paths.txt has paths to lsdump files generated for the build. Test: m -j findlsdumps for aosp_arm_ab. $OUT_DIR/target/product/generic_arm_ab/lsump_paths.txt has paths to lsdump files generated for the build. Change-Id: Iab1640f57bf9d0af5e88e6dda64a610fedcbe87e
This commit is contained in:
parent
c187fdf751
commit
67e0cc5d63
2 changed files with 9 additions and 0 deletions
|
@ -3230,3 +3230,9 @@ include $(BUILD_SYSTEM)/product-graph.mk
|
|||
ifneq ($(sdk_repo_goal),)
|
||||
include $(TOPDIR)development/build/tools/sdk_repo.mk
|
||||
endif
|
||||
|
||||
#------------------------------------------------------------------
|
||||
# Find lsdump paths
|
||||
FIND_LSDUMPS_FILE := $(PRODUCT_OUT)/lsdump_paths.txt
|
||||
$(FIND_LSDUMPS_FILE) : $(LSDUMP_PATHS)
|
||||
$(hide) rm -rf $@ && echo "$^" > $@
|
||||
|
|
|
@ -1256,6 +1256,9 @@ endif # samplecode in $(MAKECMDGOALS)
|
|||
.PHONY: findbugs
|
||||
findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET)
|
||||
|
||||
.PHONY: findlsdumps
|
||||
findlsdumps: $(FIND_LSDUMPS_FILE)
|
||||
|
||||
#xxx scrape this from ALL_MODULE_NAME_TAGS
|
||||
.PHONY: modules
|
||||
modules:
|
||||
|
|
Loading…
Reference in a new issue