extract async_fd_watcher into library to be shared with remote HAL
implementation for BT
Bug:
181112377
Test: check building successfully
Change-Id: I7eef789e37e70f94a50f9ee15f0f80e0bb2da82a
"hci_packetizer.cc",
"h4_protocol.cc",
"bluetooth_hci.cc",
- "async_fd_watcher.cc",
"service.cc",
],
cflags: [
"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