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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc", | 80 "psnr_ssim_analyzer/psnr_ssim_analyzer.cc", |
81 ] | 81 ] |
82 | 82 |
83 deps = [ | 83 deps = [ |
84 ":command_line_parser", | 84 ":command_line_parser", |
85 ":video_quality_analysis", | 85 ":video_quality_analysis", |
86 "//build/win:default_exe_manifest", | 86 "//build/win:default_exe_manifest", |
87 ] | 87 ] |
88 } | 88 } |
89 | 89 |
| 90 rtc_static_library("reference_less_video_analysis_lib") { |
| 91 sources = [ |
| 92 "frame_analyzer/reference_less_video_analysis_lib.cc", |
| 93 "frame_analyzer/reference_less_video_analysis_lib.h", |
| 94 ] |
| 95 |
| 96 deps = [ |
| 97 ":video_quality_analysis", |
| 98 ] |
| 99 } |
| 100 |
| 101 rtc_executable("reference_less_video_analysis") { |
| 102 sources = [ |
| 103 "frame_analyzer/reference_less_video_analysis.cc", |
| 104 ] |
| 105 |
| 106 deps = [ |
| 107 ":command_line_parser", |
| 108 ":reference_less_video_analysis_lib", |
| 109 "//build/win:default_exe_manifest", |
| 110 ] |
| 111 } |
| 112 |
90 rtc_executable("rgba_to_i420_converter") { | 113 rtc_executable("rgba_to_i420_converter") { |
91 sources = [ | 114 sources = [ |
92 "converter/converter.cc", | 115 "converter/converter.cc", |
93 "converter/converter.h", | 116 "converter/converter.h", |
94 "converter/rgba_to_i420_converter.cc", | 117 "converter/rgba_to_i420_converter.cc", |
95 ] | 118 ] |
96 | 119 |
97 deps = [ | 120 deps = [ |
98 ":command_line_parser", | 121 ":command_line_parser", |
99 "../common_video", | 122 "../common_video", |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 outputs = [ | 270 outputs = [ |
248 "{{bundle_resources_dir}}/{{source_file_part}}", | 271 "{{bundle_resources_dir}}/{{source_file_part}}", |
249 ] | 272 ] |
250 } | 273 } |
251 } | 274 } |
252 | 275 |
253 rtc_test("tools_unittests") { | 276 rtc_test("tools_unittests") { |
254 testonly = true | 277 testonly = true |
255 | 278 |
256 sources = [ | 279 sources = [ |
| 280 "frame_analyzer/reference_less_video_analysis_unittest.cc", |
257 "frame_analyzer/video_quality_analysis_unittest.cc", | 281 "frame_analyzer/video_quality_analysis_unittest.cc", |
258 "frame_editing/frame_editing_unittest.cc", | 282 "frame_editing/frame_editing_unittest.cc", |
259 "simple_command_line_parser_unittest.cc", | 283 "simple_command_line_parser_unittest.cc", |
260 ] | 284 ] |
261 | 285 |
262 # TODO(jschuh): Bug 1348: fix this warning. | 286 # TODO(jschuh): Bug 1348: fix this warning. |
263 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 287 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
264 | 288 |
265 if (!build_with_chromium && is_clang) { | 289 if (!build_with_chromium && is_clang) { |
266 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 290 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
267 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 291 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
268 } | 292 } |
269 | 293 |
270 deps = [ | 294 deps = [ |
271 ":command_line_parser", | 295 ":command_line_parser", |
272 ":frame_editing_lib", | 296 ":frame_editing_lib", |
| 297 ":reference_less_video_analysis_lib", |
273 ":video_quality_analysis", | 298 ":video_quality_analysis", |
274 "../test:test_support_main", | 299 "../test:test_support_main", |
275 "//testing/gtest", | 300 "//testing/gtest", |
276 ] | 301 ] |
277 | 302 |
278 data = tools_unittests_resources | 303 data = tools_unittests_resources |
279 if (is_android) { | 304 if (is_android) { |
280 deps += [ "//testing/android/native_test:native_test_support" ] | 305 deps += [ "//testing/android/native_test:native_test_support" ] |
281 shard_timeout = 900 | 306 shard_timeout = 900 |
282 } | 307 } |
(...skipping 12 matching lines...) Expand all Loading... |
295 ] | 320 ] |
296 outputs = [ | 321 outputs = [ |
297 "$root_build_dir/{{source_file_part}}", | 322 "$root_build_dir/{{source_file_part}}", |
298 ] | 323 ] |
299 deps = [ | 324 deps = [ |
300 "../logging:rtc_event_log_proto", | 325 "../logging:rtc_event_log_proto", |
301 ] | 326 ] |
302 } | 327 } |
303 } | 328 } |
304 } | 329 } |
OLD | NEW |