diff options
Diffstat (limited to 'chromium/chrome/browser/ui/BUILD.gn')
-rw-r--r-- | chromium/chrome/browser/ui/BUILD.gn | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chromium/chrome/browser/ui/BUILD.gn b/chromium/chrome/browser/ui/BUILD.gn index 5fe4e7e4722..83b55f3be57 100644 --- a/chromium/chrome/browser/ui/BUILD.gn +++ b/chromium/chrome/browser/ui/BUILD.gn @@ -20,6 +20,7 @@ import("//components/offline_pages/buildflags/features.gni") import("//components/signin/features.gni") import("//device/vr/buildflags/buildflags.gni") import("//extensions/buildflags/buildflags.gni") +import("//media/media_options.gni") import("//ppapi/buildflags/buildflags.gni") import("//printing/buildflags/buildflags.gni") import("//rlz/buildflags/buildflags.gni") @@ -242,8 +243,6 @@ static_library("ui") { "webui/media/media_engagement_ui.h", "webui/media/media_history_ui.cc", "webui/media/media_history_ui.h", - "webui/media/webrtc_logs_ui.cc", - "webui/media/webrtc_logs_ui.h", "webui/memory_internals_ui.cc", "webui/memory_internals_ui.h", "webui/metrics_handler.cc", @@ -532,7 +531,6 @@ static_library("ui") { "//components/viz/host", "//components/web_cache/browser", "//components/web_resource", - "//components/webrtc_logging/browser", "//content/app/resources", "//content/browser/webrtc/resources", "//content/public/common", @@ -4470,6 +4468,14 @@ static_library("ui") { } } + if (enable_webrtc) { + sources += [ + "webui/media/webrtc_logs_ui.cc", + "webui/media/webrtc_logs_ui.h", + ] + deps += [ "//components/webrtc_logging/browser" ] + } + if (safe_browsing_mode == 1) { deps += [ "//chrome/browser/ui/webui/reset_password:mojo_bindings", |