[WIP] Attempt at building grpc and p4runtime protocols with Bazel
STILL NOT WORKING AT RUNTIME
Change-Id: I1f9e60b12a12e09edad2a714ec2921a4f71c6d35
diff --git a/protocols/xmpp/core/BUCK b/protocols/xmpp/core/BUCK
index 97af973..49a5015 100644
--- a/protocols/xmpp/core/BUCK
+++ b/protocols/xmpp/core/BUCK
@@ -3,10 +3,10 @@
'//protocols/xmpp/core/ctl:onos-protocols-xmpp-core-ctl',
'//lib:tinder-xmpp',
'//lib:org.apache.servicemix.bundles.dom4j',
- '//lib:netty-common',
- '//lib:netty-transport',
- '//lib:netty-buffer',
- '//lib:netty-codec',
+ '//lib:io_netty_netty_common',
+ '//lib:io_netty_netty_transport',
+ '//lib:io_netty_netty_buffer',
+ '//lib:io_netty_netty_codec',
'//lib:stax2-api',
'//lib:aalto-xml',
'//lib:concurrent-hashmap',
diff --git a/protocols/xmpp/core/BUILD b/protocols/xmpp/core/BUILD
index c3834c8..bfabb8c 100644
--- a/protocols/xmpp/core/BUILD
+++ b/protocols/xmpp/core/BUILD
@@ -1,10 +1,10 @@
BUNDLES = [
"@tinder_xmpp//jar",
"@org_apache_servicemix_bundles_dom4j//jar",
- "@netty_common//jar",
- "@netty_transport//jar",
- "@netty_buffer//jar",
- "@netty_codec//jar",
+ "@io_netty_netty_common//jar",
+ "@io_netty_netty_transport//jar",
+ "@io_netty_netty_buffer//jar",
+ "@io_netty_netty_codec//jar",
"@stax2_api//jar",
"@aalto_xml//jar",
"@concurrent_hashmap//jar",
diff --git a/protocols/xmpp/core/api/BUCK b/protocols/xmpp/core/api/BUCK
index 8d191ee..1e7a692 100644
--- a/protocols/xmpp/core/api/BUCK
+++ b/protocols/xmpp/core/api/BUCK
@@ -2,8 +2,8 @@
'//lib:CORE_DEPS',
'//core/api:onos-api',
'//lib:tinder-xmpp',
- '//lib:netty-transport',
- '//lib:netty-common',
+ '//lib:io_netty_netty_transport',
+ '//lib:io_netty_netty_common',
'//lib:org.apache.servicemix.bundles.dom4j',
]
diff --git a/protocols/xmpp/core/api/BUILD b/protocols/xmpp/core/api/BUILD
index 29d19f1..74f0972 100644
--- a/protocols/xmpp/core/api/BUILD
+++ b/protocols/xmpp/core/api/BUILD
@@ -1,7 +1,7 @@
COMPILE_DEPS = CORE_DEPS + [
"@tinder_xmpp//jar",
- "@netty_transport//jar",
- "@netty_common//jar",
+ "@io_netty_netty_transport//jar",
+ "@io_netty_netty_common//jar",
]
osgi_jar_with_tests(
diff --git a/protocols/xmpp/core/ctl/BUCK b/protocols/xmpp/core/ctl/BUCK
index a055257..4ce3ed1 100644
--- a/protocols/xmpp/core/ctl/BUCK
+++ b/protocols/xmpp/core/ctl/BUCK
@@ -1,11 +1,11 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/xmpp/core/api:onos-protocols-xmpp-core-api',
- '//lib:netty-common',
- '//lib:netty-transport',
- '//lib:netty-transport-native-epoll',
- '//lib:netty-buffer',
- '//lib:netty-codec',
+ '//lib:io_netty_netty_common',
+ '//lib:io_netty_netty_transport',
+ '//lib:io_netty_netty_transport-native-epoll',
+ '//lib:io_netty_netty_buffer',
+ '//lib:io_netty_netty_codec',
'//lib:org.apache.servicemix.bundles.dom4j',
'//lib:tinder-xmpp',
'//lib:stax2-api',
diff --git a/protocols/xmpp/core/ctl/BUILD b/protocols/xmpp/core/ctl/BUILD
index 8c521a1..fda6c08 100644
--- a/protocols/xmpp/core/ctl/BUILD
+++ b/protocols/xmpp/core/ctl/BUILD
@@ -1,9 +1,9 @@
COMPILE_DEPS = CORE_DEPS + [
- "@netty_common//jar",
- "@netty_transport//jar",
- "@netty_transport_native_epoll//jar",
- "@netty_buffer//jar",
- "@netty_codec//jar",
+ "@io_netty_netty_common//jar",
+ "@io_netty_netty_transport//jar",
+ "@io_netty_netty_transport_native_epoll//jar",
+ "@io_netty_netty_buffer//jar",
+ "@io_netty_netty_codec//jar",
"@tinder_xmpp//jar",
"@stax2_api//jar",
"@aalto_xml//jar",