reformat bazel files to use Google coding standards
Change-Id: I320f0ca7ccb1b2247ccdd9fa58fefca7dad8a16f
diff --git a/core/api/BUILD b/core/api/BUILD
index be731ad..48ba6ae 100644
--- a/core/api/BUILD
+++ b/core/api/BUILD
@@ -1,27 +1,27 @@
COMPILE_DEPS = COMPILE + NETTY + JACKSON + METRICS + KRYO + [
- '//utils/misc:onlab-misc',
- '//utils/osgi:onlab-osgi',
- '//utils/rest:onlab-rest',
- '@joda_time//jar',
- '@netty//jar',
+ "//utils/misc:onlab-misc",
+ "//utils/osgi:onlab-osgi",
+ "//utils/rest:onlab-rest",
+ "@joda_time//jar",
+ "@netty//jar",
]
-osgi_jar_with_tests (
- name = 'onos-api',
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
+ name = "onos-api",
exclude_tests = [
- 'org.onosproject.net.config.basics.AbstractConfigTest',
- 'org.onosproject.net.driver.AbstractDriverLoaderTest',
- 'org.onosproject.net.intent.AbstractIntentTest',
- 'org.onosproject.net.intent.ConnectivityIntentTest',
- 'org.onosproject.net.intent.IntentTest',
- 'org.onosproject.net.pi.runtime.PiConstantsTest',
- 'org.onosproject.security.SecurityUtilTest',
- 'org.onosproject.ui.AbstractUiTest',
- 'org.onosproject.ui.model.AbstractUiModelTest',
- 'org.onosproject.net.behaviour.QosIdTest',
+ "org.onosproject.net.config.basics.AbstractConfigTest",
+ "org.onosproject.net.driver.AbstractDriverLoaderTest",
+ "org.onosproject.net.intent.AbstractIntentTest",
+ "org.onosproject.net.intent.ConnectivityIntentTest",
+ "org.onosproject.net.intent.IntentTest",
+ "org.onosproject.net.pi.runtime.PiConstantsTest",
+ "org.onosproject.security.SecurityUtilTest",
+ "org.onosproject.ui.AbstractUiTest",
+ "org.onosproject.ui.model.AbstractUiModelTest",
+ "org.onosproject.net.behaviour.QosIdTest",
],
visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
#javadoc_files = glob(['src/main/javadoc/**/*']),
#javadoc_files_root = 'src/main/javadoc',
)
diff --git a/core/common/BUILD b/core/common/BUILD
index 7e4e557..be7fd44 100644
--- a/core/common/BUILD
+++ b/core/common/BUILD
@@ -1,11 +1,11 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + [
- '//incubator/api:onos-incubator-api',
+ "//incubator/api:onos-incubator-api",
]
-TEST_DEPS = TEST + ['//core/api:onos-api-tests']
+TEST_DEPS = TEST + ["//core/api:onos-api-tests"]
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
test_deps = TEST_DEPS,
visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
)
diff --git a/core/store/dist/BUILD b/core/store/dist/BUILD
index 0608650..c48acda 100644
--- a/core/store/dist/BUILD
+++ b/core/store/dist/BUILD
@@ -1,28 +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',
+ "//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',
+ "//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,
+osgi_jar_with_tests(
+ name = "onos-core-dist",
exclude_tests = [
- 'org.onosproject.store.link.impl.ECLinkStoreTest',
- 'org.onosproject.store.flow.impl.DistributedFlowRuleStoreTest',
+ "org.onosproject.store.link.impl.ECLinkStoreTest",
+ "org.onosproject.store.flow.impl.DistributedFlowRuleStoreTest",
],
+ test_deps = TEST_DEPS,
visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
)
diff --git a/core/store/serializers/BUILD b/core/store/serializers/BUILD
index 83c05e3..6b51c34 100644
--- a/core/store/serializers/BUILD
+++ b/core/store/serializers/BUILD
@@ -1,12 +1,12 @@
COMPILE_DEPS = CORE_DEPS + KRYO + [
- '//incubator/api:onos-incubator-api',
+ "//incubator/api:onos-incubator-api",
]
TEST_DEPS = TEST
-osgi_jar_with_tests (
- name = 'onos-core-serializers',
- deps = COMPILE_DEPS,
+osgi_jar_with_tests(
+ name = "onos-core-serializers",
test_deps = TEST_DEPS,
visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
)