mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
316bbe87c6
PiperOrigin-RevId: 421941454 Change-Id: Ia374f1e5d169d1f28989ae8a2d336b41cc7cac9d
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
cc_library(
|
|
name = "stacktrace",
|
|
linkopts = ["-labsl_stacktrace"],
|
|
deps = [
|
|
":debugging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "symbolize",
|
|
linkopts = ["-labsl_symbolize"],
|
|
deps = [
|
|
":debugging_internal",
|
|
":demangle_internal",
|
|
"//absl/base",
|
|
"//absl/base:dynamic_annotations",
|
|
"//absl/base:malloc_internal",
|
|
"//absl/base:raw_logging_internal",
|
|
"//absl/strings",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "failure_signal_handler",
|
|
linkopts = [
|
|
"-labsl_failure_signal_handler",
|
|
"-labsl_examine_stack",
|
|
],
|
|
deps = [
|
|
":stacktrace",
|
|
":symbolize",
|
|
"//absl/base",
|
|
"//absl/base:errno_saver",
|
|
"//absl/base:raw_logging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "debugging_internal",
|
|
linkopts = ["-labsl_debugging_internal"],
|
|
deps = [
|
|
"//absl/base:dynamic_annotations",
|
|
"//absl/base:errno_saver",
|
|
"//absl/base:raw_logging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "demangle_internal",
|
|
linkopts = ["-labsl_demangle_internal"],
|
|
deps = [
|
|
"//absl/base",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "leak_check",
|
|
linkopts = ["-labsl_leak_check"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "leak_check_disable",
|
|
linkopts = ["-labsl_leak_check_disable"],
|
|
alwayslink = 1,
|
|
)
|