2012-08-22 08:12:00 +00:00
|
|
|
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
'includes': [
|
|
|
|
|
'../build/common.gypi',
|
|
|
|
|
],
|
|
|
|
|
'targets': [
|
2012-08-27 14:57:19 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_quality_analysis',
|
2013-01-18 17:13:47 +00:00
|
|
|
'type': 'static_library',
|
2012-08-22 08:12:00 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
|
|
|
|
|
],
|
2012-08-27 14:57:19 +00:00
|
|
|
'export_dependent_settings': [
|
|
|
|
|
'<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
|
|
|
|
|
],
|
2012-08-22 08:12:00 +00:00
|
|
|
'sources': [
|
|
|
|
|
'frame_analyzer/video_quality_analysis.h',
|
|
|
|
|
'frame_analyzer/video_quality_analysis.cc',
|
|
|
|
|
],
|
2012-08-27 14:57:19 +00:00
|
|
|
}, # video_quality_analysis
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'frame_analyzer',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2013-05-17 11:52:08 +00:00
|
|
|
'<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
|
2012-08-27 14:57:19 +00:00
|
|
|
'video_quality_analysis',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'frame_analyzer/frame_analyzer.cc',
|
|
|
|
|
],
|
|
|
|
|
}, # frame_analyzer
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'psnr_ssim_analyzer',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2013-05-17 11:52:08 +00:00
|
|
|
'<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
|
2012-08-27 14:57:19 +00:00
|
|
|
'video_quality_analysis',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'psnr_ssim_analyzer/psnr_ssim_analyzer.cc',
|
|
|
|
|
],
|
|
|
|
|
}, # psnr_ssim_analyzer
|
2012-08-22 08:12:00 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rgba_to_i420_converter',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2013-05-17 11:52:08 +00:00
|
|
|
'<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
|
2012-08-22 08:12:00 +00:00
|
|
|
'<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'converter/converter.h',
|
|
|
|
|
'converter/converter.cc',
|
|
|
|
|
'converter/rgba_to_i420_converter.cc',
|
|
|
|
|
],
|
2012-08-27 14:57:19 +00:00
|
|
|
}, # rgba_to_i420_converter
|
2012-11-27 13:44:07 +00:00
|
|
|
{
|
2012-12-20 11:42:45 +00:00
|
|
|
'target_name': 'frame_editing_lib',
|
2013-01-18 17:13:47 +00:00
|
|
|
'type': 'static_library',
|
2012-11-27 13:44:07 +00:00
|
|
|
'dependencies': [
|
2012-11-30 02:28:27 +00:00
|
|
|
'<(webrtc_root)/common_video/common_video.gyp:common_video',
|
2012-11-27 13:44:07 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2012-12-20 11:42:45 +00:00
|
|
|
'frame_editing/frame_editing_lib.cc',
|
|
|
|
|
'frame_editing/frame_editing_lib.h',
|
2012-11-27 13:44:07 +00:00
|
|
|
],
|
2013-02-04 10:07:17 +00:00
|
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
|
|
|
'msvs_disabled_warnings': [
|
|
|
|
|
4267, # size_t to int truncation.
|
|
|
|
|
],
|
2012-12-20 11:42:45 +00:00
|
|
|
}, # frame_editing_lib
|
2012-11-27 13:44:07 +00:00
|
|
|
{
|
2012-12-20 11:42:45 +00:00
|
|
|
'target_name': 'frame_editor',
|
2012-11-27 13:44:07 +00:00
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2013-05-17 11:52:08 +00:00
|
|
|
'<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
|
2012-12-20 11:42:45 +00:00
|
|
|
'frame_editing_lib',
|
2012-11-27 13:44:07 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
2012-12-20 11:42:45 +00:00
|
|
|
'frame_editing/frame_editing.cc',
|
2012-11-27 13:44:07 +00:00
|
|
|
],
|
2012-12-20 11:42:45 +00:00
|
|
|
}, # frame_editing
|
2013-05-17 11:52:08 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'force_mic_volume_max',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2013-05-29 00:38:02 +00:00
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2014-05-14 12:24:04 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
|
2013-05-17 11:52:08 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'force_mic_volume_max/force_mic_volume_max.cc',
|
|
|
|
|
],
|
|
|
|
|
}, # force_mic_volume_max
|
2012-08-22 08:12:00 +00:00
|
|
|
],
|
2012-11-27 13:44:07 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['include_tests==1', {
|
|
|
|
|
'targets' : [
|
2013-10-21 08:40:56 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'audio_e2e_harness',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2014-05-14 12:24:04 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
|
2013-10-21 08:40:56 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'e2e_quality/audio/audio_e2e_harness.cc',
|
|
|
|
|
],
|
|
|
|
|
}, # audio_e2e_harness
|
2012-11-27 13:44:07 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'tools_unittests',
|
2013-08-02 16:53:47 +00:00
|
|
|
'type': '<(gtest_target_type)',
|
2012-11-27 13:44:07 +00:00
|
|
|
'dependencies': [
|
2012-12-20 11:42:45 +00:00
|
|
|
'frame_editing_lib',
|
2013-09-10 12:10:01 +00:00
|
|
|
'video_quality_analysis',
|
2013-05-17 11:52:08 +00:00
|
|
|
'<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
|
2012-11-27 13:44:07 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
2013-01-26 16:36:40 +00:00
|
|
|
'simple_command_line_parser_unittest.cc',
|
2012-12-20 11:42:45 +00:00
|
|
|
'frame_editing/frame_editing_unittest.cc',
|
2013-09-10 12:10:01 +00:00
|
|
|
'frame_analyzer/video_quality_analysis_unittest.cc',
|
2012-11-27 13:44:07 +00:00
|
|
|
],
|
2013-02-04 10:07:17 +00:00
|
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
|
|
|
'msvs_disabled_warnings': [
|
|
|
|
|
4267, # size_t to int truncation.
|
|
|
|
|
],
|
2013-08-02 16:53:47 +00:00
|
|
|
'conditions': [
|
|
|
|
|
# TODO(henrike): remove build_with_chromium==1 when the bots are
|
|
|
|
|
# using Chromium's buildbots.
|
2014-06-04 20:46:50 +00:00
|
|
|
['build_with_chromium==1 and OS=="android"', {
|
2013-08-02 16:53:47 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2012-11-27 13:44:07 +00:00
|
|
|
}, # tools_unittests
|
|
|
|
|
], # targets
|
2013-08-02 16:53:47 +00:00
|
|
|
# TODO(henrike): remove build_with_chromium==1 when the bots are using
|
|
|
|
|
# Chromium's buildbots.
|
|
|
|
|
'conditions': [
|
2014-06-04 20:46:50 +00:00
|
|
|
['build_with_chromium==1 and OS=="android"', {
|
2013-08-02 16:53:47 +00:00
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'tools_unittests_apk_target',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):tools_unittests_apk',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}],
|
2013-08-22 07:57:00 +00:00
|
|
|
['test_isolation_mode != "noop"', {
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'tools_unittests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'tools_unittests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
2013-10-02 19:31:16 +00:00
|
|
|
'../build/isolate.gypi',
|
2013-08-22 07:57:00 +00:00
|
|
|
'tools_unittests.isolate',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'tools_unittests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}],
|
2013-08-02 16:53:47 +00:00
|
|
|
],
|
2012-11-27 13:44:07 +00:00
|
|
|
}], # include_tests
|
|
|
|
|
], # conditions
|
2013-01-18 17:13:47 +00:00
|
|
|
}
|