From 1aa16d0ac0e2a7b94fa8e85250b05a87b47b9007 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Fri, 20 Jul 2018 13:56:45 -0700 Subject: [PATCH] build: [gn win] fix webrtc link error Fixes link errors of the form ``` init_webrtc.lib(init_webrtc.obj) : error LNK2005: "class webrtc::metrics::Histogram * __cdecl webrtc::metrics::HistogramFactoryGetCounts(class std::basic_string,class std::allocator > const &,int,int,int)" (?HistogramFactoryGetCounts@metrics@webrtc@@YAPAVHistogram@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHH@Z) already defined in metrics_default.obj ``` --- BUILD.gn | 1 - 1 file changed, 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 375e23a43af9..7008f5d2cd71 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -630,7 +630,6 @@ if (is_mac) { # TODO: move non-windows specific deps into the non-windows-specific list "//third_party/breakpad:breakpad_handler", "//third_party/breakpad:breakpad_sender", - "//third_party/webrtc/system_wrappers:metrics_default", "//ui/native_theme:native_theme_browser", "//ui/shell_dialogs", "//ui/views/controls/webview",