summaryrefslogtreecommitdiff
path: root/dumpstate/Android.mk
diff options
context:
space:
mode:
authorAlex Hong <rurumihong@google.com>2022-03-30 00:40:39 +0800
committerAlex Hong <rurumihong@google.com>2022-04-15 17:00:31 +0800
commitcbc81c7f5bffa7ffdf2f1a43592a1215838bffe7 (patch)
treed160b2c343cf76f3e1fc70dfcae87f4be7fe8c1e /dumpstate/Android.mk
parent101c17fc9593df2dbfa814209b402039e5549fb2 (diff)
downloadgs201-cbc81c7f5bffa7ffdf2f1a43592a1215838bffe7.tar.gz
Upgrade android.hardware.dumpstate from HIDL 1.1 to AIDL 1
lshal is not supported for AIDL, now use dumpsys instead. Update the debug command as below. Old: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default [section] New: dumpsys android.hardware.dumpstate.IDumpstateDevice/default [section] Currently dumpsys does not start the Lazy HAL service, only dumpstate does. Because we need to run dumpsys for debugging, keep the dumpstate HAL running at boot. Do not set it to be a lazy HAL. Test: atest VtsHalDumpstateTargetTest pass adb shell dumpsys -t 30 android.hardware.dumpstate.IDumpstateDevice/default all Bug: 223118410 Change-Id: I7f866a57c3eff8c9783fee89dce205cf9728c459
Diffstat (limited to 'dumpstate/Android.mk')
-rw-r--r--dumpstate/Android.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/dumpstate/Android.mk b/dumpstate/Android.mk
index 05586df..76202ce 100644
--- a/dumpstate/Android.mk
+++ b/dumpstate/Android.mk
@@ -16,7 +16,7 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_MODULE := android.hardware.dumpstate@1.1-service.gs201
+LOCAL_MODULE := android.hardware.dumpstate-service.gs201
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE
@@ -24,20 +24,17 @@ LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.gs201.rc
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
- DumpstateDevice.cpp \
+ Dumpstate.cpp \
service.cpp
LOCAL_SHARED_LIBRARIES := \
- android.hardware.dumpstate@1.0 \
- android.hardware.dumpstate@1.1 \
libbase \
+ libbinder_ndk \
libcutils \
libdumpstateutil \
- libhidlbase \
- libhidltransport \
- libhwbinder \
liblog \
- libutils
+ libutils \
+ android.hardware.dumpstate-V1-ndk
LOCAL_CFLAGS := -Werror -Wall