Merge "ContextHub: Android.mk -> Android.bp"

This commit is contained in:
TreeHugger Robot 2017-05-01 21:54:26 +00:00 committed by Android (Google) Code Review
commit b86ec89fbf
2 changed files with 20 additions and 22 deletions

View file

@ -32,3 +32,23 @@ cc_library_shared {
"android.hardware.contexthub@1.0",
],
}
cc_binary {
name: "android.hardware.contexthub@1.0-service",
relative_install_path: "hw",
proprietary: true,
init_rc: ["android.hardware.contexthub@1.0-service.rc"],
srcs: ["service.cpp"],
shared_libs: [
"libbase",
"libcutils",
"libdl",
"libhardware",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"android.hardware.contexthub@1.0",
],
}

View file

@ -1,22 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := android.hardware.contexthub@1.0-service
LOCAL_INIT_RC := android.hardware.contexthub@1.0-service.rc
LOCAL_SRC_FILES := \
service.cpp \
LOCAL_SHARED_LIBRARIES := \
libbase \
libcutils \
libdl \
libhardware \
libhidlbase \
libhidltransport \
liblog \
libutils \
android.hardware.contexthub@1.0 \
include $(BUILD_EXECUTABLE)