Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b86ec89f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 3b49998f d62849a5
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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",
    ],
}

contexthub/1.0/default/Android.mk

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
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)