Arista driver bazel build
Change-Id: If9399a91e020fa8671d95c378159df050b46de7f
diff --git a/drivers/arista/BUILD b/drivers/arista/BUILD
new file mode 100644
index 0000000..a0a54cc
--- /dev/null
+++ b/drivers/arista/BUILD
@@ -0,0 +1,33 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ '@javax_ws_rs_api//jar',
+ '//incubator/api:onos-incubator-api',
+ '//utils/rest:onlab-rest',
+ '//drivers/utilities:onos-drivers-utilities',
+ '//protocols/rest/api:onos-protocols-rest-api',
+]
+
+TEST_DEPS = TEST_ADAPTERS + [
+ '//core/api:onos-api-tests',
+]
+
+BUNDLES = [
+ ':onos-drivers-arista',
+ '//drivers/utilities:onos-drivers-utilities',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ resources_root = 'src/main/resources',
+ resources = glob(['src/main/resources/**']),
+)
+
+onos_app (
+ app_name = 'org.onosproject.drivers.arista',
+ title = 'Arista Drivers',
+ category = 'Drivers',
+ url = 'http://onosproject.org',
+ description = 'Adds support for Arista devices.',
+ included_bundles = BUNDLES,
+ required_apps = [ 'org.onosproject.restsb' ],
+)