blob: fd5f46d5362ea48990bb1d2d183f9b388d26a76a [file] [log] [blame]
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10 'includes': [
11 '../build/common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'command_line_parser',
16 'type': '<(library)',
17 'include_dirs': [
18 '.',
19 ],
20 'direct_dependent_settings': {
21 'include_dirs': [
22 '.',
23 ],
24 },
25 'sources': [
26 'simple_command_line_parser.h',
27 'simple_command_line_parser.cc',
28 ],
29 }, # command_line_parser
30 {
31 'target_name': 'video_quality_analysis',
32 'type': '<(library)',
33 'dependencies': [
34 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
35 ],
36 'include_dirs': [
37 'frame_analyzer',
38 ],
39 'direct_dependent_settings': {
40 'include_dirs': [
41 'frame_analyzer',
42 ],
43 },
44 'export_dependent_settings': [
45 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
46 ],
47 'sources': [
48 'frame_analyzer/video_quality_analysis.h',
49 'frame_analyzer/video_quality_analysis.cc',
50 ],
51 }, # video_quality_analysis
52 {
53 'target_name': 'frame_analyzer',
54 'type': 'executable',
55 'dependencies': [
56 'command_line_parser',
57 'video_quality_analysis',
58 ],
59 'sources': [
60 'frame_analyzer/frame_analyzer.cc',
61 ],
62 }, # frame_analyzer
63 {
64 'target_name': 'psnr_ssim_analyzer',
65 'type': 'executable',
66 'dependencies': [
67 'command_line_parser',
68 'video_quality_analysis',
69 ],
70 'sources': [
71 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc',
72 ],
73 }, # psnr_ssim_analyzer
74 {
75 'target_name': 'rgba_to_i420_converter',
76 'type': 'executable',
77 'dependencies': [
78 'command_line_parser',
79 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
80 ],
81 'sources': [
82 'converter/converter.h',
83 'converter/converter.cc',
84 'converter/rgba_to_i420_converter.cc',
85 ],
86 }, # rgba_to_i420_converter
brykt@google.comd9b18e92012-11-27 13:44:07 +000087 {
88 'target_name': 'frame_cutter_lib',
89 'type': '<(library)',
90 'dependencies': [
andrew@webrtc.orgad2a55a2012-11-30 02:28:27 +000091 '<(webrtc_root)/common_video/common_video.gyp:common_video',
brykt@google.comd9b18e92012-11-27 13:44:07 +000092 ],
93 'sources': [
94 'frame_cutter/frame_cutter_lib.cc',
95 'frame_cutter/frame_cutter_lib.h',
96 ],
97 }, # frame_cutter_lib
98 {
99 'target_name': 'frame_cutter',
100 'type': 'executable',
101 'dependencies': [
102 'command_line_parser',
103 'frame_cutter_lib',
104 ],
105 'sources': [
106 'frame_cutter/frame_cutter.cc',
107 ],
108 }, # frame_cutter
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +0000109 ],
brykt@google.comd9b18e92012-11-27 13:44:07 +0000110 'conditions': [
111 ['include_tests==1', {
112 'targets' : [
113 {
114 'target_name': 'tools_unittests',
115 'type': 'executable',
116 'dependencies': [
117 'frame_cutter_lib',
118 '<(webrtc_root)/test/test.gyp:test_support_main',
119 '<(DEPTH)/testing/gtest.gyp:gtest',
120 ],
121 'sources': [
122 'frame_cutter/frame_cutter_unittest.cc',
123 ],
124 }, # tools_unittests
125 ], # targets
126 }], # include_tests
127 ], # conditions
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +0000128}