blob: 48949edf4baad8ccfacb3048ff92f77ecf4bd95f [file] [log] [blame]
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +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': [
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000014 {
15 'target_name': 'command_line_parser',
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +000016 'type': 'static_library',
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000017 'sources': [
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000018 'simple_command_line_parser.h',
19 'simple_command_line_parser.cc',
20 ],
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000021 }, # command_line_parser
22 {
23 'target_name': 'video_quality_analysis',
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +000024 'type': 'static_library',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000025 'dependencies': [
26 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
27 ],
28 'include_dirs': [
29 'frame_analyzer',
30 ],
31 'direct_dependent_settings': {
32 'include_dirs': [
33 'frame_analyzer',
34 ],
35 },
36 'export_dependent_settings': [
37 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
38 ],
39 'sources': [
40 'frame_analyzer/video_quality_analysis.h',
41 'frame_analyzer/video_quality_analysis.cc',
42 ],
43 }, # video_quality_analysis
44 {
45 'target_name': 'frame_analyzer',
46 'type': 'executable',
47 'dependencies': [
48 'command_line_parser',
49 'video_quality_analysis',
50 ],
51 'sources': [
52 'frame_analyzer/frame_analyzer.cc',
53 ],
54 }, # frame_analyzer
55 {
56 'target_name': 'psnr_ssim_analyzer',
57 'type': 'executable',
58 'dependencies': [
59 'command_line_parser',
60 'video_quality_analysis',
61 ],
62 'sources': [
63 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc',
64 ],
65 }, # psnr_ssim_analyzer
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000066 {
67 'target_name': 'rgba_to_i420_converter',
68 'type': 'executable',
69 'dependencies': [
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000070 'command_line_parser',
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000071 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
72 ],
73 'sources': [
74 'converter/converter.h',
75 'converter/converter.cc',
76 'converter/rgba_to_i420_converter.cc',
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000077 ],
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000078 }, # rgba_to_i420_converter
brykt@google.com4de3dfe2012-11-27 13:44:07 +000079 {
brykt@google.comf5568902012-12-20 11:42:45 +000080 'target_name': 'frame_editing_lib',
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +000081 'type': 'static_library',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000082 'dependencies': [
andrew@webrtc.orgdddc02b2012-11-30 02:28:27 +000083 '<(webrtc_root)/common_video/common_video.gyp:common_video',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000084 ],
85 'sources': [
brykt@google.comf5568902012-12-20 11:42:45 +000086 'frame_editing/frame_editing_lib.cc',
87 'frame_editing/frame_editing_lib.h',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000088 ],
brykt@google.comf5568902012-12-20 11:42:45 +000089 }, # frame_editing_lib
brykt@google.com4de3dfe2012-11-27 13:44:07 +000090 {
brykt@google.comf5568902012-12-20 11:42:45 +000091 'target_name': 'frame_editor',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000092 'type': 'executable',
93 'dependencies': [
94 'command_line_parser',
brykt@google.comf5568902012-12-20 11:42:45 +000095 'frame_editing_lib',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000096 ],
97 'sources': [
brykt@google.comf5568902012-12-20 11:42:45 +000098 'frame_editing/frame_editing.cc',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000099 ],
brykt@google.comf5568902012-12-20 11:42:45 +0000100 }, # frame_editing
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +0000101 ],
brykt@google.com4de3dfe2012-11-27 13:44:07 +0000102 'conditions': [
103 ['include_tests==1', {
104 'targets' : [
105 {
106 'target_name': 'tools_unittests',
107 'type': 'executable',
108 'dependencies': [
kjellander@webrtc.orgb2d74972013-01-26 16:36:40 +0000109 'command_line_parser',
brykt@google.comf5568902012-12-20 11:42:45 +0000110 'frame_editing_lib',
brykt@google.com4de3dfe2012-11-27 13:44:07 +0000111 '<(webrtc_root)/test/test.gyp:test_support_main',
112 '<(DEPTH)/testing/gtest.gyp:gtest',
113 ],
114 'sources': [
kjellander@webrtc.orgb2d74972013-01-26 16:36:40 +0000115 'simple_command_line_parser_unittest.cc',
brykt@google.comf5568902012-12-20 11:42:45 +0000116 'frame_editing/frame_editing_unittest.cc',
brykt@google.com4de3dfe2012-11-27 13:44:07 +0000117 ],
118 }, # tools_unittests
119 ], # targets
120 }], # include_tests
121 ], # conditions
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +0000122}