forked from eclipse-iceoryx/iceoryx2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-iceoryx#439] Add bazel support for iceoryx2
- Loading branch information
1 parent
18d1087
commit 2290273
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache Software License 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0, or the MIT license | ||
# which is available at https://opensource.org/licenses/MIT. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
load("@rules_rust//rust:defs.bzl", "rust_library") | ||
|
||
rust_library( | ||
name = "iceoryx2", | ||
srcs = glob(["src/**/*.rs"]), | ||
deps = [ | ||
"@//iceoryx2-bb/container:iceoryx2-bb-container", | ||
"@//iceoryx2-bb/elementary:iceoryx2-bb-elementary", | ||
"@//iceoryx2-bb/lock-free:iceoryx2-bb-lock-free", | ||
"@//iceoryx2-bb/log:iceoryx2-bb-log", | ||
"@//iceoryx2-bb/memory:iceoryx2-bb-memory", | ||
"@//iceoryx2-bb/posix:iceoryx2-bb-posix", | ||
"@//iceoryx2-bb/system-types:iceoryx2-bb-system-types", | ||
"@//iceoryx2-cal:iceoryx2-cal", | ||
"@//iceoryx2-pal/concurrency-sync:iceoryx2-pal-concurrency-sync", | ||
"@crate_index//:cdr", | ||
"@crate_index//:lazy_static", | ||
"@crate_index//:serde", | ||
"@crate_index//:sha1_smol", | ||
"@crate_index//:tiny-fn", | ||
"@crate_index//:toml", | ||
], | ||
proc_macro_deps = [ | ||
"@//iceoryx2-bb/derive-macros:iceoryx2-bb-derive-macros", | ||
], | ||
) | ||
|
||
# TODO: [349] add feature flags | ||
# TODO: [349] add tests |