499333616c
Original aosp/2374663 was reverted, so this change cnotains the implementation but disabled by default and SBOM will not be built by default with "m dist". The feature will be enabled later in small CLs after running tests successfully in forrest. Test: m sbom Test: m dist Test: on aosp, lunch aosp_bluejay-userdebug && m dist Bug: 266726655 Change-Id: I926d0f97f3a0330ef61d059f12ea660005d370e6
11 lines
No EOL
452 B
Makefile
11 lines
No EOL
452 B
Makefile
# For SBOM generation
|
|
# This is included by base_rules.mk and is not necessary to be included in other .mk files
|
|
# unless a .mk file changes its installed file after including base_rules.mk.
|
|
|
|
ifdef my_register_name
|
|
ifneq (, $(strip $(ALL_MODULES.$(my_register_name).INSTALLED)))
|
|
$(foreach installed_file,$(ALL_MODULES.$(my_register_name).INSTALLED),\
|
|
$(eval ALL_INSTALLED_FILES.$(installed_file) := $(my_register_name))\
|
|
)
|
|
endif
|
|
endif |