Browse Source

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
Justin Yun 1 year ago
parent
commit
3b23ac0025
1 changed files with 4 additions and 1 deletions
  1. 4 1
      licenses/Android.bp

+ 4 - 1
licenses/Android.bp

@@ -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",
 }