Prevent rtc_base:log_sinks from being defined in Chromium
This target belongs only to WebRTC and shouldn't be defined there. Bug: webrtc:9838 Change-Id: Id44573ed4649170820a5a61b68d6077784da8549 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290722 Reviewed-by: Jeremy Leconte <jleconte@google.com> Reviewed-by: Jeremy Leconte <jleconte@webrtc.org> Commit-Queue: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39041}
This commit is contained in:
parent
5ef5c2e9b8
commit
372cf8b824
@ -1315,17 +1315,19 @@ if (is_win) {
|
||||
}
|
||||
}
|
||||
|
||||
rtc_library("log_sinks") {
|
||||
sources = [
|
||||
"log_sinks.cc",
|
||||
"log_sinks.h",
|
||||
]
|
||||
deps = [
|
||||
":checks",
|
||||
":file_rotating_stream",
|
||||
":logging",
|
||||
]
|
||||
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
||||
if (!build_with_chromium) {
|
||||
rtc_library("log_sinks") {
|
||||
sources = [
|
||||
"log_sinks.cc",
|
||||
"log_sinks.h",
|
||||
]
|
||||
deps = [
|
||||
":checks",
|
||||
":file_rotating_stream",
|
||||
":logging",
|
||||
]
|
||||
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_library("network") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user