More p4runtime-related bazel build files
Change-Id: Icdd02a06d7905e4cd0a6c61d282fd522c7b75fe7
diff --git a/drivers/barefoot/BUILD b/drivers/barefoot/BUILD
new file mode 100644
index 0000000..ead7a3b
--- /dev/null
+++ b/drivers/barefoot/BUILD
@@ -0,0 +1,25 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "//drivers/p4runtime:onos-drivers-p4runtime",
+]
+
+BUNDLES = [
+ ":onos-drivers-barefoot",
+]
+
+osgi_jar(
+ deps = COMPILE_DEPS,
+ resources_root = "src/main/resources",
+ resources = glob(["src/main/resources/**"]),
+)
+
+onos_app (
+ app_name = "org.onosproject.drivers.barefoot",
+ title = "Barefoot Drivers",
+ category = "Drivers",
+ url = "http://onosproject.org",
+ description = "Adds support for Barefoot Networks devices",
+ included_bundles = BUNDLES,
+ required_apps = [
+ "org.onosproject.drivers.p4runtime",
+ ],
+)