blob: b3859a5978ddcbd70c2522a1a7008709077268a2 [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',
pwestin@webrtc.org8d89b582012-09-20 20:49:12 +000034 'vp8_impl.cc',
andresp@webrtc.org48c58822013-04-17 15:31:40 +000035 'default_temporal_layers.cc',
36 'default_temporal_layers.h',
andresp@webrtc.orgbe9c5602013-10-04 13:11:31 +000037 'realtime_temporal_layers.cc',
andresp@webrtc.org48c58822013-04-17 15:31:40 +000038 'temporal_layers.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000039 ],
kjellander@webrtc.orgfa53d872013-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 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000044 },
xians@google.com508eba52011-08-08 12:48:13 +000045 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000046 'conditions': [
47 ['include_tests==1', {
xians@google.com508eba52011-08-08 12:48:13 +000048 'targets': [
49 {
mikhal@webrtc.org451aa5d2012-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.org14d77002013-05-17 11:52:08 +000059 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000060 ],
61 'sources': [
62 'vp8_sequence_coder.cc',
63 ],
64 },
xians@google.com508eba52011-08-08 12:48:13 +000065 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000066 }], # include_tests
niklase@google.com470e71d2011-07-07 08:21:25 +000067 ],
68}