Initial builds using bazel
Change-Id: I38123b396a2ffda5f36cdca43f3ad1fa67a7ab52
diff --git a/core/store/dist/BUILD b/core/store/dist/BUILD
new file mode 100644
index 0000000..0608650
--- /dev/null
+++ b/core/store/dist/BUILD
@@ -0,0 +1,28 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + [
+ '//core/common:onos-core-common',
+ '//utils/rest:onlab-rest',
+ '//core/store/serializers:onos-core-serializers',
+ '@netty_transport//jar',
+ '@netty_codec//jar',
+ '@netty_handler//jar',
+ '@netty_transport_native_epoll//jar',
+ '@netty_resolver//jar',
+ '@commons_math3//jar',
+ '//incubator/api:onos-incubator-api',
+]
+
+TEST_DEPS = TEST + [
+ '//core/api:onos-api-tests',
+ '//core/common:onos-core-common-tests',
+]
+
+osgi_jar_with_tests (
+ name = 'onos-core-dist',
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ exclude_tests = [
+ 'org.onosproject.store.link.impl.ECLinkStoreTest',
+ 'org.onosproject.store.flow.impl.DistributedFlowRuleStoreTest',
+ ],
+ visibility = ["//visibility:public"],
+)