blob: b0f27fbc2628957b1cd11c152b64480c9e06b17f [file] [log] [blame]
"""End-to-end example using C++ libraries with dependencies."""
load("//rs_bindings_from_cc/test:crubit_rust_test.bzl", "crubit_rust_test")
load("//rs_bindings_from_cc/test:test_bindings.bzl", "crubit_test_cc_library")
package(default_applicable_licenses = ["//:license"])
crubit_test_cc_library(
name = "dependency",
hdrs = ["dependency.h"],
)
crubit_test_cc_library(
name = "uses_dependency",
hdrs = ["uses_dependency.h"],
deps = [":dependency"],
)
crubit_rust_test(
name = "test",
srcs = ["test.rs"],
cc_deps = [
":dependency",
":uses_dependency",
],
)