Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Unified Diff: webrtc/call/BUILD.gn

Issue 2365383004: Moved Gn target rtc_event_log to one directory above (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698