blob: 1d4f5a33435c37ef7bed900ecfc7c3f4f90dca12 [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': [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000018 '<(webrtc_root)/common.gyp:webrtc_common',
andrew@webrtc.orgfa418ac2012-09-11 01:34:21 +000019 '<(webrtc_root)/common_video/common_video.gyp:common_video',
stefan@webrtc.orgeb917922013-02-18 14:40:18 +000020 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000021 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
niklase@google.com470e71d2011-07-07 08:21:25 +000022 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000023 'conditions': [
sjlee@webrtc.org4b425082012-09-10 17:58:21 +000024 ['build_libvpx==1', {
25 'dependencies': [
kjellandere26e7872016-03-04 14:39:28 -080026 '<(libvpx_dir)/libvpx.gyp:libvpx',
sjlee@webrtc.org4b425082012-09-10 17:58:21 +000027 ],
28 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000029 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000030 'sources': [
andresp@webrtc.org48c58822013-04-17 15:31:40 +000031 'default_temporal_layers.cc',
32 'default_temporal_layers.h',
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000033 'include/vp8.h',
34 'include/vp8_common_types.h',
andresp@webrtc.orgbe9c5602013-10-04 13:11:31 +000035 'realtime_temporal_layers.cc',
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000036 'reference_picture_selection.cc',
37 'reference_picture_selection.h',
38 'screenshare_layers.cc',
39 'screenshare_layers.h',
40 'simulcast_encoder_adapter.cc',
41 'simulcast_encoder_adapter.h',
andresp@webrtc.org48c58822013-04-17 15:31:40 +000042 'temporal_layers.h',
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000043 'vp8_impl.cc',
44 'vp8_impl.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000045 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000046 # Disable warnings to enable Win64 build, issue 1323.
47 'msvs_disabled_warnings': [
48 4267, # size_t to int truncation.
49 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000050 },
xians@google.com508eba52011-08-08 12:48:13 +000051 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000052 'conditions': [
53 ['include_tests==1', {
xians@google.com508eba52011-08-08 12:48:13 +000054 'targets': [
55 {
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000056 'target_name': 'vp8_coder',
57 'type': 'executable',
58 'dependencies': [
59 'webrtc_vp8',
60 '<(webrtc_root)/common_video/common_video.gyp:common_video',
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000061 '<(DEPTH)/testing/gtest.gyp:gtest',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000062 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000063 '<(webrtc_root)/test/test.gyp:test_support_main',
phoglund@webrtc.org14d77002013-05-17 11:52:08 +000064 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser',
mikhal@webrtc.org451aa5d2012-12-07 21:23:02 +000065 ],
66 'sources': [
67 'vp8_sequence_coder.cc',
68 ],
69 },
xians@google.com508eba52011-08-08 12:48:13 +000070 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000071 }], # include_tests
niklase@google.com470e71d2011-07-07 08:21:25 +000072 ],
73}