Merge "ContextHub: Android.mk -> Android.bp"
This commit is contained in:
commit
b86ec89fbf
2 changed files with 20 additions and 22 deletions
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -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)
|
Loading…
Reference in a new issue