More work cleaning up the BUILD files
Change-Id: I47fb18e7a12cd7e081631a5369274ef1e25f22c4
diff --git a/aos/linux_code/BUILD b/aos/linux_code/BUILD
index 63c970c..ce7b1b0 100644
--- a/aos/linux_code/BUILD
+++ b/aos/linux_code/BUILD
@@ -32,7 +32,7 @@
],
deps = [
':complex_thread_local',
- '//third_party/gtest',
+ '//aos/testing:googletest',
'//aos/common/util:thread',
'//aos/common/logging',
],
diff --git a/aos/linux_code/ipc_lib/BUILD b/aos/linux_code/ipc_lib/BUILD
index 75e3d95..83235ee 100644
--- a/aos/linux_code/ipc_lib/BUILD
+++ b/aos/linux_code/ipc_lib/BUILD
@@ -64,7 +64,7 @@
'raw_queue_test.cc',
],
deps = [
- '//third_party/gtest',
+ '//aos/testing:googletest',
':queue',
'//aos/common/logging',
':core_lib',
@@ -85,7 +85,7 @@
'manual',
],
deps = [
- '//third_party/gtest',
+ '//aos/testing:googletest',
'//aos/common:time',
'//aos/common:queue_testutils',
'//aos/linux_code/ipc_lib:mutex',
diff --git a/aos/linux_code/starter/starter.cc b/aos/linux_code/starter/starter.cc
index 616bbdb..01a462a 100644
--- a/aos/linux_code/starter/starter.cc
+++ b/aos/linux_code/starter/starter.cc
@@ -27,7 +27,11 @@
#include <memory>
#include <set>
+#ifdef AOS_BAZEL
+#include "third_party/libevent/event.h"
+#else
#include <event2/event.h>
+#endif
#include "aos/common/logging/logging.h"
#include "aos/common/logging/logging_impl.h"