From b28ecce294805b4f86ef91487d2822aa4ff8c9d4 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Mon, 22 Feb 2021 16:10:07 -0800 Subject: [LSC] Add LOCAL_LICENSE_KINDS to frameworks/libs/net Added SPDX-license-identifier-Apache-2.0 to: client-libs/Android.bp client-libs/tests/unit/Android.bp common/Android.bp common/native/bpf_syscall_wrappers/Android.bp common/native/netjniutils/Android.bp common/tests/unit/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I6ea23b03b1fadb54c7974c9f716f0f13795f84c5 --- client-libs/Android.bp | 4 ++++ client-libs/tests/unit/Android.bp | 4 ++++ common/Android.bp | 4 ++++ common/native/bpf_syscall_wrappers/Android.bp | 4 ++++ common/native/netjniutils/Android.bp | 4 ++++ common/tests/unit/Android.bp | 5 ++++- 6 files changed, 24 insertions(+), 1 deletion(-) diff --git a/client-libs/Android.bp b/client-libs/Android.bp index cc1b4e74..9cedd29f 100644 --- a/client-libs/Android.bp +++ b/client-libs/Android.bp @@ -1,3 +1,7 @@ +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + java_library { name: "netd-client", srcs: ["netd/**/*"], diff --git a/client-libs/tests/unit/Android.bp b/client-libs/tests/unit/Android.bp index fc8a2c6c..2cd39bdc 100644 --- a/client-libs/tests/unit/Android.bp +++ b/client-libs/tests/unit/Android.bp @@ -1,3 +1,7 @@ +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + android_library { name: "NetdStaticLibTestsLib", srcs: [ diff --git a/common/Android.bp b/common/Android.bp index ecff6c7f..a3bfbce9 100644 --- a/common/Android.bp +++ b/common/Android.bp @@ -27,6 +27,10 @@ // included in the bootclasspath, they could incorrectly be included in the SDK documentation even // though they are not in the current.txt files. +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + java_library { name: "net-utils-device-common", srcs: [ diff --git a/common/native/bpf_syscall_wrappers/Android.bp b/common/native/bpf_syscall_wrappers/Android.bp index ae6eee0d..fa906554 100644 --- a/common/native/bpf_syscall_wrappers/Android.bp +++ b/common/native/bpf_syscall_wrappers/Android.bp @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + cc_library_headers { name: "bpf_syscall_wrappers", vendor_available: false, diff --git a/common/native/netjniutils/Android.bp b/common/native/netjniutils/Android.bp index 8417c523..d8e6a04c 100644 --- a/common/native/netjniutils/Android.bp +++ b/common/native/netjniutils/Android.bp @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + cc_library_static { name: "libnetjniutils", srcs: ["netjniutils.cpp"], diff --git a/common/tests/unit/Android.bp b/common/tests/unit/Android.bp index c00202e6..4ce4b0ea 100644 --- a/common/tests/unit/Android.bp +++ b/common/tests/unit/Android.bp @@ -2,6 +2,10 @@ // Build NetworkStaticLibTests package //######################################################################## +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + android_library { name: "NetworkStaticLibTestsLib", srcs: ["src/**/*.java","src/**/*.kt"], @@ -38,4 +42,3 @@ android_test { jarjar_rules: "jarjar-rules.txt", test_suites: ["device-tests"], } - -- cgit v1.2.3