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', |
| 12 | '../test_framework/test_framework.gypi' |
andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 13 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 14 | 'targets': [ |
| 15 | { |
| 16 | 'target_name': 'webrtc_vp8', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 17 | 'type': 'static_library', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 18 | 'dependencies': [ |
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', |
| 21 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 22 | ], |
| 23 | 'include_dirs': [ |
andrew@webrtc.org | d1f3b1a | 2012-07-27 22:19:16 +0000 | [diff] [blame] | 24 | 'include', |
stefan@webrtc.org | 0ee8ba1 | 2011-11-25 12:12:43 +0000 | [diff] [blame] | 25 | '<(webrtc_root)/common_video/interface', |
stefan@webrtc.org | 0ee8ba1 | 2011-11-25 12:12:43 +0000 | [diff] [blame] | 26 | '<(webrtc_root)/modules/video_coding/codecs/interface', |
| 27 | '<(webrtc_root)/modules/interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 28 | ], |
| 29 | 'conditions': [ |
sjlee@webrtc.org | 4b42508 | 2012-09-10 17:58:21 +0000 | [diff] [blame] | 30 | ['build_libvpx==1', { |
| 31 | 'dependencies': [ |
| 32 | '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', |
| 33 | ], |
| 34 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 35 | ], |
| 36 | 'direct_dependent_settings': { |
| 37 | 'include_dirs': [ |
andrew@webrtc.org | d1f3b1a | 2012-07-27 22:19:16 +0000 | [diff] [blame] | 38 | 'include', |
stefan@webrtc.org | 0ee8ba1 | 2011-11-25 12:12:43 +0000 | [diff] [blame] | 39 | '<(webrtc_root)/common_video/interface', |
| 40 | '<(webrtc_root)/modules/video_coding/codecs/interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 41 | ], |
| 42 | }, |
| 43 | 'sources': [ |
stefan@webrtc.org | a4a88f9 | 2011-12-02 08:34:05 +0000 | [diff] [blame] | 44 | 'reference_picture_selection.h', |
| 45 | 'reference_picture_selection.cc', |
andrew@webrtc.org | d1f3b1a | 2012-07-27 22:19:16 +0000 | [diff] [blame] | 46 | 'include/vp8.h', |
| 47 | 'include/vp8_common_types.h', |
pwestin@webrtc.org | 8d89b58 | 2012-09-20 20:49:12 +0000 | [diff] [blame] | 48 | 'vp8_impl.cc', |
andresp@webrtc.org | 48c5882 | 2013-04-17 15:31:40 +0000 | [diff] [blame] | 49 | 'default_temporal_layers.cc', |
| 50 | 'default_temporal_layers.h', |
| 51 | 'temporal_layers.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 52 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 53 | # Disable warnings to enable Win64 build, issue 1323. |
| 54 | 'msvs_disabled_warnings': [ |
| 55 | 4267, # size_t to int truncation. |
| 56 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 57 | }, |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 58 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 59 | 'conditions': [ |
| 60 | ['include_tests==1', { |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 61 | 'targets': [ |
| 62 | { |
stefan@webrtc.org | 42e78ac | 2012-05-24 14:36:34 +0000 | [diff] [blame] | 63 | 'target_name': 'vp8_integrationtests', |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 64 | 'type': 'executable', |
| 65 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 66 | 'test_framework', |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 67 | 'webrtc_vp8', |
andrew@webrtc.org | fa418ac | 2012-09-11 01:34:21 +0000 | [diff] [blame] | 68 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 69 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 70 | '<(webrtc_root)/test/test.gyp:test_support', |
| 71 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 72 | '<(DEPTH)/testing/gtest.gyp:gtest', |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 73 | ], |
| 74 | 'sources': [ |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 75 | # source files |
mikhal@webrtc.org | 251f64e | 2012-12-06 17:56:20 +0000 | [diff] [blame] | 76 | 'test/vp8_impl_unittest.cc', |
stefan@webrtc.org | a4a88f9 | 2011-12-02 08:34:05 +0000 | [diff] [blame] | 77 | ], |
| 78 | }, |
| 79 | { |
| 80 | 'target_name': 'vp8_unittests', |
| 81 | 'type': 'executable', |
| 82 | 'dependencies': [ |
andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 83 | 'webrtc_vp8', |
mikhal@webrtc.org | 60d25f9 | 2012-12-06 16:48:18 +0000 | [diff] [blame] | 84 | 'test_framework', |
stefan@webrtc.org | c530043 | 2012-10-08 07:06:53 +0000 | [diff] [blame] | 85 | '<(DEPTH)/testing/gmock.gyp:gmock', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 86 | '<(DEPTH)/testing/gtest.gyp:gtest', |
andrew@webrtc.org | f5a91fd | 2012-07-23 16:28:02 +0000 | [diff] [blame] | 87 | '<(webrtc_root)/test/test.gyp:test_support_main', |
stefan@webrtc.org | a4a88f9 | 2011-12-02 08:34:05 +0000 | [diff] [blame] | 88 | ], |
stefan@webrtc.org | a4a88f9 | 2011-12-02 08:34:05 +0000 | [diff] [blame] | 89 | 'sources': [ |
stefan@webrtc.org | eb91792 | 2013-02-18 14:40:18 +0000 | [diff] [blame] | 90 | 'default_temporal_layers_unittest.cc', |
stefan@webrtc.org | a4a88f9 | 2011-12-02 08:34:05 +0000 | [diff] [blame] | 91 | 'reference_picture_selection_unittest.cc', |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 92 | ], |
sjlee@webrtc.org | 4b42508 | 2012-09-10 17:58:21 +0000 | [diff] [blame] | 93 | 'conditions': [ |
| 94 | ['build_libvpx==1', { |
| 95 | 'dependencies': [ |
| 96 | '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', |
| 97 | ], |
| 98 | }], |
| 99 | ], |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 100 | }, |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 101 | { |
| 102 | 'target_name': 'vp8_coder', |
| 103 | 'type': 'executable', |
| 104 | 'dependencies': [ |
| 105 | 'webrtc_vp8', |
| 106 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
| 107 | '<(webrtc_root)/test/metrics.gyp:metrics', |
| 108 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 109 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| 110 | '<(webrtc_root)/test/test.gyp:test_support_main', |
phoglund@webrtc.org | 14d7700 | 2013-05-17 11:52:08 +0000 | [diff] [blame^] | 111 | '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
mikhal@webrtc.org | 451aa5d | 2012-12-07 21:23:02 +0000 | [diff] [blame] | 112 | ], |
| 113 | 'sources': [ |
| 114 | 'vp8_sequence_coder.cc', |
| 115 | ], |
| 116 | }, |
xians@google.com | 508eba5 | 2011-08-08 12:48:13 +0000 | [diff] [blame] | 117 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 118 | }], # include_tests |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 119 | ], |
| 120 | } |