Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + KRYO + [ |
| 2 | "//core/store/serializers:onos-core-serializers", |
| 3 | "//protocols/p4runtime/api:onos-protocols-p4runtime-api", |
| 4 | "@io_grpc_grpc_java//core", |
| 5 | ] |
| 6 | |
| 7 | BUNDLES = [ |
| 8 | ":onos-drivers-p4runtime", |
| 9 | ] |
| 10 | |
| 11 | osgi_jar ( |
| 12 | deps = COMPILE_DEPS, |
| 13 | resources = glob(["src/main/resources/**"]), |
| 14 | resources_root = "src/main/resources", |
| 15 | ) |
| 16 | |
| 17 | onos_app ( |
| 18 | app_name = "org.onosproject.drivers.p4runtime", |
| 19 | title = "P4Runtime Drivers", |
| 20 | category = "Drivers", |
| 21 | url = "http://onosproject.org", |
| 22 | description = "Adds support for devices using P4 Runtime protocol.", |
| 23 | included_bundles = BUNDLES, |
| 24 | required_apps = [ |
| 25 | "org.onosproject.generaldeviceprovider", |
| 26 | "org.onosproject.protocols.p4runtime", |
| 27 | "org.onosproject.p4runtime", |
| 28 | "org.onosproject.drivers", |
| 29 | ], |
| 30 | ) |