From 3b23ac0025570f850e31958e47d477fbdcf21afa Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Wed, 19 Apr 2023 19:26:30 +0900 Subject: [PATCH] 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 --- licenses/Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/licenses/Android.bp b/licenses/Android.bp index 7267cf374..dee72ed42 100644 --- a/licenses/Android.bp +++ b/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", }