mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
316bbe87c6
PiperOrigin-RevId: 421941454 Change-Id: Ia374f1e5d169d1f28989ae8a2d336b41cc7cac9d
108 lines
1.8 KiB
Plaintext
108 lines
1.8 KiB
Plaintext
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
[cc_library(
|
|
name = n,
|
|
) for n in [
|
|
"config",
|
|
"core_headers",
|
|
"base_internal",
|
|
"dynamic_annotations",
|
|
"atomic_hook",
|
|
"errno_saver",
|
|
"fast_type_id",
|
|
"pretty_function",
|
|
]]
|
|
|
|
cc_library(
|
|
name = "log_severity",
|
|
linkopts = ["-labsl_log_severity"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "raw_logging_internal",
|
|
linkopts = ["-labsl_raw_logging_internal"],
|
|
visibility = [
|
|
"//absl:__subpackages__",
|
|
],
|
|
deps = [
|
|
":log_severity",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "spinlock_wait",
|
|
linkopts = ["-labsl_spinlock_wait"],
|
|
visibility = [
|
|
"//absl/base:__pkg__",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "malloc_internal",
|
|
linkopts = [
|
|
"-labsl_malloc_internal",
|
|
"-pthread",
|
|
],
|
|
deps = [
|
|
":base",
|
|
":raw_logging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "base",
|
|
linkopts = [
|
|
"-labsl_base",
|
|
"-pthread",
|
|
],
|
|
deps = [
|
|
":log_severity",
|
|
":raw_logging_internal",
|
|
":spinlock_wait",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "throw_delegate",
|
|
linkopts = ["-labsl_throw_delegate"],
|
|
visibility = [
|
|
"//absl:__subpackages__",
|
|
],
|
|
deps = [
|
|
":raw_logging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "endian",
|
|
deps = [
|
|
":base",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "exponential_biased",
|
|
linkopts = ["-labsl_exponential_biased"],
|
|
visibility = [
|
|
"//absl:__subpackages__",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "periodic_sampler",
|
|
linkopts = ["-labsl_periodic_sampler"],
|
|
deps = [
|
|
":exponential_biased",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "strerror",
|
|
linkopts = ["-labsl_strerror"],
|
|
visibility = [
|
|
"//absl:__subpackages__",
|
|
],
|
|
)
|