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