blob: 9124e5fad30eb0923563482c4f8f868590aeb94a [file] [log] [blame]
marpan@webrtc.org5b883172014-11-01 06:10:48 +00001# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
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.
8
9{
10 'includes': [
11 '../../../../build/common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'webrtc_vp9',
16 'type': 'static_library',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000017 'conditions': [
18 ['build_libvpx==1', {
19 'dependencies': [
kjellandere26e7872016-03-04 14:39:28 -080020 '<(libvpx_dir)/libvpx.gyp:libvpx',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000021 ],
22 }],
Peter Boström12996152016-05-14 02:03:18 +020023 ['libvpx_build_vp9==1', {
24 'sources': [
25 'screenshare_layers.cc',
26 'screenshare_layers.h',
27 'vp9_frame_buffer_pool.cc',
28 'vp9_frame_buffer_pool.h',
29 'vp9_impl.cc',
30 'vp9_impl.h',
31 ],
32 }, {
33 'sources': [
34 'vp9_noop.cc',
35 ],
36 }
37 ],
Peter Boströmbd05f0b2015-11-17 15:27:32 +010038 ],
39 'dependencies': [
40 '<(webrtc_root)/common_video/common_video.gyp:common_video',
41 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:video_coding_utility',
42 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
43 ],
44 'sources': [
45 'include/vp9.h',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000046 ],
47 },
48 ],
49}