blob: 3a6787e2bd81ebe9a9da23f9667a853e29059df5 [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',
wjia@webrtc.org0a7fc8d2013-01-18 17:13:47 +000016 'type': 'static_library',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000017 'sources': [
18 'simple_command_line_parser.h',
19 'simple_command_line_parser.cc',
20 ],
21 }, # command_line_parser
22 {
23 'target_name': 'video_quality_analysis',
wjia@webrtc.org0a7fc8d2013-01-18 17:13:47 +000024 'type': 'static_library',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +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
66 {
67 'target_name': 'rgba_to_i420_converter',
68 'type': 'executable',
69 'dependencies': [
70 'command_line_parser',
71 '<(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',
77 ],
78 }, # rgba_to_i420_converter
brykt@google.comd9b18e92012-11-27 13:44:07 +000079 {
brykt@google.comf8b1da22012-12-20 11:42:45 +000080 'target_name': 'frame_editing_lib',
wjia@webrtc.org0a7fc8d2013-01-18 17:13:47 +000081 'type': 'static_library',
brykt@google.comd9b18e92012-11-27 13:44:07 +000082 'dependencies': [
andrew@webrtc.orgad2a55a2012-11-30 02:28:27 +000083 '<(webrtc_root)/common_video/common_video.gyp:common_video',
brykt@google.comd9b18e92012-11-27 13:44:07 +000084 ],
85 'sources': [
brykt@google.comf8b1da22012-12-20 11:42:45 +000086 'frame_editing/frame_editing_lib.cc',
87 'frame_editing/frame_editing_lib.h',
brykt@google.comd9b18e92012-11-27 13:44:07 +000088 ],
kjellander@webrtc.org1e7f77a2013-02-04 10:07:17 +000089 # Disable warnings to enable Win64 build, issue 1323.
90 'msvs_disabled_warnings': [
91 4267, # size_t to int truncation.
92 ],
brykt@google.comf8b1da22012-12-20 11:42:45 +000093 }, # frame_editing_lib
brykt@google.comd9b18e92012-11-27 13:44:07 +000094 {
brykt@google.comf8b1da22012-12-20 11:42:45 +000095 'target_name': 'frame_editor',
brykt@google.comd9b18e92012-11-27 13:44:07 +000096 'type': 'executable',
97 'dependencies': [
98 'command_line_parser',
brykt@google.comf8b1da22012-12-20 11:42:45 +000099 'frame_editing_lib',
brykt@google.comd9b18e92012-11-27 13:44:07 +0000100 ],
101 'sources': [
brykt@google.comf8b1da22012-12-20 11:42:45 +0000102 'frame_editing/frame_editing.cc',
brykt@google.comd9b18e92012-11-27 13:44:07 +0000103 ],
brykt@google.comf8b1da22012-12-20 11:42:45 +0000104 }, # frame_editing
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +0000105 ],
brykt@google.comd9b18e92012-11-27 13:44:07 +0000106 'conditions': [
107 ['include_tests==1', {
108 'targets' : [
109 {
110 'target_name': 'tools_unittests',
111 'type': 'executable',
112 'dependencies': [
kjellander@webrtc.orgf6a2efa2013-01-26 16:36:40 +0000113 'command_line_parser',
brykt@google.comf8b1da22012-12-20 11:42:45 +0000114 'frame_editing_lib',
brykt@google.comd9b18e92012-11-27 13:44:07 +0000115 '<(webrtc_root)/test/test.gyp:test_support_main',
116 '<(DEPTH)/testing/gtest.gyp:gtest',
117 ],
118 'sources': [
kjellander@webrtc.orgf6a2efa2013-01-26 16:36:40 +0000119 'simple_command_line_parser_unittest.cc',
brykt@google.comf8b1da22012-12-20 11:42:45 +0000120 'frame_editing/frame_editing_unittest.cc',
brykt@google.comd9b18e92012-11-27 13:44:07 +0000121 ],
kjellander@webrtc.org1e7f77a2013-02-04 10:07:17 +0000122 # Disable warnings to enable Win64 build, issue 1323.
123 'msvs_disabled_warnings': [
124 4267, # size_t to int truncation.
125 ],
brykt@google.comd9b18e92012-11-27 13:44:07 +0000126 }, # tools_unittests
127 ], # targets
128 }], # include_tests
129 ], # conditions
wjia@webrtc.org0a7fc8d2013-01-18 17:13:47 +0000130}