Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + KRYO + JACKSON + [ |
| 2 | "//core/store/serializers:onos-core-serializers", |
| 3 | "//drivers/p4runtime:onos-drivers-p4runtime", |
| 4 | "//pipelines/basic:onos-pipelines-basic", |
| 5 | "//protocols/p4runtime/api:onos-protocols-p4runtime-api", |
| 6 | "//protocols/p4runtime/model:onos-protocols-p4runtime-model", |
| 7 | "@io_grpc_grpc_java//core", |
| 8 | "@io_grpc_grpc_java//netty", |
| 9 | "@minimal_json//jar", |
| 10 | # "//protocols/bmv2/thrift-api:onos-protocols-bmv2-thrift-api", |
| 11 | #"//lib:libthrift", |
| 12 | ] |
| 13 | |
| 14 | BUNDLES = [ |
| 15 | ":onos-drivers-bmv2", |
| 16 | # "//lib:libthrift", |
| 17 | # "//protocols/bmv2/thrift-api:onos-protocols-bmv2-thrift-api", |
| 18 | ] |
| 19 | |
| 20 | osgi_jar( |
| 21 | deps = COMPILE_DEPS, |
| 22 | # FIXME: enable building other classes as soon as we implement BUILD for |
| 23 | # protocols/bmv2 (based on Thrift) |
| 24 | srcs = ["src/main/java/org/onosproject/drivers/bmv2/Bmv2PipelineProgrammable.java"], |
| 25 | resources_root = "src/main/resources", |
| 26 | resources = glob(["src/main/resources/**"]), |
| 27 | ) |
| 28 | |
| 29 | onos_app ( |
| 30 | app_name = "org.onosproject.drivers.bmv2", |
| 31 | title = "BMv2 Drivers", |
| 32 | category = "Drivers", |
| 33 | url = "http://onosproject.org", |
| 34 | description = "Adds support for BMv2 devices.", |
| 35 | included_bundles = BUNDLES, |
| 36 | required_apps = [ |
| 37 | "org.onosproject.drivers.p4runtime", |
| 38 | "org.onosproject.drivers.gnmi", |
| 39 | "org.onosproject.pipelines.basic", |
| 40 | ], |
| 41 | ) |