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

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

Issue 2747863003: Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Adding other deps to protobuf_utils Created 3 years, 9 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
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 import("../webrtc.gni") 10 import("../webrtc.gni")
11 11
12 group("tools") { 12 group("tools") {
13 # This target shall build all targets in tools/. 13 # This target shall build all targets in tools/.
14 testonly = true 14 testonly = true
15 15
16 public_deps = [ 16 public_deps = [
17 ":command_line_parser", 17 ":command_line_parser",
18 ":frame_analyzer", 18 ":frame_analyzer",
19 ":frame_editor", 19 ":frame_editor",
20 ":psnr_ssim_analyzer", 20 ":psnr_ssim_analyzer",
21 ":rgba_to_i420_converter", 21 ":rgba_to_i420_converter",
22 ] 22 ]
23 if (rtc_include_internal_audio_device) { 23 if (rtc_include_internal_audio_device) {
24 public_deps += [ ":force_mic_volume_max" ] 24 public_deps += [ ":force_mic_volume_max" ]
25 } 25 }
26 if (rtc_enable_protobuf) { 26 if (rtc_enable_protobuf) {
27 public_deps += [ ":chart_proto" ] 27 public_deps += [ ":chart_proto" ]
28 deps = [
29 "../base:protobuf_utils",
30 ]
28 } 31 }
29 32
30 if (rtc_include_tests) { 33 if (rtc_include_tests) {
31 public_deps += [ 34 public_deps += [
32 ":activity_metric", 35 ":activity_metric",
33 ":tools_unittests", 36 ":tools_unittests",
34 ] 37 ]
35 if (rtc_enable_protobuf) { 38 if (rtc_enable_protobuf) {
36 public_deps += [ 39 public_deps += [
37 ":event_log_visualizer", 40 ":event_log_visualizer",
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "event_log_visualizer/plot_protobuf.h", 198 "event_log_visualizer/plot_protobuf.h",
196 "event_log_visualizer/plot_python.cc", 199 "event_log_visualizer/plot_python.cc",
197 "event_log_visualizer/plot_python.h", 200 "event_log_visualizer/plot_python.h",
198 ] 201 ]
199 if (!build_with_chromium && is_clang) { 202 if (!build_with_chromium && is_clang) {
200 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 203 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
201 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 204 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
202 } 205 }
203 defines = [ "ENABLE_RTC_EVENT_LOG" ] 206 defines = [ "ENABLE_RTC_EVENT_LOG" ]
204 deps = [ 207 deps = [
208 "../base:protobuf_utils",
205 "../call:call_interfaces", 209 "../call:call_interfaces",
206 "../logging:rtc_event_log_impl", 210 "../logging:rtc_event_log_impl",
207 "../logging:rtc_event_log_parser", 211 "../logging:rtc_event_log_parser",
208 "../modules/audio_coding:ana_debug_dump_proto", 212 "../modules/audio_coding:ana_debug_dump_proto",
209 213
210 # TODO(kwiberg): Remove this dependency. 214 # TODO(kwiberg): Remove this dependency.
211 "../api/audio_codecs:audio_codecs_api", 215 "../api/audio_codecs:audio_codecs_api",
212 "../modules/congestion_controller", 216 "../modules/congestion_controller",
213 "../modules/rtp_rtcp", 217 "../modules/rtp_rtcp",
214 "../system_wrappers:system_wrappers_default", 218 "../system_wrappers:system_wrappers_default",
(...skipping 16 matching lines...) Expand all
231 ] 235 ]
232 236
233 if (!build_with_chromium && is_clang) { 237 if (!build_with_chromium && is_clang) {
234 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
236 } 240 }
237 241
238 defines = [ "ENABLE_RTC_EVENT_LOG" ] 242 defines = [ "ENABLE_RTC_EVENT_LOG" ]
239 deps = [ 243 deps = [
240 ":event_log_visualizer_utils", 244 ":event_log_visualizer_utils",
245 "../base:protobuf_utils",
241 "../test:field_trial", 246 "../test:field_trial",
242 "//third_party/gflags", 247 "//third_party/gflags",
243 ] 248 ]
244 } 249 }
245 } 250 }
246 251
247 rtc_executable("activity_metric") { 252 rtc_executable("activity_metric") {
248 testonly = true 253 testonly = true
249 sources = [ 254 sources = [
250 "agc/activity_metric.cc", 255 "agc/activity_metric.cc",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 sources = [ 327 sources = [
323 "py_event_log_analyzer/misc.py", 328 "py_event_log_analyzer/misc.py",
324 "py_event_log_analyzer/pb_parse.py", 329 "py_event_log_analyzer/pb_parse.py",
325 "py_event_log_analyzer/rtp_analyzer.py", 330 "py_event_log_analyzer/rtp_analyzer.py",
326 "py_event_log_analyzer/rtp_analyzer.sh", 331 "py_event_log_analyzer/rtp_analyzer.sh",
327 ] 332 ]
328 outputs = [ 333 outputs = [
329 "$root_build_dir/{{source_file_part}}", 334 "$root_build_dir/{{source_file_part}}",
330 ] 335 ]
331 deps = [ 336 deps = [
337 "../base:protobuf_utils",
332 "../logging:rtc_event_log_proto", 338 "../logging:rtc_event_log_proto",
333 ] 339 ]
334 } 340 }
335 } 341 }
336 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698