R=stefan@webrtc.org,marpan@webrtc.org BUG=201 Review URL: https://webrtc-codereview.appspot.com/1323005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3864 4adac7df-926f-26a2-2b94-8c16560cd09d
121 lines
3.9 KiB
Python
121 lines
3.9 KiB
Python
# 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',
|
|
'../test_framework/test_framework.gypi'
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'webrtc_vp8',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'<(webrtc_root)/common_video/common_video.gyp:common_video',
|
|
'<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
],
|
|
'include_dirs': [
|
|
'include',
|
|
'<(webrtc_root)/common_video/interface',
|
|
'<(webrtc_root)/modules/video_coding/codecs/interface',
|
|
'<(webrtc_root)/modules/interface',
|
|
],
|
|
'conditions': [
|
|
['build_libvpx==1', {
|
|
'dependencies': [
|
|
'<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
|
|
],
|
|
}],
|
|
],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'include',
|
|
'<(webrtc_root)/common_video/interface',
|
|
'<(webrtc_root)/modules/video_coding/codecs/interface',
|
|
],
|
|
},
|
|
'sources': [
|
|
'reference_picture_selection.h',
|
|
'reference_picture_selection.cc',
|
|
'include/vp8.h',
|
|
'include/vp8_common_types.h',
|
|
'vp8_impl.cc',
|
|
'default_temporal_layers.cc',
|
|
'default_temporal_layers.h',
|
|
'temporal_layers.h',
|
|
],
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
'msvs_disabled_warnings': [
|
|
4267, # size_t to int truncation.
|
|
],
|
|
},
|
|
], # targets
|
|
'conditions': [
|
|
['include_tests==1', {
|
|
'targets': [
|
|
{
|
|
'target_name': 'vp8_integrationtests',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'test_framework',
|
|
'webrtc_vp8',
|
|
'<(webrtc_root)/common_video/common_video.gyp:common_video',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
],
|
|
'sources': [
|
|
# source files
|
|
'test/vp8_impl_unittest.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'vp8_unittests',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'webrtc_vp8',
|
|
'test_framework',
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
|
],
|
|
'sources': [
|
|
'default_temporal_layers_unittest.cc',
|
|
'reference_picture_selection_unittest.cc',
|
|
],
|
|
'conditions': [
|
|
['build_libvpx==1', {
|
|
'dependencies': [
|
|
'<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'vp8_coder',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'webrtc_vp8',
|
|
'<(webrtc_root)/common_video/common_video.gyp:common_video',
|
|
'<(webrtc_root)/test/metrics.gyp:metrics',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support_main',
|
|
'<(webrtc_root)/tools/tools.gyp:command_line_parser',
|
|
],
|
|
'sources': [
|
|
'vp8_sequence_coder.cc',
|
|
],
|
|
},
|
|
], # targets
|
|
}], # include_tests
|
|
],
|
|
}
|