mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[bazel] Hide wpinet implementation headers (#7941)
The headers in wpinet/src/main/native/cpp/*.h aren't intended to be used by dependents, so they shouldn't get propagated.
This commit is contained in:
@@ -120,6 +120,9 @@ cc_library(
|
||||
":tcpsockets-srcs",
|
||||
] + ["native-srcs"],
|
||||
hdrs = glob(["src/main/native/include/**/*"]),
|
||||
implementation_deps = [
|
||||
":private_includes",
|
||||
],
|
||||
includes = ["src/main/native/include"],
|
||||
linkopts = select({
|
||||
"@bazel_tools//src/conditions:linux": ["-ldl"],
|
||||
@@ -129,7 +132,6 @@ cc_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":libuv-headers",
|
||||
":private_includes",
|
||||
":tcpsockets-headers",
|
||||
"//wpiutil:wpiutil.static",
|
||||
],
|
||||
@@ -153,6 +155,7 @@ cc_test(
|
||||
]),
|
||||
tags = ["no-asan"],
|
||||
deps = [
|
||||
":private_includes",
|
||||
":wpinet.static",
|
||||
"//thirdparty/googletest:googletest.static",
|
||||
"//wpiutil:wpiutil-testlib",
|
||||
|
||||
Reference in New Issue
Block a user