buildifier reformatting of bazel files

Change-Id: I1645613ec9dc57e659e7036634fcf3f3992b05a7
diff --git a/protocols/gnmi/BUILD b/protocols/gnmi/BUILD
index 56ed52c..30599ae 100644
--- a/protocols/gnmi/BUILD
+++ b/protocols/gnmi/BUILD
@@ -5,12 +5,12 @@
 
 onos_app(
     app_name = "org.onosproject.protocols.gnmi",
-    title = "gNMI Protocol Subsystem",
     category = "Protocol",
-    url = "http://onosproject.org",
     description = "ONOS gNMI protocol subsystem",
     included_bundles = BUNDLES,
     required_apps = [
-        "org.onosproject.protocols.grpc"
+        "org.onosproject.protocols.grpc",
     ],
+    title = "gNMI Protocol Subsystem",
+    url = "http://onosproject.org",
 )
diff --git a/protocols/gnmi/stub/BUILD b/protocols/gnmi/stub/BUILD
index 3dc5351..3b1a2dc 100644
--- a/protocols/gnmi/stub/BUILD
+++ b/protocols/gnmi/stub/BUILD
@@ -4,27 +4,27 @@
 wrapped_osgi_jar(
     name = "gnmi_java_grpc",
     jar = ":gnmi_java_grpc_native",
-    deps = [
-        "@io_grpc_grpc_java//stub",
-        "@io_grpc_grpc_java//core",
-        "@io_grpc_grpc_java//protobuf"
-    ],
     visibility = ["//visibility:public"],
+    deps = [
+        "@io_grpc_grpc_java//core",
+        "@io_grpc_grpc_java//protobuf",
+        "@io_grpc_grpc_java//stub",
+    ],
 )
 
 wrapped_osgi_jar(
     name = "gnmi_java_proto",
     jar = ":gnmi_java_proto_native",
+    visibility = ["//visibility:public"],
     deps = [
         "@com_google_protobuf//:protobuf_java",
     ],
-    visibility = ["//visibility:public"],
 )
 
 java_proto_library(
     name = "gnmi_java_proto_native",
-    deps = [":gnmi_proto"],
     visibility = ["//visibility:public"],
+    deps = [":gnmi_proto"],
 )
 
 java_grpc_library(
@@ -39,5 +39,5 @@
     deps = [
         "@com_google_protobuf//:any_proto",
         "@com_google_protobuf//:descriptor_proto",
-    ]
+    ],
 )
diff --git a/protocols/grpc/BUILD b/protocols/grpc/BUILD
index 56218f0..a01155b 100644
--- a/protocols/grpc/BUILD
+++ b/protocols/grpc/BUILD
@@ -32,18 +32,18 @@
     "@io_netty_netty_resolver//jar",
 ]
 
-onos_app (
+onos_app(
     app_name = "org.onosproject.protocols.grpc",
-    title = "gRPC Protocol Subsystem",
     category = "rotocol",
-    url = "ttp://onosproject.org",
     description = "Exposes APIs to operate with gRPC channels",
     included_bundles = BUNDLES,
+    title = "gRPC Protocol Subsystem",
+    url = "ttp://onosproject.org",
 )
 
 wrapped_osgi_jar(
     name = "grpc-core-repkg",
-    jar = "@io_grpc_grpc_java//core:core",
-    deps = ["@io_opencensus_opencensus_api//jar"],
+    jar = "@io_grpc_grpc_java//core",
     visibility = ["//visibility:public"],
+    deps = ["@io_opencensus_opencensus_api//jar"],
 )
diff --git a/protocols/grpc/api/BUILD b/protocols/grpc/api/BUILD
index f7fee65..55e2b4a 100644
--- a/protocols/grpc/api/BUILD
+++ b/protocols/grpc/api/BUILD
@@ -1,3 +1,3 @@
-osgi_jar (
+osgi_jar(
     deps = CORE_DEPS + ["@io_grpc_grpc_java//core"],
 )
diff --git a/protocols/grpc/ctl/BUILD b/protocols/grpc/ctl/BUILD
index a4c063f..20c7ab8 100644
--- a/protocols/grpc/ctl/BUILD
+++ b/protocols/grpc/ctl/BUILD
@@ -4,6 +4,6 @@
     "@io_grpc_grpc_java//core",
 ]
 
-osgi_jar (
+osgi_jar(
     deps = COMPILE_DEPS,
 )
diff --git a/protocols/grpc/proto/BUILD b/protocols/grpc/proto/BUILD
index fb4c33c..48249c0 100644
--- a/protocols/grpc/proto/BUILD
+++ b/protocols/grpc/proto/BUILD
@@ -1,8 +1,8 @@
 load("//tools/build/bazel:osgi_java_library.bzl", "osgi_proto_jar")
 
 osgi_proto_jar(
-    proto_libs = [":dummy_proto"],
     grpc_proto_lib = ":dummy_proto",
+    proto_libs = [":dummy_proto"],
 )
 
 proto_library(
diff --git a/protocols/p4runtime/BUILD b/protocols/p4runtime/BUILD
index 48e4708..39f6403 100644
--- a/protocols/p4runtime/BUILD
+++ b/protocols/p4runtime/BUILD
@@ -7,12 +7,12 @@
 
 onos_app(
     app_name = "org.onosproject.protocols.p4runtime",
-    title = "P4Runtime Protocol Subsystem",
     category = "Protocol",
-    url = "http://onosproject.org",
     description = "ONOS P4Runtime protocol subsystem",
     included_bundles = BUNDLES,
     required_apps = [
-        "org.onosproject.protocols.grpc"
+        "org.onosproject.protocols.grpc",
     ],
+    title = "P4Runtime Protocol Subsystem",
+    url = "http://onosproject.org",
 )
diff --git a/protocols/p4runtime/ctl/BUILD b/protocols/p4runtime/ctl/BUILD
index e060275..9418b80 100644
--- a/protocols/p4runtime/ctl/BUILD
+++ b/protocols/p4runtime/ctl/BUILD
@@ -17,6 +17,6 @@
 ]
 
 osgi_jar_with_tests(
-    deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
+    deps = COMPILE_DEPS,
 )
diff --git a/protocols/p4runtime/proto/BUILD b/protocols/p4runtime/proto/BUILD
index 3a9435c..fc4e42e 100644
--- a/protocols/p4runtime/proto/BUILD
+++ b/protocols/p4runtime/proto/BUILD
@@ -1,19 +1,21 @@
 load("//tools/build/bazel:osgi_java_library.bzl", "osgi_proto_jar")
 
 PROTOS = [
-    "@com_github_p4lang_p4runtime//:" + p for p in [
+    "@com_github_p4lang_p4runtime//:" + p
+    for p in [
         "p4info_proto",
         "p4types_proto",
         "p4data_proto",
         "p4runtime_proto",
-]] + [
-    "@com_github_p4lang_pi//:p4config_proto"
+    ]
+] + [
+    "@com_github_p4lang_pi//:p4config_proto",
 ]
 
 osgi_proto_jar(
-    proto_libs = PROTOS,
     grpc_proto_lib = "@com_github_p4lang_p4runtime//:p4runtime_proto",
+    proto_libs = PROTOS,
     deps = [
         "@com_google_api_grpc_proto_google_common_protos//jar",
-    ]
+    ],
 )
diff --git a/protocols/rest/ctl/BUILD b/protocols/rest/ctl/BUILD
index f7fd3ea..d3b9c30 100644
--- a/protocols/rest/ctl/BUILD
+++ b/protocols/rest/ctl/BUILD
@@ -14,10 +14,10 @@
 ]
 
 TEST_DEPS = TEST_REST + [
-    "//core/common:onos-core-common-tests"
+    "//core/common:onos-core-common-tests",
 ]
 
 osgi_jar_with_tests(
-    deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
+    deps = COMPILE_DEPS,
 )