blob: 9548e4120882309398a293f2cb4d066481ff20a7 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001python_binary(
Brian O'Connor1f165982016-04-06 21:36:09 -07002 name = 'onos-app-writer',
3 main = 'onos_app.py',
4 deps = [],
5 visibility = ['PUBLIC'],
6)
7
8python_binary(
9 name = 'onos-app-oar',
10 main = 'onos_oar.py',
11 deps = [],
12 visibility = ['PUBLIC'],
13)
14
Brian O'Connor0167bd42016-04-29 17:09:10 -070015python_binary(
16 name = 'onos-stage',
17 main = 'onos_stage.py',
18 deps = [],
19 visibility = ['PUBLIC'],
20)
21
22python_binary(
23 name = 'onos-feature',
24 main = 'onos_feature.py',
25 deps = [],
26 visibility = ['PUBLIC'],
27)
Brian O'Connor1f165982016-04-06 21:36:09 -070028
Ray Milkeyf80bbb22016-03-11 10:16:22 -080029def shquote(s):
30 return s.replace("'", "'\\''")
31
32def os_path():
33 from os import environ
34 return environ.get('PATH')
35
36genrule(
37 name = 'buck',
38 cmd = 'echo buck=`which buck`>$OUT;' +
39 ("echo PATH=\''%s'\' >>$OUT;" % shquote(os_path())),
40 out = 'buck.properties',
41 visibility = ['PUBLIC'],
42)
43
Thomas Vachuska73436b52017-03-22 19:50:47 -070044export_file(
45 name = 'yang-registrator',
46 src = 'yang-registrator',
47 visibility = [ 'PUBLIC' ],
48)
49
50export_file(
51 name = 'yang-schema',
52 src = 'yang-schema',
53 visibility = [ 'PUBLIC' ],
54)
Aaron Kruglikove630fb12017-04-24 13:05:26 -070055
56export_file(
57 name = 'grpc',
58 src = 'grpc',
59 visibility = [ 'PUBLIC' ],
60)