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

Side by Side Diff: webrtc/logging/BUILD.gn

Issue 2747863003: Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Rebasing Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « webrtc/base/protobuf_utils.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../webrtc.gni") 9 import("../webrtc.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "rtc_event_log/rtc_event_log.cc", 44 "rtc_event_log/rtc_event_log.cc",
45 "rtc_event_log/rtc_event_log_helper_thread.cc", 45 "rtc_event_log/rtc_event_log_helper_thread.cc",
46 "rtc_event_log/rtc_event_log_helper_thread.h", 46 "rtc_event_log/rtc_event_log_helper_thread.h",
47 ] 47 ]
48 48
49 defines = [] 49 defines = []
50 50
51 deps = [ 51 deps = [
52 ":rtc_event_log_api", 52 ":rtc_event_log_api",
53 "..:webrtc_common", 53 "..:webrtc_common",
54 "../base:protobuf_utils",
54 "../base:rtc_base_approved", 55 "../base:rtc_base_approved",
55 "../call:call_interfaces", 56 "../call:call_interfaces",
56 "../modules/audio_coding:audio_network_adaptor", 57 "../modules/audio_coding:audio_network_adaptor",
57 "../modules/rtp_rtcp", 58 "../modules/rtp_rtcp",
58 "../system_wrappers", 59 "../system_wrappers",
59 ] 60 ]
60 61
61 if (rtc_enable_protobuf) { 62 if (rtc_enable_protobuf) {
62 defines += [ "ENABLE_RTC_EVENT_LOG" ] 63 defines += [ "ENABLE_RTC_EVENT_LOG" ]
63 deps += [ ":rtc_event_log_proto" ] 64 deps += [ ":rtc_event_log_proto" ]
(...skipping 25 matching lines...) Expand all
89 "../call:call_interfaces", 90 "../call:call_interfaces",
90 "../modules/rtp_rtcp:rtp_rtcp", 91 "../modules/rtp_rtcp:rtp_rtcp",
91 "../system_wrappers", 92 "../system_wrappers",
92 ] 93 ]
93 94
94 if (!build_with_chromium && is_clang) { 95 if (!build_with_chromium && is_clang) {
95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
97 } 98 }
98 deps = [ 99 deps = [
100 "../base:protobuf_utils",
99 "../base:rtc_base_approved", 101 "../base:rtc_base_approved",
100 ] 102 ]
101 } 103 }
102 104
103 if (rtc_include_tests) { 105 if (rtc_include_tests) {
104 rtc_source_set("rtc_event_log_tests") { 106 rtc_source_set("rtc_event_log_tests") {
105 testonly = true 107 testonly = true
106 sources = [ 108 sources = [
107 "rtc_event_log/ringbuffer_unittest.cc", 109 "rtc_event_log/ringbuffer_unittest.cc",
108 "rtc_event_log/rtc_event_log_unittest.cc", 110 "rtc_event_log/rtc_event_log_unittest.cc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "../modules/rtp_rtcp:rtp_rtcp", 168 "../modules/rtp_rtcp:rtp_rtcp",
167 "//third_party/gflags", 169 "//third_party/gflags",
168 ] 170 ]
169 if (!build_with_chromium && is_clang) { 171 if (!build_with_chromium && is_clang) {
170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 172 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 173 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
172 } 174 }
173 } 175 }
174 } 176 }
175 } 177 }
OLDNEW
« no previous file with comments | « webrtc/base/protobuf_utils.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698