File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,17 @@ mongo_cc_library(
5151 ],
5252)
5353
54+ mongo_cc_library (
55+ name = "audit_impl_shim" ,
56+ srcs = [],
57+ deps = select ({
58+ "//bazel/config:audit_enabled" : [
59+ ":audit_impl" ,
60+ ],
61+ "//conditions:default" : [],
62+ }),
63+ )
64+
5465# Please note that the `commands` library (@see below) depends on
5566# the `audit` library and the `audit_commands` depends on `commands`.
5667mongo_cc_library (
Original file line number Diff line number Diff line change @@ -1259,6 +1259,7 @@ mongo_cc_benchmark(
12591259 ":startup_initialization" ,
12601260 "//src/mongo/db:read_write_concern_defaults_mock" ,
12611261 "//src/mongo/db:service_context_non_d" ,
1262+ "//src/mongo/db/audit:audit_impl_shim" ,
12621263 "//src/mongo/db/auth:authserver" ,
12631264 "//src/mongo/rpc:message" ,
12641265 "//src/mongo/unittest:benchmark_util" ,
You can’t perform that action at this time.
0 commit comments