Remove obsolete BUILD files
Change-Id: I5aa381f5684dee36445807436d8a3e2043ba6d41
diff --git a/BUILD b/BUILD
deleted file mode 100644
index a0e3f53..0000000
--- a/BUILD
+++ /dev/null
@@ -1,120 +0,0 @@
-cc_library(
- name = "vsoc_lib",
- srcs = [
- "common/vsoc/lib/compat.cpp",
- "common/vsoc/lib/e2e_test_region_layout.cpp",
- "common/vsoc/lib/lock_common.cpp",
- "common/vsoc/lib/region_view.cpp",
- "host/vsoc/lib/host_lock.cpp",
- "host/vsoc/lib/region_control.cpp",
- "host/vsoc/lib/region_view.cpp",
- ],
- hdrs = [
- "common/vsoc/lib/circqueue_impl.h",
- "common/vsoc/lib/compat.h",
- "common/vsoc/lib/e2e_test_region_view.h",
- "common/vsoc/lib/graphics_common.h",
- "common/vsoc/lib/lock_guard.h",
- "common/vsoc/lib/region_control.h",
- "common/vsoc/lib/region_view.h",
- "common/vsoc/lib/region_signaling_interface.h",
- "common/vsoc/lib/single_sided_signal.h",
- "common/vsoc/lib/typed_region_view.h",
- ],
- copts = ["-Wno-unused-private-field"],
- visibility = ["//visibility:public"],
- deps = [
- "//common/libs/fs",
- "//common/vsoc/shm",
- "@cuttlefish_kernel//:uapi",
- ],
-)
-
-cc_library(
- name = "libvsoc_framebuffer",
- srcs = [
- "common/vsoc/framebuffer/fb_bcast_region.cpp",
- "common/vsoc/lib/fb_bcast_layout.cpp",
- ],
- hdrs = [
- "common/vsoc/framebuffer/fb_bcast_region.h",
- ],
- copts = ["-Wno-unused-private-field"],
- visibility = ["//visibility:public"],
- deps = [
- "//:vsoc_lib",
- ],
-)
-
-cc_binary(
- name = "test_framebuffer",
- srcs = ["common/vsoc/framebuffer/test_fb.cpp"],
- deps = ["//:libvsoc_framebuffer"],
-)
-
-cc_library(
- name = "libvsoc_gralloc",
- srcs = [
- "common/vsoc/lib/gralloc_layout.cpp",
- "host/vsoc/gralloc/gralloc_buffer_region.cpp",
- ],
- hdrs = [
- "host/vsoc/gralloc/gralloc_buffer_region.h",
- ],
- copts = ["-Wno-unused-private-field"],
- visibility = ["//visibility:public"],
- deps = [
- "//:vsoc_lib",
- ],
-)
-
-cc_test(
- name = "circqueue_test",
- srcs = [
- "common/vsoc/lib/circqueue_test.cpp",
- ],
- visibility = ["//visibility:public"],
- deps = [
- ":vsoc_lib",
- "//common/vsoc/shm",
- "@gtest_repo//:gtest_main",
- ],
-)
-
-cc_test(
- name = "lock_test",
- srcs = [
- "common/vsoc/lib/lock_test.cpp",
- ],
- visibility = ["//visibility:public"],
- deps = [
- ":vsoc_lib",
- "//common/vsoc/shm",
- "@gtest_repo//:gtest_main",
- ],
-)
-
-cc_test(
- name = "vsoc_graphics_test",
- srcs = [
- "common/vsoc/lib/graphics_test.cpp",
- ],
- visibility = ["//visibility:public"],
- deps = [
- "//common/vsoc/shm",
- "@gtest_repo//:gtest_main",
- ],
-)
-
-cc_binary(
- name = "host_region_e2e_test",
- srcs = [
- "host/vsoc/lib/host_region_e2e_test.cpp",
- ],
- deps = [
- ":vsoc_lib",
- "//common/vsoc/shm",
- "@glog_repo//:glog",
- "@gtest_repo//:gtest",
- ],
-)
diff --git a/common/libs/auto_resources/BUILD b/common/libs/auto_resources/BUILD
deleted file mode 100644
index 3641e10..0000000
--- a/common/libs/auto_resources/BUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-cc_library(
- name = "auto_resources",
- srcs = [
- "auto_resources.cpp",
- "auto_resources.h",
- ],
- hdrs = [
- "auto_resources.h",
- ],
- visibility = [ "//visibility:public" ],
-)
-
-cc_test(
- name = "auto_free_buffer_test",
- srcs = [
- "auto_free_buffer_test.cpp",
- ],
- deps = [
- ":auto_resources",
- "@gtest_repo//:gtest_main",
- ],
-)
-
diff --git a/common/libs/fs/BUILD b/common/libs/fs/BUILD
deleted file mode 100644
index 2f9c9f4..0000000
--- a/common/libs/fs/BUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-cc_library(
- name = "fs",
- srcs = [
- "gce_fs.cpp",
- "gce_fs.h",
- "shared_fd.cpp",
- "shared_fd.h",
- "shared_select.h",
- ],
- hdrs = [
- "gce_fs.h",
- "shared_fd.h",
- "shared_select.h",
- ],
- visibility = ["//visibility:public"],
- deps = [
- "//common/libs/auto_resources",
- "//common/libs/glog:cuttlefish_logging",
- ],
-)
-
-cc_test(
- name = "shared_fd_test",
- srcs = [
- "shared_fd_test.cpp",
- ],
- deps = [
- ":fs",
- "@glog_repo//:glog",
- "@gtest_repo//:gtest_main",
- ],
-)
diff --git a/common/libs/glog/BUILD b/common/libs/glog/BUILD
deleted file mode 100644
index 058fc78..0000000
--- a/common/libs/glog/BUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-cc_library(
- name = "cuttlefish_logging",
- hdrs = [
- "logging.h",
- ],
- visibility = ["//visibility:public"],
- deps = [
- "@glog_repo//:glog",
- "//common/libs/auto_resources",
- ],
-)
diff --git a/common/libs/net/BUILD b/common/libs/net/BUILD
deleted file mode 100644
index 79e7166..0000000
--- a/common/libs/net/BUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-cc_library(
- name = "net",
- srcs = [
- "netlink_client.cpp",
- "netlink_client.h",
- "netlink_request.cpp",
- "netlink_request.h",
- "network_interface.h",
- "network_interface_manager.cpp",
- "network_interface_manager.h",
- ],
- hdrs = [
- "netlink_client.h",
- "network_interface.h",
- "network_interface_manager.h",
- ],
- visibility = ["//visibility:public"],
- deps = [
- "//common/libs/fs",
- ],
-)
-
-cc_test(
- name = "netlink_request_test",
- size = "small",
- srcs = ["netlink_request_test.cpp"],
- deps = [
- ":net",
- "//common/libs/glog:cuttlefish_logging",
- "@gtest_repo//:gtest_main",
- ],
-)
diff --git a/common/libs/thread_safe_queue/BUILD b/common/libs/thread_safe_queue/BUILD
deleted file mode 100644
index 167a61b..0000000
--- a/common/libs/thread_safe_queue/BUILD
+++ /dev/null
@@ -1,9 +0,0 @@
-cc_library(
- name = "thread_safe_queue",
- srcs = [
- ],
- hdrs = [
- "thread_safe_queue.h",
- ],
- visibility = ["//visibility:public"],
-)
diff --git a/common/libs/threads/BUILD b/common/libs/threads/BUILD
deleted file mode 100644
index 17ccee1..0000000
--- a/common/libs/threads/BUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-cc_library(
- name = "threads",
- srcs = [
- ],
- hdrs = [
- "pthread.h",
- "thread_annotations.h",
- "thunkers.h",
- ],
- visibility = ["//visibility:public"],
- deps = [
- "//common/libs/time",
- ],
-)
-
-cc_test(
- name = "threads_test",
- srcs = [
- "pthread_test.cpp",
- ],
- linkopts = ["-lpthread"],
- deps = [
- ":threads",
- "//common/libs/glog:cuttlefish_logging",
- "//common/libs/time",
- ],
-)
diff --git a/common/libs/time/BUILD b/common/libs/time/BUILD
deleted file mode 100644
index 57c20cf..0000000
--- a/common/libs/time/BUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-cc_library(
- name = "time",
- srcs = [
- "monotonic_time.cpp",
- "monotonic_time.h",
- ],
- hdrs = [
- "monotonic_time.h",
- ],
- visibility = [ "//visibility:public" ],
-)
-
-cc_test(
- name = "monotonic_time_test",
- srcs = [
- "monotonic_time_test.cpp",
- ],
- deps = [
- ":time",
- "@gtest_repo//:gtest_main",
- ],
-)
-
diff --git a/common/libs/usbforward/BUILD b/common/libs/usbforward/BUILD
deleted file mode 100644
index 91d968b..0000000
--- a/common/libs/usbforward/BUILD
+++ /dev/null
@@ -1,7 +0,0 @@
-cc_library(
- name = "protocol",
- hdrs = [
- "protocol.h"
- ],
- visibility = ["//visibility:public"],
-)
\ No newline at end of file
diff --git a/common/vsoc/shm/BUILD b/common/vsoc/shm/BUILD
deleted file mode 100644
index 8680532..0000000
--- a/common/vsoc/shm/BUILD
+++ /dev/null
@@ -1,14 +0,0 @@
-cc_library(
- name = "shm",
- hdrs = [
- "base.h",
- "circqueue.h",
- "e2e_test_region_layout.h",
- "fb_bcast_layout.h",
- "gralloc_layout.h",
- "graphics.h",
- "lock.h",
- "version.h",
- ],
- visibility = ["//visibility:public"],
-)
diff --git a/external/BUILD b/external/BUILD
deleted file mode 100644
index 5b01f6e..0000000
--- a/external/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-licenses(["notice"])