Carmelo Cascone | d412984 | 2018-01-31 14:45:43 -0800 | [diff] [blame] | 1 | GRPC_VER = '1.3.1' |
| 2 | |
| 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
| 5 | '//drivers/barefoot:onos-drivers-barefoot', |
| 6 | '//drivers/p4runtime:onos-drivers-p4runtime', |
| 7 | '//providers/general/device:onos-providers-general-device', |
| 8 | '//incubator/api:onos-incubator-api', |
| 9 | ':thrift', |
| 10 | ] |
| 11 | |
| 12 | BUNDLES = [ |
| 13 | ':onos-drivers-barefoot-pro', |
| 14 | ':thrift', |
| 15 | ] |
| 16 | |
| 17 | osgi_jar( |
| 18 | deps = COMPILE_DEPS, |
| 19 | ) |
| 20 | |
| 21 | onos_app( |
| 22 | app_name = 'org.onosproject.drivers.barefoot-pro', |
| 23 | title = 'Barefoot-Pro Drivers', |
| 24 | category = 'Drivers', |
| 25 | url = 'http://onosproject.org', |
| 26 | description = 'Adds support for Barefoot-based devices using both open and proprietary APIs', |
| 27 | included_bundles = BUNDLES, |
| 28 | required_apps = [ |
| 29 | 'org.onosproject.drivers.barefoot', |
| 30 | ], |
| 31 | ) |
| 32 | |
| 33 | remote_jar( |
| 34 | name = 'thrift', |
| 35 | out = 'thrift-0.11.0.jar', |
| 36 | url = 'mvn:org.apache.thrift:libthrift:jar:0.11.0', |
| 37 | sha1 = '4f4f1c1fbbae63258625dea71007fa41bee7edb3', |
| 38 | maven_coords = 'org.apache.thrift:libthrift:jar:NON-OSGI:0.11.0', |
| 39 | ) |