summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-05 23:08:53 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-05 23:08:53 +0000
commit6f24af4db680a5020964c17501b44dcd25044d73 (patch)
treea4292e06b3a13c8aa199c8f3ab79a25c0ccad08a
parent8da747dfa2fb4b19f97f74518cb84ca0309b0cb7 (diff)
parent6903ebd6d0fda5833f4586c03127a59d76e01627 (diff)
downloadipacfg-mgr-6f24af4db680a5020964c17501b44dcd25044d73.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm8150/data/ipacfg-mgr am: 2e896c19ea am: 771de60598 am: 6903ebd6d0
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sm8150/data/ipacfg-mgr/+/1576129 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I660b319ca11699f39034aa51565d48bc35fcdae3
-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 \