Build segment routing app with bazel
- add support for apps depending on other apps
- build files for route-service and segment routing
Change-Id: I4850aacfe050f802072e2d59a6a21bcefd784e67
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..c03ace3
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,13 @@
+BUNDLES = [
+ '//apps/segmentrouting/app:onos-apps-segmentrouting-app',
+ '//apps/segmentrouting/web:onos-apps-segmentrouting-web',
+]
+
+onos_app (
+ title = 'Segment Routing',
+ category = 'Traffic Steering',
+ url = 'http://onosproject.org',
+ included_bundles = BUNDLES,
+ description = 'Segment routing application.',
+ required_apps = [ 'org.onosproject.route-service', 'org.onosproject.mcast' ],
+)