| OLD | NEW |
| 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("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
| 11 | 11 |
| 12 group("tools") { | 12 group("tools") { |
| 13 deps = [ | 13 # This target shall build all targets in tools/. |
| 14 testonly = true |
| 15 |
| 16 public_deps = [ |
| 14 ":command_line_parser", | 17 ":command_line_parser", |
| 18 ":frame_analyzer", |
| 19 ":frame_editor", |
| 20 ":psnr_ssim_analyzer", |
| 21 ":rgba_to_i420_converter", |
| 15 ] | 22 ] |
| 23 if (rtc_include_internal_audio_device) { |
| 24 public_deps += [ ":force_mic_volume_max" ] |
| 25 } |
| 26 if (rtc_enable_protobuf) { |
| 27 public_deps += [ ":chart_proto" ] |
| 28 } |
| 16 | 29 |
| 17 if (!build_with_chromium) { | 30 if (rtc_include_tests) { |
| 18 # TODO(kjellander): Enable these when webrtc:5970 is fixed. | 31 public_deps += [ |
| 19 deps += [ | 32 ":activity_metric", |
| 20 ":frame_analyzer", | 33 ":rtp_analyzer", |
| 21 ":rgba_to_i420_converter", | 34 ":tools_unittests", |
| 22 ] | 35 ] |
| 36 if (rtc_enable_protobuf) { |
| 37 public_deps += [ ":event_log_visualizer" ] |
| 38 } |
| 23 } | 39 } |
| 24 } | 40 } |
| 25 | 41 |
| 26 rtc_static_library("command_line_parser") { | 42 rtc_static_library("command_line_parser") { |
| 27 sources = [ | 43 sources = [ |
| 28 "simple_command_line_parser.cc", | 44 "simple_command_line_parser.cc", |
| 29 "simple_command_line_parser.h", | 45 "simple_command_line_parser.h", |
| 30 ] | 46 ] |
| 31 deps = [ | 47 deps = [ |
| 32 "../base:gtest_prod", | 48 "../base:gtest_prod", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 sources = [ | 138 sources = [ |
| 123 "force_mic_volume_max/force_mic_volume_max.cc", | 139 "force_mic_volume_max/force_mic_volume_max.cc", |
| 124 ] | 140 ] |
| 125 | 141 |
| 126 if (!build_with_chromium && is_clang) { | 142 if (!build_with_chromium && is_clang) { |
| 127 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 143 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 144 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 129 } | 145 } |
| 130 | 146 |
| 131 deps = [ | 147 deps = [ |
| 132 "../modules/audio_device:audio_device", | 148 "../modules/audio_device", |
| 133 "../system_wrappers:system_wrappers_default", | 149 "../system_wrappers:system_wrappers_default", |
| 134 "//build/win:default_exe_manifest", | 150 "//build/win:default_exe_manifest", |
| 135 ] | 151 ] |
| 136 } | 152 } |
| 137 } | 153 } |
| 138 | 154 |
| 139 if (rtc_enable_protobuf) { | 155 if (rtc_enable_protobuf) { |
| 140 proto_library("chart_proto") { | 156 proto_library("chart_proto") { |
| 141 sources = [ | 157 sources = [ |
| 142 "event_log_visualizer/chart.proto", | 158 "event_log_visualizer/chart.proto", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 156 "event_log_visualizer/plot_python.h", | 172 "event_log_visualizer/plot_python.h", |
| 157 ] | 173 ] |
| 158 if (!build_with_chromium && is_clang) { | 174 if (!build_with_chromium && is_clang) { |
| 159 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 175 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 160 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 176 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 161 } | 177 } |
| 162 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 178 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
| 163 deps = [ | 179 deps = [ |
| 164 "../logging:rtc_event_log_impl", | 180 "../logging:rtc_event_log_impl", |
| 165 "../logging:rtc_event_log_parser", | 181 "../logging:rtc_event_log_parser", |
| 166 "../modules/congestion_controller:congestion_controller", | 182 "../modules/congestion_controller", |
| 167 "../modules/rtp_rtcp:rtp_rtcp", | 183 "../modules/rtp_rtcp", |
| 168 "../system_wrappers:system_wrappers_default", | 184 "../system_wrappers:system_wrappers_default", |
| 169 "//build/config/sanitizers:deps", | 185 "//build/config/sanitizers:deps", |
| 170 ] | 186 ] |
| 171 public_deps = [ | 187 public_deps = [ |
| 172 ":chart_proto", | 188 ":chart_proto", |
| 173 "../logging:rtc_event_log_parser", | 189 "../logging:rtc_event_log_parser", |
| 174 ] | 190 ] |
| 175 } | 191 } |
| 176 } | 192 } |
| 177 | 193 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 ] | 290 ] |
| 275 outputs = [ | 291 outputs = [ |
| 276 "$root_build_dir/{{source_file_part}}", | 292 "$root_build_dir/{{source_file_part}}", |
| 277 ] | 293 ] |
| 278 deps = [ | 294 deps = [ |
| 279 "../logging:rtc_event_log_proto", | 295 "../logging:rtc_event_log_proto", |
| 280 ] | 296 ] |
| 281 } | 297 } |
| 282 } | 298 } |
| 283 } | 299 } |
| OLD | NEW |