ONOS-6987 To enable declarlation of required permissions of application in BUCK file
Change-Id: I7081769474d7a40ad527c56bf74bfba105ef6af3
diff --git a/bucklets/onos_app.bucklet b/bucklets/onos_app.bucklet
index 14e1d72..193574b 100644
--- a/bucklets/onos_app.bucklet
+++ b/bucklets/onos_app.bucklet
@@ -136,6 +136,7 @@
included_bundles = None,
excluded_bundles = [],
visibility = [ 'PUBLIC' ],
+ security = None,
**kwargs):
if name is None:
name = _get_name()
@@ -174,6 +175,8 @@
args += [ '-d %s' % a for a in required_apps ]
if description is not None:
args += [ '-D "%s"' % description ]
+ if security is not None:
+ args += [ '-s "%s"' % security ]
# cmd = '$(exe //buck-tools:onos-app-writer) -F ' + ' '.join(args) + ' > $OUT'
# genrule(