| 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") |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 | 25 |
| 26 rtc_source_set("command_line_parser") { | 26 rtc_source_set("command_line_parser") { |
| 27 sources = [ | 27 sources = [ |
| 28 "simple_command_line_parser.cc", | 28 "simple_command_line_parser.cc", |
| 29 "simple_command_line_parser.h", | 29 "simple_command_line_parser.h", |
| 30 ] | 30 ] |
| 31 deps = [ | 31 deps = [ |
| 32 "../base:gtest_prod", | 32 "../base:gtest_prod", |
| 33 ] | 33 ] |
| 34 public_configs = [ "..:common_inherited_config" ] | |
| 35 } | 34 } |
| 36 | 35 |
| 37 rtc_source_set("video_quality_analysis") { | 36 rtc_source_set("video_quality_analysis") { |
| 38 sources = [ | 37 sources = [ |
| 39 "frame_analyzer/video_quality_analysis.cc", | 38 "frame_analyzer/video_quality_analysis.cc", |
| 40 "frame_analyzer/video_quality_analysis.h", | 39 "frame_analyzer/video_quality_analysis.h", |
| 41 ] | 40 ] |
| 42 | 41 |
| 43 public_configs = [ "..:common_inherited_config" ] | |
| 44 | |
| 45 deps = [ | 42 deps = [ |
| 46 "../common_video", | 43 "../common_video", |
| 47 ] | 44 ] |
| 48 public_deps = [ | 45 public_deps = [ |
| 49 "../common_video", | 46 "../common_video", |
| 50 ] | 47 ] |
| 51 } | 48 } |
| 52 | 49 |
| 53 rtc_executable("frame_analyzer") { | 50 rtc_executable("frame_analyzer") { |
| 54 sources = [ | 51 sources = [ |
| 55 "frame_analyzer/frame_analyzer.cc", | 52 "frame_analyzer/frame_analyzer.cc", |
| 56 ] | 53 ] |
| 57 | 54 |
| 58 public_configs = [ "..:common_inherited_config" ] | |
| 59 | |
| 60 deps = [ | 55 deps = [ |
| 61 ":command_line_parser", | 56 ":command_line_parser", |
| 62 ":video_quality_analysis", | 57 ":video_quality_analysis", |
| 63 "//build/win:default_exe_manifest", | 58 "//build/win:default_exe_manifest", |
| 64 ] | 59 ] |
| 65 } | 60 } |
| 66 | 61 |
| 67 rtc_executable("psnr_ssim_analyzer") { | 62 rtc_executable("psnr_ssim_analyzer") { |
| 68 sources = [ | 63 sources = [ |
| 69 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc", | 64 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc", |
| 70 ] | 65 ] |
| 71 | 66 |
| 72 public_configs = [ "..:common_inherited_config" ] | |
| 73 | |
| 74 deps = [ | 67 deps = [ |
| 75 ":command_line_parser", | 68 ":command_line_parser", |
| 76 ":video_quality_analysis", | 69 ":video_quality_analysis", |
| 77 "//build/win:default_exe_manifest", | 70 "//build/win:default_exe_manifest", |
| 78 ] | 71 ] |
| 79 } | 72 } |
| 80 | 73 |
| 81 rtc_executable("rgba_to_i420_converter") { | 74 rtc_executable("rgba_to_i420_converter") { |
| 82 sources = [ | 75 sources = [ |
| 83 "converter/converter.cc", | 76 "converter/converter.cc", |
| 84 "converter/converter.h", | 77 "converter/converter.h", |
| 85 "converter/rgba_to_i420_converter.cc", | 78 "converter/rgba_to_i420_converter.cc", |
| 86 ] | 79 ] |
| 87 | 80 |
| 88 public_configs = [ "..:common_inherited_config" ] | |
| 89 | |
| 90 deps = [ | 81 deps = [ |
| 91 ":command_line_parser", | 82 ":command_line_parser", |
| 92 "../common_video", | 83 "../common_video", |
| 93 "//build/win:default_exe_manifest", | 84 "//build/win:default_exe_manifest", |
| 94 ] | 85 ] |
| 95 } | 86 } |
| 96 | 87 |
| 97 rtc_source_set("frame_editing_lib") { | 88 rtc_source_set("frame_editing_lib") { |
| 98 sources = [ | 89 sources = [ |
| 99 "frame_editing/frame_editing_lib.cc", | 90 "frame_editing/frame_editing_lib.cc", |
| 100 "frame_editing/frame_editing_lib.h", | 91 "frame_editing/frame_editing_lib.h", |
| 101 ] | 92 ] |
| 102 | 93 |
| 103 public_configs = [ "..:common_inherited_config" ] | |
| 104 | |
| 105 # TODO(jschuh): Bug 1348: fix this warning. | 94 # TODO(jschuh): Bug 1348: fix this warning. |
| 106 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 95 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 107 | 96 |
| 108 if (is_clang) { | 97 if (is_clang) { |
| 109 # Suppress warnings from the Chromium Clang plugin. | 98 # Suppress warnings from the Chromium Clang plugin. |
| 110 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 99 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 100 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 112 } | 101 } |
| 113 | 102 |
| 114 deps = [ | 103 deps = [ |
| 115 "../common_video", | 104 "../common_video", |
| 116 ] | 105 ] |
| 117 } | 106 } |
| 118 | 107 |
| 119 rtc_executable("frame_editor") { | 108 rtc_executable("frame_editor") { |
| 120 sources = [ | 109 sources = [ |
| 121 "frame_editing/frame_editing.cc", | 110 "frame_editing/frame_editing.cc", |
| 122 ] | 111 ] |
| 123 | 112 |
| 124 public_configs = [ "..:common_inherited_config" ] | |
| 125 | |
| 126 deps = [ | 113 deps = [ |
| 127 ":command_line_parser", | 114 ":command_line_parser", |
| 128 ":frame_editing_lib", | 115 ":frame_editing_lib", |
| 129 "//build/win:default_exe_manifest", | 116 "//build/win:default_exe_manifest", |
| 130 ] | 117 ] |
| 131 } | 118 } |
| 132 | 119 |
| 133 rtc_executable("force_mic_volume_max") { | 120 rtc_executable("force_mic_volume_max") { |
| 134 sources = [ | 121 sources = [ |
| 135 "force_mic_volume_max/force_mic_volume_max.cc", | 122 "force_mic_volume_max/force_mic_volume_max.cc", |
| 136 ] | 123 ] |
| 137 | 124 |
| 138 public_configs = [ "..:common_inherited_config" ] | |
| 139 | |
| 140 if (is_clang) { | 125 if (is_clang) { |
| 141 # Suppress warnings from the Chromium Clang plugin. | 126 # Suppress warnings from the Chromium Clang plugin. |
| 142 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 127 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 143 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 144 } | 129 } |
| 145 | 130 |
| 146 deps = [ | 131 deps = [ |
| 147 "../system_wrappers:system_wrappers_default", | 132 "../system_wrappers:system_wrappers_default", |
| 148 "../voice_engine", | 133 "../voice_engine", |
| 149 "//build/win:default_exe_manifest", | 134 "//build/win:default_exe_manifest", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 162 sources = [ | 147 sources = [ |
| 163 "event_log_visualizer/analyzer.cc", | 148 "event_log_visualizer/analyzer.cc", |
| 164 "event_log_visualizer/analyzer.h", | 149 "event_log_visualizer/analyzer.h", |
| 165 "event_log_visualizer/plot_base.cc", | 150 "event_log_visualizer/plot_base.cc", |
| 166 "event_log_visualizer/plot_base.h", | 151 "event_log_visualizer/plot_base.h", |
| 167 "event_log_visualizer/plot_protobuf.cc", | 152 "event_log_visualizer/plot_protobuf.cc", |
| 168 "event_log_visualizer/plot_protobuf.h", | 153 "event_log_visualizer/plot_protobuf.h", |
| 169 "event_log_visualizer/plot_python.cc", | 154 "event_log_visualizer/plot_python.cc", |
| 170 "event_log_visualizer/plot_python.h", | 155 "event_log_visualizer/plot_python.h", |
| 171 ] | 156 ] |
| 172 public_configs = [ "..:common_inherited_config" ] | |
| 173 if (is_clang && !is_nacl) { | 157 if (is_clang && !is_nacl) { |
| 174 # Suppress warnings from the Chromium Clang plugin. | 158 # Suppress warnings from the Chromium Clang plugin. |
| 175 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 159 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 176 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 160 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 177 } | 161 } |
| 178 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 162 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
| 179 deps = [ | 163 deps = [ |
| 180 "../:rtc_event_log", | 164 "../:rtc_event_log", |
| 181 "../:rtc_event_log_parser", | 165 "../:rtc_event_log_parser", |
| 182 "../modules/congestion_controller:congestion_controller", | 166 "../modules/congestion_controller:congestion_controller", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 193 | 177 |
| 194 # Exclude tools depending on gflags since that's not available in Chromium. | 178 # Exclude tools depending on gflags since that's not available in Chromium. |
| 195 if (rtc_include_tests) { | 179 if (rtc_include_tests) { |
| 196 if (rtc_enable_protobuf) { | 180 if (rtc_enable_protobuf) { |
| 197 rtc_executable("event_log_visualizer") { | 181 rtc_executable("event_log_visualizer") { |
| 198 testonly = true | 182 testonly = true |
| 199 sources = [ | 183 sources = [ |
| 200 "event_log_visualizer/main.cc", | 184 "event_log_visualizer/main.cc", |
| 201 ] | 185 ] |
| 202 | 186 |
| 203 public_configs = [ "..:common_inherited_config" ] | |
| 204 | |
| 205 if (is_clang && !is_nacl) { | 187 if (is_clang && !is_nacl) { |
| 206 # Suppress warnings from the Chromium Clang plugin. | 188 # Suppress warnings from the Chromium Clang plugin. |
| 207 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 189 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 208 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 209 } | 191 } |
| 210 | 192 |
| 211 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 193 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
| 212 deps = [ | 194 deps = [ |
| 213 ":event_log_visualizer_utils", | 195 ":event_log_visualizer_utils", |
| 214 "//third_party/gflags", | 196 "//third_party/gflags", |
| 215 ] | 197 ] |
| 216 } | 198 } |
| 217 } | 199 } |
| 218 | 200 |
| 219 rtc_executable("activity_metric") { | 201 rtc_executable("activity_metric") { |
| 220 testonly = true | 202 testonly = true |
| 221 sources = [ | 203 sources = [ |
| 222 "agc/activity_metric.cc", | 204 "agc/activity_metric.cc", |
| 223 ] | 205 ] |
| 224 | 206 |
| 225 public_configs = [ "..:common_inherited_config" ] | |
| 226 | |
| 227 if (is_clang) { | 207 if (is_clang) { |
| 228 # Suppress warnings from the Chromium Clang plugin. | 208 # Suppress warnings from the Chromium Clang plugin. |
| 229 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 209 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 230 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 210 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 231 } | 211 } |
| 232 | 212 |
| 233 deps = [ | 213 deps = [ |
| 234 "../modules/audio_processing", | 214 "../modules/audio_processing", |
| 235 "../system_wrappers:metrics_default", | 215 "../system_wrappers:metrics_default", |
| 236 "//build/win:default_exe_manifest", | 216 "//build/win:default_exe_manifest", |
| 237 "//testing/gtest", | 217 "//testing/gtest", |
| 238 "//third_party/gflags", | 218 "//third_party/gflags", |
| 239 ] | 219 ] |
| 240 } | 220 } |
| 241 | 221 |
| 242 rtc_executable("audio_e2e_harness") { | 222 rtc_executable("audio_e2e_harness") { |
| 243 testonly = true | 223 testonly = true |
| 244 sources = [ | 224 sources = [ |
| 245 "e2e_quality/audio/audio_e2e_harness.cc", | 225 "e2e_quality/audio/audio_e2e_harness.cc", |
| 246 ] | 226 ] |
| 247 | 227 |
| 248 public_configs = [ "..:common_inherited_config" ] | |
| 249 | |
| 250 if (is_clang) { | 228 if (is_clang) { |
| 251 # Suppress warnings from the Chromium Clang plugin. | 229 # Suppress warnings from the Chromium Clang plugin. |
| 252 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 230 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 253 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 231 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 254 } | 232 } |
| 255 | 233 |
| 256 deps = [ | 234 deps = [ |
| 257 "../system_wrappers:system_wrappers_default", | 235 "../system_wrappers:system_wrappers_default", |
| 258 "../test:channel_transport", | 236 "../test:channel_transport", |
| 259 "../voice_engine", | 237 "../voice_engine", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 279 | 257 |
| 280 rtc_test("tools_unittests") { | 258 rtc_test("tools_unittests") { |
| 281 testonly = true | 259 testonly = true |
| 282 | 260 |
| 283 sources = [ | 261 sources = [ |
| 284 "frame_analyzer/video_quality_analysis_unittest.cc", | 262 "frame_analyzer/video_quality_analysis_unittest.cc", |
| 285 "frame_editing/frame_editing_unittest.cc", | 263 "frame_editing/frame_editing_unittest.cc", |
| 286 "simple_command_line_parser_unittest.cc", | 264 "simple_command_line_parser_unittest.cc", |
| 287 ] | 265 ] |
| 288 | 266 |
| 289 public_configs = [ "..:common_inherited_config" ] | |
| 290 | |
| 291 # TODO(jschuh): Bug 1348: fix this warning. | 267 # TODO(jschuh): Bug 1348: fix this warning. |
| 292 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 268 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 293 | 269 |
| 294 if (is_clang) { | 270 if (is_clang) { |
| 295 # Suppress warnings from the Chromium Clang plugin. | 271 # Suppress warnings from the Chromium Clang plugin. |
| 296 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 272 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 297 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 273 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 298 } | 274 } |
| 299 | 275 |
| 300 deps = [ | 276 deps = [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 325 ] | 301 ] |
| 326 outputs = [ | 302 outputs = [ |
| 327 "$root_build_dir/{{source_file_part}}", | 303 "$root_build_dir/{{source_file_part}}", |
| 328 ] | 304 ] |
| 329 deps = [ | 305 deps = [ |
| 330 "..:rtc_event_log_proto", | 306 "..:rtc_event_log_proto", |
| 331 ] | 307 ] |
| 332 } | 308 } |
| 333 } | 309 } |
| 334 } | 310 } |
| OLD | NEW |