LOCAL_REQUIRED_MODULES = bluetooth.default
LOCAL_STATIC_LIBRARIES += libbtcore
LOCAL_SHARED_LIBRARIES += \
+ libbase \
libbinder \
libchrome \
libcutils \
LOCAL_C_INCLUDES += $(btserviceCommonIncludes)
LOCAL_MODULE_TAGS := debug tests
LOCAL_MODULE := bluetoothtbd-host_test
-LOCAL_SHARED_LIBRARIES += libchrome
+LOCAL_SHARED_LIBRARIES += libbase libchrome
LOCAL_STATIC_LIBRARIES += libgmock_host libgtest_host liblog
LOCAL_CFLAGS += $(bluetooth_CFLAGS) $(btservice_orig_HOST_NDEBUG)
LOCAL_MODULE_TAGS := debug tests
LOCAL_MODULE := bluetoothtbd_test
LOCAL_SHARED_LIBRARIES += \
+ libbase \
libbinder \
libchrome \
libutils
#include <atomic>
+#include <android-base/macros.h>
#include <base/files/file_path.h>
#include <base/files/scoped_file.h>
#include <base/macros.h>
void NotifyStoppedOnCurrentThread();
// True, if the IPC mechanism is running.
+#if defined(__APPLE__)
+ bool running_ ATTRIBUTE_UNUSED;
+#else
bool running_;
+#endif
// The server socket on which we listen to incoming connections.
base::ScopedFD socket_;