Adding APPS as sources to the Bazel package build rule.
Change-Id: I9444d255d0ec2d6680ab8fd98567ed44d9a0c53f
diff --git a/drivers/default/BUILD b/drivers/default/BUILD
index b609975..e5649d2 100644
--- a/drivers/default/BUILD
+++ b/drivers/default/BUILD
@@ -4,14 +4,24 @@
"//core/store/serializers:onos-core-serializers",
]
-TEST_DEPS = TEST_ADAPTERS + [
- "//core/api:onos-api-tests",
+BUNDLES = [
+ ":onos-drivers-default",
+ "@openflowj//jar",
+ "//protocols/openflow/api:onos-protocols-openflow-api",
]
osgi_jar_with_tests(
- #resources_root = 'src/main/resources',
resources = glob(["src/main/resources/**"]),
- test_deps = TEST_DEPS,
+ test_deps = TEST_ADAPTERS,
visibility = ["//visibility:public"],
deps = COMPILE_DEPS,
)
+
+onos_app(
+ app_name = "org.onosproject.drivers",
+ category = "Drivers",
+ description = "Suite of default drivers.",
+ included_bundles = BUNDLES,
+ title = "Default Drivers",
+ url = "http://onosproject.org",
+)
\ No newline at end of file