Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: webrtc/tools/BUILD.gn

Issue 2515253004: Added tool for reference less video analysis (Closed)
Patch Set: Latest changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 ":command_line_parser",
98 ":video_quality_analysis",
99 "//build/win:default_exe_manifest",
kjellander_webrtc 2016/11/28 15:02:08 This should be a dependency for the executable tar
100 ]
101 }
102
103 rtc_executable("reference_less_video_analysis") {
104 sources = [
105 "frame_analyzer/reference_less_video_analysis.cc",
106 ]
107
108 deps = [
109 ":reference_less_video_analysis_lib",
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 250
228 deps = [ 251 deps = [
229 "../modules/audio_processing", 252 "../modules/audio_processing",
230 "../system_wrappers:metrics_default", 253 "../system_wrappers:metrics_default",
231 "//build/win:default_exe_manifest", 254 "//build/win:default_exe_manifest",
232 "//testing/gtest", 255 "//testing/gtest",
233 "//third_party/gflags", 256 "//third_party/gflags",
234 ] 257 ]
235 } 258 }
236 259
237 tools_unittests_resources = [ "//resources/foreman_cif.yuv" ] 260 tools_unittests_resources = [
261 "//resources/foreman_cif.yuv",
262 "//resources/reference_less_video_test_file.y4m",
263 ]
238 264
239 if (is_ios) { 265 if (is_ios) {
240 bundle_data("tools_unittests_bundle_data") { 266 bundle_data("tools_unittests_bundle_data") {
241 testonly = true 267 testonly = true
242 sources = tools_unittests_resources 268 sources = tools_unittests_resources
243 outputs = [ 269 outputs = [
244 "{{bundle_resources_dir}}/{{source_file_part}}", 270 "{{bundle_resources_dir}}/{{source_file_part}}",
245 ] 271 ]
246 } 272 }
247 } 273 }
248 274
249 rtc_test("tools_unittests") { 275 rtc_test("tools_unittests") {
250 testonly = true 276 testonly = true
251 277
252 sources = [ 278 sources = [
279 "frame_analyzer/reference_less_video_analysis_unittest.cc",
253 "frame_analyzer/video_quality_analysis_unittest.cc", 280 "frame_analyzer/video_quality_analysis_unittest.cc",
254 "frame_editing/frame_editing_unittest.cc", 281 "frame_editing/frame_editing_unittest.cc",
255 "simple_command_line_parser_unittest.cc", 282 "simple_command_line_parser_unittest.cc",
256 ] 283 ]
257 284
258 # TODO(jschuh): Bug 1348: fix this warning. 285 # TODO(jschuh): Bug 1348: fix this warning.
259 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 286 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
260 287
261 if (!build_with_chromium && is_clang) { 288 if (!build_with_chromium && is_clang) {
262 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 289 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 290 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
264 } 291 }
265 292
266 deps = [ 293 deps = [
267 ":command_line_parser", 294 ":command_line_parser",
268 ":frame_editing_lib", 295 ":frame_editing_lib",
296 ":reference_less_video_analysis_lib",
269 ":video_quality_analysis", 297 ":video_quality_analysis",
270 "../test:test_support_main", 298 "../test:test_support_main",
271 "//testing/gtest", 299 "//testing/gtest",
272 ] 300 ]
273 301
274 data = tools_unittests_resources 302 data = tools_unittests_resources
275 if (is_android) { 303 if (is_android) {
276 deps += [ "//testing/android/native_test:native_test_support" ] 304 deps += [ "//testing/android/native_test:native_test_support" ]
277 shard_timeout = 900 305 shard_timeout = 900
278 } 306 }
(...skipping 12 matching lines...) Expand all
291 ] 319 ]
292 outputs = [ 320 outputs = [
293 "$root_build_dir/{{source_file_part}}", 321 "$root_build_dir/{{source_file_part}}",
294 ] 322 ]
295 deps = [ 323 deps = [
296 "../logging:rtc_event_log_proto", 324 "../logging:rtc_event_log_proto",
297 ] 325 ]
298 } 326 }
299 } 327 }
300 } 328 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698