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

Commit 18e4ea13 authored by Jeongik Cha's avatar Jeongik Cha
Browse files

export async_fd_watcher

extract async_fd_watcher into library to be shared with remote HAL
implementation for BT

Bug: 181112377
Test: check building successfully
Change-Id: I7eef789e37e70f94a50f9ee15f0f80e0bb2da82a
parent a531e8e7
Loading
Loading
Loading
Loading
+21 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ cc_binary {
        "hci_packetizer.cc",
        "h4_protocol.cc",
        "bluetooth_hci.cc",
        "async_fd_watcher.cc",
        "service.cc",
    ],
    cflags: [
@@ -47,8 +46,29 @@ cc_binary {
        "liblog",
        "libutils",
    ],
    static_libs: [
        "async_fd_watcher",
    ],
    conlyflags: [
        "-std=c99",
    ],
    init_rc: ["android.hardware.bluetooth@1.1-service.btlinux.rc"],
}

cc_library_static {
    name: "async_fd_watcher",
    proprietary: true,
    srcs: [
        "async_fd_watcher.cc",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],
    shared_libs: [
        "liblog",
    ],
    export_include_dirs: [
        ".",
    ],
}
 No newline at end of file