blob: 3b3a84292d5f546a9d0cd31e2249c8cdb3c361aa [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 {
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000015 'target_name': 'video_quality_analysis',
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +000016 'type': 'static_library',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000017 'dependencies': [
kjellander@webrtc.orgd7e34e12015-01-26 19:17:26 +000018 '<(webrtc_root)/common_video/common_video.gyp:common_video',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000019 ],
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000020 'export_dependent_settings': [
kjellander@webrtc.orgd7e34e12015-01-26 19:17:26 +000021 '<(webrtc_root)/common_video/common_video.gyp:common_video',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000022 ],
23 'sources': [
24 'frame_analyzer/video_quality_analysis.h',
25 'frame_analyzer/video_quality_analysis.cc',
26 ],
27 }, # video_quality_analysis
28 {
29 'target_name': 'frame_analyzer',
30 'type': 'executable',
31 'dependencies': [
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000032 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000033 'video_quality_analysis',
34 ],
35 'sources': [
36 'frame_analyzer/frame_analyzer.cc',
37 ],
38 }, # frame_analyzer
39 {
40 'target_name': 'psnr_ssim_analyzer',
41 'type': 'executable',
42 'dependencies': [
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000043 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000044 'video_quality_analysis',
45 ],
46 'sources': [
47 'psnr_ssim_analyzer/psnr_ssim_analyzer.cc',
48 ],
49 }, # psnr_ssim_analyzer
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000050 {
51 'target_name': 'rgba_to_i420_converter',
52 'type': 'executable',
53 'dependencies': [
kjellander@webrtc.orgd7e34e12015-01-26 19:17:26 +000054 '<(webrtc_root)/common_video/common_video.gyp:common_video',
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000055 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000056 ],
57 'sources': [
58 'converter/converter.h',
59 'converter/converter.cc',
60 'converter/rgba_to_i420_converter.cc',
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +000061 ],
vspasova@webrtc.orgac410e22012-08-27 14:57:19 +000062 }, # rgba_to_i420_converter
brykt@google.com4de3dfe2012-11-27 13:44:07 +000063 {
brykt@google.comf5568902012-12-20 11:42:45 +000064 'target_name': 'frame_editing_lib',
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +000065 'type': 'static_library',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000066 'dependencies': [
andrew@webrtc.orgdddc02b2012-11-30 02:28:27 +000067 '<(webrtc_root)/common_video/common_video.gyp:common_video',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000068 ],
69 'sources': [
brykt@google.comf5568902012-12-20 11:42:45 +000070 'frame_editing/frame_editing_lib.cc',
71 'frame_editing/frame_editing_lib.h',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000072 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000073 # Disable warnings to enable Win64 build, issue 1323.
74 'msvs_disabled_warnings': [
75 4267, # size_t to int truncation.
76 ],
brykt@google.comf5568902012-12-20 11:42:45 +000077 }, # frame_editing_lib
brykt@google.com4de3dfe2012-11-27 13:44:07 +000078 {
brykt@google.comf5568902012-12-20 11:42:45 +000079 'target_name': 'frame_editor',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000080 'type': 'executable',
81 'dependencies': [
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000082 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
brykt@google.comf5568902012-12-20 11:42:45 +000083 'frame_editing_lib',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000084 ],
85 'sources': [
brykt@google.comf5568902012-12-20 11:42:45 +000086 'frame_editing/frame_editing.cc',
brykt@google.com4de3dfe2012-11-27 13:44:07 +000087 ],
brykt@google.comf5568902012-12-20 11:42:45 +000088 }, # frame_editing
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000089 {
90 'target_name': 'force_mic_volume_max',
91 'type': 'executable',
92 'dependencies': [
solenbergfc433e62016-09-09 11:04:53 -070093 '<(webrtc_root)/modules/modules.gyp:audio_device',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000094 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000095 ],
96 'sources': [
97 'force_mic_volume_max/force_mic_volume_max.cc',
98 ],
99 }, # force_mic_volume_max
vspasova@webrtc.orgf61dc9b2012-08-22 08:12:00 +0000100 ],
brykt@google.com4de3dfe2012-11-27 13:44:07 +0000101 'conditions': [
skvlad185ba292016-08-23 13:01:27 -0700102 ['enable_protobuf==1', {
terelius54ce6802016-07-13 06:44:41 -0700103 'targets': [
104 {
skvladf581eb72016-09-07 11:15:37 -0700105 'target_name': 'chart_proto',
tereliusb246a292016-08-23 18:15:25 -0700106 'type': 'static_library',
107 'sources': [
skvladf581eb72016-09-07 11:15:37 -0700108 'event_log_visualizer/chart.proto',
tereliusb246a292016-08-23 18:15:25 -0700109 ],
110 'variables': {
111 'proto_in_dir': 'event_log_visualizer',
112 'proto_out_dir': 'webrtc/tools/event_log_visualizer',
113 },
114 'includes': ['../build/protoc.gypi'],
115 },
116 {
skvlad185ba292016-08-23 13:01:27 -0700117 # RTC event log visualization library
118 'target_name': 'event_log_visualizer_utils',
119 'type': 'static_library',
terelius54ce6802016-07-13 06:44:41 -0700120 'dependencies': [
skvladcc91d282016-10-03 18:31:22 -0700121 '<(webrtc_root)/webrtc.gyp:rtc_event_log_impl',
terelius54ce6802016-07-13 06:44:41 -0700122 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
Stefan Holmer13181032016-07-29 14:48:54 +0200123 '<(webrtc_root)/modules/modules.gyp:congestion_controller',
terelius54ce6802016-07-13 06:44:41 -0700124 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
125 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
skvladf581eb72016-09-07 11:15:37 -0700126 ':chart_proto',
terelius54ce6802016-07-13 06:44:41 -0700127 ],
128 'sources': [
129 'event_log_visualizer/analyzer.cc',
130 'event_log_visualizer/analyzer.h',
tereliusdc35dcd2016-08-01 12:03:27 -0700131 'event_log_visualizer/plot_base.cc',
terelius54ce6802016-07-13 06:44:41 -0700132 'event_log_visualizer/plot_base.h',
tereliusb246a292016-08-23 18:15:25 -0700133 'event_log_visualizer/plot_protobuf.cc',
134 'event_log_visualizer/plot_protobuf.h',
terelius54ce6802016-07-13 06:44:41 -0700135 'event_log_visualizer/plot_python.cc',
136 'event_log_visualizer/plot_python.h',
137 ],
tereliusb246a292016-08-23 18:15:25 -0700138 'export_dependent_settings': [
139 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
skvladf581eb72016-09-07 11:15:37 -0700140 ':chart_proto',
tereliusb246a292016-08-23 18:15:25 -0700141 ],
skvlad185ba292016-08-23 13:01:27 -0700142 },
143 ],
144 }],
brykt@google.com4de3dfe2012-11-27 13:44:07 +0000145 ], # conditions
wjia@webrtc.org2e2a4cf2013-01-18 17:13:47 +0000146}