diff options
author | Bob Badour <bbadour@google.com> | 2022-01-27 14:09:11 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2022-01-27 15:21:30 -0800 |
commit | e578be3d3948d216b4863bceb2451faff6929549 (patch) | |
tree | ef80d06c7d78347a646fd7a28f0eec750b14a9db /Android.bp | |
parent | 116f0a3ed3301abdf3d33805e805307e914b31a0 (diff) | |
download | libbpf-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.bp | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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: [ |