summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-03 20:08:32 -0800
committerBob Badour <bbadour@google.com>2021-02-05 01:25:04 -0800
commit2e896c19ead65aca655a67343ee9c91c7f07d0ca (patch)
treea4292e06b3a13c8aa199c8f3ab79a25c0ccad08a
parent5ef985611e99c7a21bd7ded38381b2a33c230c2c (diff)
downloadipacfg-mgr-2e896c19ead65aca655a67343ee9c91c7f07d0ca.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm8150/data/ipacfg-mgrandroid-s-preview-1
Added SPDX-license-identifier-BSD to: Android.bp hal/Android.bp ipacm/Android.bp ipanat/Android.bp ipanat/test/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I88fa075c859f49a06d8a6c0d79d20ad17e4279a4
-rw-r--r--Android.bp19
-rw-r--r--hal/Android.bp10
-rw-r--r--ipacm/Android.bp10
-rw-r--r--ipanat/Android.bp10
-rw-r--r--ipanat/test/Android.mk3
5 files changed, 52 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9515b25..2ee14d2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,2 +1,21 @@
soong_namespace {
}
+
+package {
+ default_applicable_licenses: [
+ "hardware_qcom_sm8150_data_ipacfg-mgr_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// http://go/android-license-faq
+license {
+ name: "hardware_qcom_sm8150_data_ipacfg-mgr_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
diff --git a/hal/Android.bp b/hal/Android.bp
index 14d3745..1746da8 100644
--- a/hal/Android.bp
+++ b/hal/Android.bp
@@ -1,3 +1,13 @@
+package {
+ // http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "hardware_qcom_sm8150_data_ipacfg-mgr_license":
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: [
+ "hardware_qcom_sm8150_data_ipacfg-mgr_license",
+ ],
+}
+
cc_library_shared {
name: "liboffloadhal",
srcs: [
diff --git a/ipacm/Android.bp b/ipacm/Android.bp
index 7c2a0c5..5afc37f 100644
--- a/ipacm/Android.bp
+++ b/ipacm/Android.bp
@@ -1,4 +1,14 @@
+package {
+ // http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "hardware_qcom_sm8150_data_ipacfg-mgr_license":
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: [
+ "hardware_qcom_sm8150_data_ipacfg-mgr_license",
+ ],
+}
+
cc_binary {
name: "ipacm",
diff --git a/ipanat/Android.bp b/ipanat/Android.bp
index eefd266..72ec1a8 100644
--- a/ipanat/Android.bp
+++ b/ipanat/Android.bp
@@ -1,5 +1,15 @@
+package {
+ // http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "hardware_qcom_sm8150_data_ipacfg-mgr_license":
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: [
+ "hardware_qcom_sm8150_data_ipacfg-mgr_license",
+ ],
+}
+
cc_library_shared {
name: "libipanat",
diff --git a/ipanat/test/Android.mk b/ipanat/test/Android.mk
index b8ae6a4..07afb75 100644
--- a/ipanat/test/Android.mk
+++ b/ipanat/test/Android.mk
@@ -14,6 +14,9 @@ LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_MODULE := ipa_nat_test
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE
LOCAL_SRC_FILES := ipa_nat_test000.c \
ipa_nat_test001.c \
ipa_nat_test002.c \