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

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

Issue 2786363002: Revert of Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: 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",
55 "../base:rtc_base_approved", 54 "../base:rtc_base_approved",
56 "../call:call_interfaces", 55 "../call:call_interfaces",
57 "../modules/audio_coding:audio_network_adaptor", 56 "../modules/audio_coding:audio_network_adaptor",
58 "../modules/rtp_rtcp", 57 "../modules/rtp_rtcp",
59 "../system_wrappers", 58 "../system_wrappers",
60 ] 59 ]
61 60
62 if (rtc_enable_protobuf) { 61 if (rtc_enable_protobuf) {
63 defines += [ "ENABLE_RTC_EVENT_LOG" ] 62 defines += [ "ENABLE_RTC_EVENT_LOG" ]
64 deps += [ ":rtc_event_log_proto" ] 63 deps += [ ":rtc_event_log_proto" ]
(...skipping 25 matching lines...) Expand all
90 "../call:call_interfaces", 89 "../call:call_interfaces",
91 "../modules/rtp_rtcp:rtp_rtcp", 90 "../modules/rtp_rtcp:rtp_rtcp",
92 "../system_wrappers", 91 "../system_wrappers",
93 ] 92 ]
94 93
95 if (!build_with_chromium && is_clang) { 94 if (!build_with_chromium && is_clang) {
96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
98 } 97 }
99 deps = [ 98 deps = [
100 "../base:protobuf_utils",
101 "../base:rtc_base_approved", 99 "../base:rtc_base_approved",
102 ] 100 ]
103 } 101 }
104 102
105 if (rtc_include_tests) { 103 if (rtc_include_tests) {
106 rtc_source_set("rtc_event_log_tests") { 104 rtc_source_set("rtc_event_log_tests") {
107 testonly = true 105 testonly = true
108 sources = [ 106 sources = [
109 "rtc_event_log/ringbuffer_unittest.cc", 107 "rtc_event_log/ringbuffer_unittest.cc",
110 "rtc_event_log/rtc_event_log_unittest.cc", 108 "rtc_event_log/rtc_event_log_unittest.cc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 "../modules/rtp_rtcp:rtp_rtcp", 166 "../modules/rtp_rtcp:rtp_rtcp",
169 "//third_party/gflags", 167 "//third_party/gflags",
170 ] 168 ]
171 if (!build_with_chromium && is_clang) { 169 if (!build_with_chromium && is_clang) {
172 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
173 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
174 } 172 }
175 } 173 }
176 } 174 }
177 } 175 }
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