Index: webrtc/call/BUILD.gn |
diff --git a/webrtc/call/BUILD.gn b/webrtc/call/BUILD.gn |
index 32bcba3abd0893c9bb13beff2152accc1eb3dfa0..648bc85e0fc130a88fdd144cca54a1f35ccdccf2 100644 |
--- a/webrtc/call/BUILD.gn |
+++ b/webrtc/call/BUILD.gn |
@@ -23,7 +23,7 @@ rtc_static_library("call") { |
} |
deps = [ |
- "..:rtc_event_log", |
+ ":rtc_event_log", |
"..:webrtc_common", |
"../api:call_api", |
"../audio", |
@@ -35,6 +35,32 @@ rtc_static_library("call") { |
] |
} |
+rtc_static_library("rtc_event_log") { |
+ sources = [ |
+ "rtc_event_log.cc", |
+ "rtc_event_log.h", |
+ "rtc_event_log_helper_thread.cc", |
+ "rtc_event_log_helper_thread.h", |
+ ] |
+ |
+ defines = [] |
+ |
+ deps = [ |
+ "..:webrtc_common", |
+ "../modules/rtp_rtcp", |
+ ] |
+ |
+ if (rtc_enable_protobuf) { |
+ defines += [ "ENABLE_RTC_EVENT_LOG" ] |
+ deps += [ "..:rtc_event_log_proto" ] |
+ } |
+ if (is_clang && !is_nacl) { |
+ # Suppress warnings from Chrome's Clang plugins. |
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
+ } |
+} |
+ |
if (rtc_include_tests) { |
rtc_source_set("call_tests") { |
testonly = true |
@@ -63,7 +89,7 @@ if (rtc_include_tests) { |
"rtc_event_log_unittest_helper.cc", |
] |
deps = [ |
- "..:rtc_event_log", |
+ ":rtc_event_log", |
"..:rtc_event_log_parser", |
"../modules/rtp_rtcp", |
"../system_wrappers:metrics_default", |