summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2021-11-05 07:18:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-05 07:18:21 +0000
commit3d245f94dbb15a72cdee415b92865fc87e7767c9 (patch)
tree6012cccb7505d7e2b9607ece9d448f8a0755a1fb
parent65b1346b5f9125b794ba9fae2b62b91f5aae6b6e (diff)
parentf4b41e82fb1a24706443a3010a7365ffc8770cba (diff)
downloadthermal-3d245f94dbb15a72cdee415b92865fc87e7767c9.tar.gz
Replace is-board-platform[-in-list] with is-board-platform[-in-list]2 am: 38a0e2bf84 am: 751df30b68 am: f4b41e82fb
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sdm845/thermal/+/1871697 Change-Id: Ifac261ff0acc98d80de1053b0ffe36b59727aa18
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 8391e02..1c2650b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -25,9 +25,9 @@ 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