andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 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. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 8 | |
| 9 | { |
andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 10 | 'includes': [ |
andrew@webrtc.org | d1f3b1a | 2012-07-27 22:19:16 +0000 | [diff] [blame] | 11 | '../../../../build/common.gypi', |
andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 12 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | 'targets': [ |
| 14 | { |
| 15 | 'target_name': 'webrtc_vp8', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 16 | 'type': 'static_library', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 17 | 'dependencies': [ |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 18 | '<(webrtc_root)/common.gyp:webrtc_common', |
andrew@webrtc.org | fa418ac | 2012-09-11 01:34:21 +0000 | [diff] [blame] | 19 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
stefan@webrtc.org | eb91792 | 2013-02-18 14:40:18 +0000 | [diff] [blame] | 20 | '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 21 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 22 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | 'conditions': [ |
sjlee@webrtc.org | 4b42508 | 2012-09-10 17:58:21 +0000 | [diff] [blame] | 24 | ['build_libvpx==1', { |
| 25 | 'dependencies': [ |
kjellander | e26e787 | 2016-03-04 14:39:28 -0800 | [diff] [blame] | 26 | '<(libvpx_dir)/libvpx.gyp:libvpx', |
sjlee@webrtc.org | 4b42508 | 2012-09-10 17:58:21 +0000 | [diff] [blame] | 27 | ], |
| 28 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 29 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 30 | 'sources': [ |
andresp@webrtc.org | 48c5882 | 2013-04-17 15:31:40 +0000 | [diff] [blame] | 31 | 'default_temporal_layers.cc', |
| 32 | 'default_temporal_layers.h', |
pbos@webrtc.org | 9115cde | 2014-12-09 10:36:40 +0000 | [diff] [blame] | 33 | 'include/vp8.h', |
| 34 | 'include/vp8_common_types.h', |
andresp@webrtc.org | be9c560 | 2013-10-04 13:11:31 +0000 | [diff] [blame] | 35 | 'realtime_temporal_layers.cc', |
pbos@webrtc.org | 9115cde | 2014-12-09 10:36:40 +0000 | [diff] [blame] | 36 | '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.org | 48c5882 | 2013-04-17 15:31:40 +0000 | [diff] [blame] | 42 | 'temporal_layers.h', |
pbos@webrtc.org | 9115cde | 2014-12-09 10:36:40 +0000 | [diff] [blame] | 43 | 'vp8_impl.cc', |
| 44 | 'vp8_impl.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 45 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 46 | # Disable warnings to enable Win64 build, issue 1323. |
| 47 | 'msvs_disabled_warnings': [ |
| 48 | 4267, # size_t to int truncation. |
| 49 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 50 | }, |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 51 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 52 | 'conditions': [ |
| 53 | ['include_tests==1', { |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 54 | 'targets': [ |
| 55 | { |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 56 | 'target_name': 'vp8_coder', |
| 57 | 'type': 'executable', |
| 58 | 'dependencies': [ |
| 59 | 'webrtc_vp8', |
| 60 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 61 | '<(DEPTH)/testing/gtest.gyp:gtest', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 62 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 63 | '<(webrtc_root)/test/test.gyp:test_support_main', |
phoglund@webrtc.org | 14d7700 | 2013-05-17 11:52:08 +0000 | [diff] [blame] | 64 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 65 | ], |
| 66 | 'sources': [ |
| 67 | 'vp8_sequence_coder.cc', |
| 68 | ], |
| 69 | }, |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 70 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 71 | }], # include_tests |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 72 | ], |
| 73 | } |