Add license visibility to prebuilt vsdk

libbpf_minimal can be included as a prebuilt vsdk library. This must
include the license_kinds of libbpf_minimal-license from soong.
Add the visibility for the prebuilts.

Bug: 271539873
Test: build against vsdk
Change-Id: Ib1c3e7705e7f234b2b54c2180642d6134c6131ea
This commit is contained in:
Justin Yun 2023-04-19 19:26:30 +09:00
parent 67237c82ed
commit 3b23ac0025

View file

@ -923,7 +923,10 @@ license_kind {
license_kind {
name: "SPDX-license-identifier-Linux-syscall-note",
// expanding visibility requires approval from an OSPO lawyer or pcounsel
visibility: ["//external/libbpf:__subpackages__"],
visibility: [
"//external/libbpf:__subpackages__",
"//prebuilts/vsdk:__subpackages__",
],
conditions: ["permissive"],
url: "https://spdx.org/licenses/Linux-syscall-note.html",
}