[LSC] Add LOCAL_LICENSE_KINDS to system/bpf
Added SPDX-license-identifier-Apache-2.0 to: Android.bp bpfloader/Android.bp libbpf_android/Android.bp progs/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia881b61da1755797085916aab5325375c82ed76e
This commit is contained in:
parent
6b28299441
commit
dcbf8ca070
4 changed files with 41 additions and 0 deletions
17
Android.bp
17
Android.bp
|
|
@ -1,3 +1,20 @@
|
|||
package {
|
||||
default_applicable_licenses: ["system_bpf_license"],
|
||||
}
|
||||
|
||||
// Added automatically by a large-scale-change
|
||||
// http://go/android-license-faq
|
||||
license {
|
||||
name: "system_bpf_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"SPDX-license-identifier-Apache-2.0",
|
||||
],
|
||||
license_text: [
|
||||
"NOTICE",
|
||||
],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "bpf_defaults",
|
||||
cflags: [
|
||||
|
|
|
|||
|
|
@ -17,6 +17,14 @@
|
|||
//
|
||||
// bpfLoad binary
|
||||
//
|
||||
package {
|
||||
// http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// the below license kinds from "system_bpf_license":
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["system_bpf_license"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "bpfloader",
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,14 @@
|
|||
// limitations under the License.
|
||||
//
|
||||
|
||||
package {
|
||||
// http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// the below license kinds from "system_bpf_license":
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["system_bpf_license"],
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
name: "libbpf_android_headers",
|
||||
vendor_available: false,
|
||||
|
|
|
|||
|
|
@ -14,6 +14,14 @@
|
|||
// limitations under the License.
|
||||
//
|
||||
|
||||
package {
|
||||
// http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// the below license kinds from "system_bpf_license":
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["system_bpf_license"],
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
name: "bpf_prog_headers",
|
||||
export_include_dirs: ["include"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue