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