Merge "Revert "Revert "Copy SBOM to dist directory when running "m dist".""" am: 2e8993e882
am: e7937f2c3b
am: 82bf15a96d
Original change: https://android-review.googlesource.com/c/platform/build/+/2525828 Change-Id: I3bbd10804b31aeccf1d1d386bb9c829d0b8cc27e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
cbeaa85076
1 changed files with 1 additions and 0 deletions
|
@ -2194,6 +2194,7 @@ $(PRODUCT_OUT)/sbom.spdx: $(PRODUCT_OUT)/sbom-metadata.csv $(GEN_SBOM)
|
|||
rm -rf $@
|
||||
$(GEN_SBOM) --output_file $@ --metadata $(PRODUCT_OUT)/sbom-metadata.csv --product_out_dir=$(PRODUCT_OUT) --build_version $(BUILD_FINGERPRINT_FROM_FILE) --product_mfr="$(PRODUCT_MANUFACTURER)" --json
|
||||
|
||||
$(call dist-for-goals,droid,$(PRODUCT_OUT)/sbom.spdx.json)
|
||||
else
|
||||
apps_only_sbom_files := $(sort $(patsubst %,%.spdx,$(apps_only_installed_files)))
|
||||
$(apps_only_sbom_files): $(PRODUCT_OUT)/sbom-metadata.csv $(GEN_SBOM)
|
||||
|
|
Loading…
Reference in a new issue