commit | 8640bded14e58d590291b3d75e15c66f5ee3c181 | [log] [tgz] |
---|---|---|
author | He Gao <hegao@google.com> | Wed Feb 01 23:05:10 2023 +0000 |
committer | He Gao <hegao@google.com> | Fri Feb 03 18:29:53 2023 +0000 |
tree | b8c94904f033f0938d07a7ab974038fbedf333e5 | |
parent | 7f2a71832b95a5243a14831aeed80daa6524d372 [diff] |
SBOM install hook: only search SRC_URI+= if SRC_URI is empty Since all target names are added to a set which doesn't have order, we need to search `SRC_URI=` first before going to `SRC_URI+=`. BUG=b/254334533 TEST=presubmit RELEASE_NOTE=None Change-Id: Ib9f517be9a5830e423b74f12f26006a5dac25df3 Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/41850 Reviewed-by: Vaibhav Rustagi <vaibhavrustagi@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>