blob: b3859a5978ddcbd70c2522a1a7008709077268a2 [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',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000012 ],
13 'targets': [
14 {
15 'target_name': 'webrtc_vp8',
wjia@webrtc.org9669d712013-01-18 23:42:21 +000016 'type': 'static_library',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000017 'dependencies': [
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000018 '<(webrtc_root)/common_video/common_video.gyp:common_video',
stefan@webrtc.orgf4d37882013-02-18 14:40:18 +000019 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
20 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000021 ],
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000022 'conditions': [
23 ['build_libvpx==1', {
24 'dependencies': [
25 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
26 ],
27 }],
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000028 ],
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000029 'sources': [
30 'reference_picture_selection.h',
31 'reference_picture_selection.cc',
32 'include/vp8.h',
33 'include/vp8_common_types.h',
34 'vp8_impl.cc',
andresp@webrtc.org119bc542013-04-17 15:31:40 +000035 'default_temporal_layers.cc',
36 'default_temporal_layers.h',
andresp@webrtc.org03ced522013-10-03 14:06:14 +000037 'realtime_temporal_layers.cc',
andresp@webrtc.org119bc542013-04-17 15:31:40 +000038 'temporal_layers.h',
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000039 ],
kjellander@webrtc.org1e7f77a2013-02-04 10:07:17 +000040 # Disable warnings to enable Win64 build, issue 1323.
41 'msvs_disabled_warnings': [
42 4267, # size_t to int truncation.
43 ],
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000044 },
45 ], # targets
46 'conditions': [
47 ['include_tests==1', {
48 'targets': [
49 {
mikhal@webrtc.org173b19a2012-12-07 21:23:02 +000050 'target_name': 'vp8_coder',
51 'type': 'executable',
52 'dependencies': [
53 'webrtc_vp8',
54 '<(webrtc_root)/common_video/common_video.gyp:common_video',
55 '<(webrtc_root)/test/metrics.gyp:metrics',
56 '<(DEPTH)/testing/gtest.gyp:gtest',
57 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
58 '<(webrtc_root)/test/test.gyp:test_support_main',
phoglund@webrtc.orgde93f2c2013-05-17 11:52:08 +000059 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
mikhal@webrtc.org173b19a2012-12-07 21:23:02 +000060 ],
61 'sources': [
62 'vp8_sequence_coder.cc',
63 ],
64 },
andrew@webrtc.orgb015cbe2012-10-22 18:19:23 +000065 ], # targets
66 }], # include_tests
67 ],
68}