Fix the Bazel targets for some messes.

All the code which uses the files that are currently split across
//aos/common and //aos/linux_code/ipc_lib now uses the correct file as a
//dependency.

Change-Id: Ida4b11f97df144da73d8e8a8a25d6f4323837dc0
diff --git a/aos/linux_code/ipc_lib/BUILD b/aos/linux_code/ipc_lib/BUILD
index 47b9e8e..576774e 100644
--- a/aos/linux_code/ipc_lib/BUILD
+++ b/aos/linux_code/ipc_lib/BUILD
@@ -125,12 +125,13 @@
 
 cc_library(
   name = 'condition',
+  visibility = ['//aos/common:__pkg__'],
   srcs = [
     'condition.cc',
   ],
   deps = [
     ':mutex',
-    '//aos/common:condition',
+    '//aos/common:real_condition',
     ':aos_sync',
     '//aos/common/logging:logging_interface',
   ],
@@ -151,12 +152,13 @@
 
 cc_library(
   name = 'event',
+  visibility = ['//aos/common:__pkg__'],
   srcs = [
     'event.cc',
   ],
   deps = [
     ':aos_sync',
     '//aos/common/logging:logging_interface',
-    '//aos/common:event',
+    '//aos/common:real_event',
   ],
 )