buildifier reformatting of bazel files
Change-Id: I1645613ec9dc57e659e7036634fcf3f3992b05a7
diff --git a/drivers/barefoot/BUILD b/drivers/barefoot/BUILD
index ead7a3b..f86f1e3 100644
--- a/drivers/barefoot/BUILD
+++ b/drivers/barefoot/BUILD
@@ -7,19 +7,19 @@
]
osgi_jar(
- deps = COMPILE_DEPS,
- resources_root = "src/main/resources",
resources = glob(["src/main/resources/**"]),
+ resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
)
-onos_app (
+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",
],
+ title = "Barefoot Drivers",
+ url = "http://onosproject.org",
)
diff --git a/drivers/bmv2/BUILD b/drivers/bmv2/BUILD
index 07fef1a..d5356c3 100644
--- a/drivers/bmv2/BUILD
+++ b/drivers/bmv2/BUILD
@@ -18,22 +18,20 @@
]
osgi_jar(
- deps = COMPILE_DEPS,
# FIXME: enable building other classes as soon as we implement BUILD for
# protocols/bmv2 (based on Thrift)
srcs = [
"src/main/java/org/onosproject/drivers/bmv2/Bmv2DriversLoader.java",
"src/main/java/org/onosproject/drivers/bmv2/Bmv2PipelineProgrammable.java",
],
- resources_root = "src/main/resources",
resources = glob(["src/main/resources/**"]),
+ resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
)
-onos_app (
+onos_app(
app_name = "org.onosproject.drivers.bmv2",
- title = "BMv2 Drivers",
category = "Drivers",
- url = "http://onosproject.org",
description = "Adds support for BMv2 devices.",
included_bundles = BUNDLES,
required_apps = [
@@ -41,4 +39,6 @@
"org.onosproject.drivers.gnmi",
"org.onosproject.pipelines.basic",
],
+ title = "BMv2 Drivers",
+ url = "http://onosproject.org",
)
diff --git a/drivers/gnmi/BUILD b/drivers/gnmi/BUILD
index 82df068..50d8b5e 100644
--- a/drivers/gnmi/BUILD
+++ b/drivers/gnmi/BUILD
@@ -14,23 +14,23 @@
":onos-drivers-gnmi",
]
-osgi_jar (
- deps = COMPILE_DEPS,
+osgi_jar(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
)
-onos_app (
+onos_app(
app_name = "org.onosproject.drivers.gnmi",
- title = "gNMI Drivers",
category = "Drivers",
- url = "http://onosproject.org",
description = "Adds support for devices using gNMI protocol based on " +
- " openconfig models: http://openconfig.net/ .",
+ " openconfig models: http://openconfig.net/ .",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.generaldeviceprovider",
"org.onosproject.protocols.grpc",
- "org.onosproject.protocols.gnmi"
+ "org.onosproject.protocols.gnmi",
],
+ title = "gNMI Drivers",
+ url = "http://onosproject.org",
)
diff --git a/drivers/mellanox/BUILD b/drivers/mellanox/BUILD
index 4faeb31..4c091f1 100644
--- a/drivers/mellanox/BUILD
+++ b/drivers/mellanox/BUILD
@@ -7,20 +7,20 @@
]
osgi_jar(
- deps = COMPILE_DEPS,
- resources_root = "src/main/resources",
resources = glob(["src/main/resources/**"]),
+ resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
)
-onos_app (
+onos_app(
app_name = "org.onosproject.drivers.mellanox",
- title = "Mellanox Drivers",
category = "Drivers",
- url = "http://onosproject.org",
description = "Adds support for Mellanox Spectrum-based devices using P4Runtime",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.drivers.p4runtime",
"org.onosproject.pipelines.fabric",
],
+ title = "Mellanox Drivers",
+ url = "http://onosproject.org",
)
diff --git a/drivers/p4runtime/BUILD b/drivers/p4runtime/BUILD
index 1107577..7f917cd 100644
--- a/drivers/p4runtime/BUILD
+++ b/drivers/p4runtime/BUILD
@@ -8,17 +8,15 @@
":onos-drivers-p4runtime",
]
-osgi_jar (
- deps = COMPILE_DEPS,
+osgi_jar(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
)
-onos_app (
+onos_app(
app_name = "org.onosproject.drivers.p4runtime",
- title = "P4Runtime Drivers",
category = "Drivers",
- url = "http://onosproject.org",
description = "Adds support for devices using P4 Runtime protocol.",
included_bundles = BUNDLES,
required_apps = [
@@ -27,4 +25,6 @@
"org.onosproject.p4runtime",
"org.onosproject.drivers",
],
+ title = "P4Runtime Drivers",
+ url = "http://onosproject.org",
)