mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
5670d0e29f
GitOrigin-RevId: 3f2b51e317558e6bb7b6d43e055430cf113c00ff
31 lines
745 B
Python
31 lines
745 B
Python
load("//bazel:mongo_src_rules.bzl", "symlink")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
# This is a hack to work around the fact that the cc_library flag additional_compiler_inputs doesn't
|
|
# exist in cc_binary. Instead, we add the denylists to srcs as header files to make them visible to
|
|
# the compiler executable.
|
|
symlink(
|
|
name = "asan_denylist_h",
|
|
input = "asan.denylist",
|
|
output = "asan.denylist.h",
|
|
)
|
|
|
|
symlink(
|
|
name = "msan_denylist_h",
|
|
input = "msan.denylist",
|
|
output = "msan.denylist.h",
|
|
)
|
|
|
|
symlink(
|
|
name = "tsan_denylist_h",
|
|
input = "tsan.denylist",
|
|
output = "tsan.denylist.h",
|
|
)
|
|
|
|
symlink(
|
|
name = "ubsan_denylist_h",
|
|
input = "ubsan.denylist",
|
|
output = "ubsan.denylist.h",
|
|
)
|