Skip to content

Commit

Permalink
[eclipse-iceoryx#439] Add bazel support for iceoryx2
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Oct 7, 2024
1 parent 0a0ce38 commit e0350ff
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions iceoryx2/BUILD.bazel
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

0 comments on commit e0350ff

Please sign in to comment.