[Bazel] Fix libc Bazel build for 29be889c2c9c9a92e7ed89bd71d141961517d7e5
This commit is contained in:
parent
20d38158ff
commit
7eb59a1ef9
@ -1076,6 +1076,22 @@ libc_support_library(
|
||||
],
|
||||
)
|
||||
|
||||
libc_support_library(
|
||||
name = "__support_osutil_pid",
|
||||
srcs = ["src/__support/OSUtil/linux/pid.cpp"],
|
||||
hdrs = ["src/__support/OSUtil/pid.h"],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:linux": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
deps = [
|
||||
":__support_macros_attributes",
|
||||
":__support_macros_optimization",
|
||||
":__support_osutil_syscall",
|
||||
":types_pid_t",
|
||||
]
|
||||
)
|
||||
|
||||
libc_support_library(
|
||||
name = "__support_stringutil",
|
||||
srcs = glob(["src/__support/StringUtil/tables/**/*.h"]) + [
|
||||
@ -3032,8 +3048,11 @@ libc_function(
|
||||
hdrs = ["src/unistd/getpid.h"],
|
||||
deps = [
|
||||
":__support_common",
|
||||
":__support_macros_config",
|
||||
":__support_osutil_pid",
|
||||
":__support_osutil_syscall",
|
||||
":errno",
|
||||
":types_pid_t",
|
||||
],
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user