Skip to content

Commit 63e7727

Browse files
muhomorrthestinger
authored andcommitted
add target for adevtool state collection build
1 parent ba112d9 commit 63e7727

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

core/Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5146,6 +5146,30 @@ INTERNAL_ALLIMAGES_FILES := \
51465146
$(INTERNAL_SYSTEM_DLKMIMAGE_FILES) \
51475147
$(INTERNAL_PVMFWIMAGE_FILES) \
51485148

5149+
define write-allimages-file-list
5150+
$(file >$(PRODUCT_OUT)/allimages-file-list.txt,$(sort $(INTERNAL_ALLIMAGES_FILES)))
5151+
endef
5152+
5153+
.PHONY: allimages-file-list
5154+
allimages-file-list: $(call write-allimages-file-list)
5155+
5156+
adevtool-state-collection-inputs: \
5157+
allimages-file-list \
5158+
build-props \
5159+
module-info \
5160+
selinux_policy \
5161+
\
5162+
framework_compatibility_matrix.xml \
5163+
system_compatibility_matrix.xml \
5164+
product_compatibility_matrix.xml \
5165+
vendor_compatibility_matrix.xml \
5166+
\
5167+
system_manifest.xml \
5168+
system_ext_manifest.xml \
5169+
vendor_manifest.xml \
5170+
5171+
.PHONY: adevtool-state-collection-inputs
5172+
51495173
# -----------------------------------------------------------------
51505174
# Run apex_sepolicy_tests for all installed APEXes
51515175

core/sysprop.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ ALL_INSTALLED_BUILD_PROP_FILES := \
273273
$(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET) \
274274
$(INSTALLED_RAMDISK_BUILD_PROP_TARGET)
275275

276+
.PHONY: build-props
277+
build-props: $(ALL_INSTALLED_BUILD_PROP_FILES)
278+
276279
# $1 installed file path, e.g. out/target/product/vsoc_x86_64/system/build.prop
277280
define is-build-prop
278281
$(if $(findstring $1,$(ALL_INSTALLED_BUILD_PROP_FILES)),Y)

0 commit comments

Comments
 (0)