buildifier formatting of bazel files
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
diff --git a/tools/build/bazel/onos_app.bzl b/tools/build/bazel/onos_app.bzl
index fb2840a..2431374 100644
--- a/tools/build/bazel/onos_app.bzl
+++ b/tools/build/bazel/onos_app.bzl
@@ -106,7 +106,7 @@
for feature in required_features:
arguments += ["-f", feature]
for app in required_apps:
- arguments += ["-d", app]
+ arguments += ["-d", app]
if security != "":
arguments += ["-s", security]
diff --git a/tools/build/bazel/osgi_features.bzl b/tools/build/bazel/osgi_features.bzl
index 9683789..10700a5 100644
--- a/tools/build/bazel/osgi_features.bzl
+++ b/tools/build/bazel/osgi_features.bzl
@@ -24,10 +24,14 @@
# Implementation of a rule to produce an OSGi feature XML snippet
def _osgi_feature_impl(ctx):
xmlArgs = [
- "-O", ctx.outputs.feature_xml.path,
- "-n", ctx.attr.name,
- "-v", ctx.attr.version,
- "-t", ctx.attr.description,
+ "-O",
+ ctx.outputs.feature_xml.path,
+ "-n",
+ ctx.attr.name,
+ "-v",
+ ctx.attr.version,
+ "-t",
+ ctx.attr.description,
]
bundleArgs = [ctx.outputs.bundle_zip.path]
inputs = []
diff --git a/tools/build/bazel/osgi_java_library.bzl b/tools/build/bazel/osgi_java_library.bzl
index 77d791b..6c8a381 100644
--- a/tools/build/bazel/osgi_java_library.bzl
+++ b/tools/build/bazel/osgi_java_library.bzl
@@ -114,10 +114,9 @@
deps.append(ctx.attr.source[java_common.provider])
deps_provider = java_common.merge(deps)
return struct(
- providers = [deps_provider]
+ providers = [deps_provider],
)
-
_bnd = rule(
attrs = {
"deps": attr.label_list(),
@@ -155,8 +154,7 @@
test_resources = None,
visibility = ["//visibility:public"],
version = ONOS_VERSION,
- import_packages = None,
- ):
+ import_packages = None):
if name == None:
name = "onos-" + native.package_name().replace("/", "-")
if srcs == None:
@@ -220,8 +218,7 @@
api_title = "",
api_version = "",
api_description = "",
- api_package = "",
- ):
+ api_package = ""):
if srcs == None:
srcs = _all_java_sources()
if deps == None:
diff --git a/tools/build/bazel/variables.bzl b/tools/build/bazel/variables.bzl
index a164970..7c32f8a 100644
--- a/tools/build/bazel/variables.bzl
+++ b/tools/build/bazel/variables.bzl
@@ -1,6 +1,6 @@
-ONOS_ORIGIN = 'ONOS Community'
-ONOS_GROUP_ID = 'org.onosproject'
-ONOS_VERSION = '1.14.0-SNAPSHOT'
-DEFAULT_APP_CATEGORY = 'Utility'
-ONOS_ARTIFACT_BASE = 'onos-'
-APP_PREFIX = ONOS_GROUP_ID + '.'
\ No newline at end of file
+ONOS_ORIGIN = "ONOS Community"
+ONOS_GROUP_ID = "org.onosproject"
+ONOS_VERSION = "1.14.0-SNAPSHOT"
+DEFAULT_APP_CATEGORY = "Utility"
+ONOS_ARTIFACT_BASE = "onos-"
+APP_PREFIX = ONOS_GROUP_ID + "."