| GRPC_VER = '1.3.1' |
| |
| COMPILE_DEPS = [ |
| '//lib:CORE_DEPS', |
| '//drivers/barefoot:onos-drivers-barefoot', |
| '//drivers/p4runtime:onos-drivers-p4runtime', |
| '//providers/general/device:onos-providers-general-device', |
| '//incubator/api:onos-incubator-api', |
| ':thrift', |
| ] |
| |
| BUNDLES = [ |
| ':onos-drivers-barefoot-pro', |
| ':thrift', |
| ] |
| |
| osgi_jar( |
| deps = COMPILE_DEPS, |
| ) |
| |
| onos_app( |
| app_name = 'org.onosproject.drivers.barefoot-pro', |
| title = 'Barefoot-Pro Drivers', |
| category = 'Drivers', |
| url = 'http://onosproject.org', |
| description = 'Adds support for Barefoot-based devices using both open and proprietary APIs', |
| included_bundles = BUNDLES, |
| required_apps = [ |
| 'org.onosproject.drivers.barefoot', |
| ], |
| ) |
| |
| remote_jar( |
| name = 'thrift', |
| out = 'thrift-0.11.0.jar', |
| url = 'mvn:org.apache.thrift:libthrift:jar:0.11.0', |
| sha1 = '4f4f1c1fbbae63258625dea71007fa41bee7edb3', |
| maven_coords = 'org.apache.thrift:libthrift:jar:NON-OSGI:0.11.0', |
| ) |