diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2019-06-14 18:48:31 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2019-06-14 18:48:31 -0700 |
commit | 2625e7083ff118e8da856eb1dd04d39d2a527e22 (patch) | |
tree | 72b04289561812bf1a52d5c14cfa2e6986cd76e1 /android/utils/Android.mk | |
parent | 2d333ab2d898e1119576b2507fa5f1e95b90d124 (diff) | |
parent | 3bbb89aee1a89cc7d268927ac8265a70a330f2fb (diff) | |
download | gps-2625e7083ff118e8da856eb1dd04d39d2a527e22.tar.gz |
Merge 3bbb89aee1a89cc7d268927ac8265a70a330f2fb on remote branch
Change-Id: I8ce184682331aed809cdf4e36611ccd7b84c02e3
Diffstat (limited to 'android/utils/Android.mk')
-rw-r--r-- | android/utils/Android.mk | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/android/utils/Android.mk b/android/utils/Android.mk new file mode 100644 index 0000000..47b4081 --- /dev/null +++ b/android/utils/Android.mk @@ -0,0 +1,37 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE := liblocbatterylistener +LOCAL_VENDOR_MODULE := true + +LOCAL_CFLAGS += $(GNSS_CFLAGS) + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH) \ + +LOCAL_SRC_FILES:= \ + battery_listener.cpp +LOCAL_SHARED_LIBRARIES := \ + liblog \ + libhidlbase \ + libhidltransport \ + libhwbinder \ + libcutils \ + libutils \ + android.hardware.health@1.0 \ + android.hardware.health@2.0 \ + android.hardware.power@1.2 \ + libbase + +LOCAL_STATIC_LIBRARIES := libhealthhalutils +LOCAL_CFLAGS += -DBATTERY_LISTENER_ENABLED + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := liblocbatterylistener_headers +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) + +include $(BUILD_HEADER_LIBRARY) + + |