blob: 1633a15fd6dd18211b912939f37bc096949df5e1 [file] [log] [blame]
Carmelo Cascone41644362018-08-09 16:56:43 -07001COMPILE_DEPS = CORE_DEPS + [
2 "//drivers/p4runtime:onos-drivers-p4runtime",
3]
4
pierventre85208182021-09-02 19:16:32 +02005TEST_DEPS = TEST_ADAPTERS
6
Carmelo Cascone41644362018-08-09 16:56:43 -07007BUNDLES = [
8 ":onos-drivers-barefoot",
9]
10
pierventre85208182021-09-02 19:16:32 +020011osgi_jar_with_tests(
Carmelo Cascone41644362018-08-09 16:56:43 -070012 resources = glob(["src/main/resources/**"]),
Ray Milkey05d609a2018-08-15 10:27:58 -070013 resources_root = "src/main/resources",
pierventre85208182021-09-02 19:16:32 +020014 test_deps = TEST_DEPS,
Ray Milkey05d609a2018-08-15 10:27:58 -070015 deps = COMPILE_DEPS,
Carmelo Cascone41644362018-08-09 16:56:43 -070016)
17
Ray Milkey05d609a2018-08-15 10:27:58 -070018onos_app(
Carmelo Cascone41644362018-08-09 16:56:43 -070019 app_name = "org.onosproject.drivers.barefoot",
Carmelo Cascone41644362018-08-09 16:56:43 -070020 category = "Drivers",
Carmelo Cascone1ae25062019-03-07 16:02:22 -080021 description = "Adds support for switches based on Barefoot Networks ASICs",
Carmelo Cascone41644362018-08-09 16:56:43 -070022 included_bundles = BUNDLES,
23 required_apps = [
Carmelo Cascone1ae25062019-03-07 16:02:22 -080024 "org.onosproject.drivers.stratum",
Carmelo Cascone41644362018-08-09 16:56:43 -070025 "org.onosproject.drivers.p4runtime",
26 ],
Ray Milkey05d609a2018-08-15 10:27:58 -070027 title = "Barefoot Drivers",
28 url = "http://onosproject.org",
Carmelo Cascone41644362018-08-09 16:56:43 -070029)