aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-01-27 14:09:11 -0800
committerBob Badour <bbadour@google.com>2022-01-27 15:21:30 -0800
commite578be3d3948d216b4863bceb2451faff6929549 (patch)
treeef80d06c7d78347a646fd7a28f0eec750b14a9db /Android.bp
parent116f0a3ed3301abdf3d33805e805307e914b31a0 (diff)
downloadlibbpf-e578be3d3948d216b4863bceb2451faff6929549.tar.gz
Add LOCAL_LICENSE_KINDS to external/libbpf
Added SPDX-license-identifier-BSD-2-Clause SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-LGPL-2.1-Only to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: Idafa05c34c886cb88decdafb082ea76b021a19e5
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5d2f00e..c9c65b5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,25 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_libbpf_license"],
+}
+
+// See: http://go/android-license-faq
+license {
+ name: "external_libbpf_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD-2-Clause",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-LGPL-2.1-only",
+ ],
+ license_text: [
+ "LICENSE.BSD-2-Clause",
+ "LICENSE.LGPL-2.1",
+ ],
+}
+
genrule {
name: "libbpf_headers",
srcs: [