Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | python_binary( |
Brian O'Connor | 1f16598 | 2016-04-06 21:36:09 -0700 | [diff] [blame] | 2 | name = 'onos-app-writer', |
| 3 | main = 'onos_app.py', |
| 4 | deps = [], |
| 5 | visibility = ['PUBLIC'], |
| 6 | ) |
| 7 | |
| 8 | python_binary( |
| 9 | name = 'onos-app-oar', |
| 10 | main = 'onos_oar.py', |
| 11 | deps = [], |
| 12 | visibility = ['PUBLIC'], |
| 13 | ) |
| 14 | |
Brian O'Connor | 0167bd4 | 2016-04-29 17:09:10 -0700 | [diff] [blame] | 15 | python_binary( |
| 16 | name = 'onos-stage', |
| 17 | main = 'onos_stage.py', |
| 18 | deps = [], |
| 19 | visibility = ['PUBLIC'], |
| 20 | ) |
| 21 | |
| 22 | python_binary( |
| 23 | name = 'onos-feature', |
| 24 | main = 'onos_feature.py', |
| 25 | deps = [], |
| 26 | visibility = ['PUBLIC'], |
| 27 | ) |
Brian O'Connor | 1f16598 | 2016-04-06 21:36:09 -0700 | [diff] [blame] | 28 | |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 29 | def shquote(s): |
| 30 | return s.replace("'", "'\\''") |
| 31 | |
| 32 | def os_path(): |
| 33 | from os import environ |
| 34 | return environ.get('PATH') |
| 35 | |
| 36 | genrule( |
| 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 Vachuska | 73436b5 | 2017-03-22 19:50:47 -0700 | [diff] [blame] | 44 | export_file( |
| 45 | name = 'yang-registrator', |
| 46 | src = 'yang-registrator', |
| 47 | visibility = [ 'PUBLIC' ], |
| 48 | ) |
| 49 | |
| 50 | export_file( |
| 51 | name = 'yang-schema', |
| 52 | src = 'yang-schema', |
| 53 | visibility = [ 'PUBLIC' ], |
| 54 | ) |
Aaron Kruglikov | e630fb1 | 2017-04-24 13:05:26 -0700 | [diff] [blame] | 55 | |
| 56 | export_file( |
| 57 | name = 'grpc', |
| 58 | src = 'grpc', |
| 59 | visibility = [ 'PUBLIC' ], |
| 60 | ) |