blob: 621c244cdfe69eeddc2bc6dc27f9e1379cb10533 [file] [log] [blame]
andrew@webrtc.orgf5a91fd2012-07-23 16:28:02 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
xians@google.comd3185fe2011-09-12 12:24:39 +00002#
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.
niklase@google.com470e71d2011-07-07 08:21:25 +00008
9{
andrew@webrtc.orgf5a91fd2012-07-23 16:28:02 +000010 'includes': [
andrew@webrtc.orgd1f3b1a2012-07-27 22:19:16 +000011 '../../../../build/common.gypi',
andrew@webrtc.orgf5a91fd2012-07-23 16:28:02 +000012 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000013 'targets': [
14 {
15 'target_name': 'webrtc_vp8',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000016 'type': 'static_library',
niklase@google.com470e71d2011-07-07 08:21:25 +000017 'dependencies': [
andrew@webrtc.orgfa418ac2012-09-11 01:34:21 +000018 '<(webrtc_root)/common_video/common_video.gyp:common_video',
stefan@webrtc.orgeb917922013-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',
niklase@google.com470e71d2011-07-07 08:21:25 +000021 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000022 'conditions': [
sjlee@webrtc.org4b425082012-09-10 17:58:21 +000023 ['build_libvpx==1', {
24 'dependencies': [
25 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
26 ],
27 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000028 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000029 'sources': [
stefan@webrtc.orga4a88f92011-12-02 08:34:05 +000030 'reference_picture_selection.h',
31 'reference_picture_selection.cc',
andrew@webrtc.orgd1f3b1a2012-07-27 22:19:16 +000032 'include/vp8.h',
33 'include/vp8_common_types.h',
wu@webrtc.org7f52a6e2014-02-24 23:56:39 +000034 'vp8_factory.cc',
pwestin@webrtc.org8d89b582012-09-20 20:49:12 +000035 'vp8_impl.cc',
andresp@webrtc.org48c58822013-04-17 15:31:40 +000036 'default_temporal_layers.cc',
37 'default_temporal_layers.h',
andresp@webrtc.orgbe9c5602013-10-04 13:11:31 +000038 'realtime_temporal_layers.cc',
andresp@webrtc.org48c58822013-04-17 15:31:40 +000039 'temporal_layers.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000040 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000041 # Disable warnings to enable Win64 build, issue 1323.
42 'msvs_disabled_warnings': [
43 4267, # size_t to int truncation.
44 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000045 },
xians@google.com508eba52011-08-08 12:48:13 +000046 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000047 'conditions': [
48 ['include_tests==1', {
xians@google.com508eba52011-08-08 12:48:13 +000049 'targets': [
50 {
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000051 'target_name': 'vp8_coder',
52 'type': 'executable',
53 'dependencies': [
54 'webrtc_vp8',
55 '<(webrtc_root)/common_video/common_video.gyp:common_video',
56 '<(webrtc_root)/test/metrics.gyp:metrics',
57 '<(DEPTH)/testing/gtest.gyp:gtest',
58 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
59 '<(webrtc_root)/test/test.gyp:test_support_main',
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000060 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000061 ],
62 'sources': [
63 'vp8_sequence_coder.cc',
64 ],
65 },
xians@google.com508eba52011-08-08 12:48:13 +000066 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000067 }], # include_tests
niklase@google.com470e71d2011-07-07 08:21:25 +000068 ],
69}