summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:14:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:14:48 +0000
commita2cd01b5a7a17e6678ee8b830b555d7d58414f6e (patch)
tree6012cccb7505d7e2b9607ece9d448f8a0755a1fb
parent30ce54b7b03d98f48f4ca38e87068f939844f9db (diff)
parente67bb2d9c20b8362f2c4618846e63a234a239d16 (diff)
downloadthermal-android13-mainline-tethering-release.tar.gz
Change-Id: Ic15fc9544fbf4cc938fa154b061f8451b675ad09
-rw-r--r--Android.mk6
-rw-r--r--METADATA3
2 files changed, 7 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 1a14500..1c2650b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,15 +17,17 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := thermal.$(TARGET_BOARD_PLATFORM)
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution
+LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true
LOCAL_SRC_FILES := thermal.c
LOCAL_SRC_FILES += thermal_common.c
-ifeq ($(call is-board-platform-in-list,msm8998), true)
+ifneq (,$(call is-board-platform-in-list2,msm8998))
LOCAL_SRC_FILES += thermal-8998.c
-else ifeq ($(call is-board-platform-in-list,sdm845), true)
+else ifneq (,$(call is-board-platform-in-list2,sdm845))
LOCAL_SRC_FILES += thermal-845.c
else
LOCAL_SRC_FILES += thermal_target.c
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: NOTICE
+}