marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 1 | # 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.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 17 | 'conditions': [ |
| 18 | ['build_libvpx==1', { |
| 19 | 'dependencies': [ |
kjellander | e26e787 | 2016-03-04 14:39:28 -0800 | [diff] [blame] | 20 | '<(libvpx_dir)/libvpx.gyp:libvpx', |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 21 | ], |
| 22 | }], |
Peter Boström | 1299615 | 2016-05-14 02:03:18 +0200 | [diff] [blame] | 23 | ['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öm | bd05f0b | 2015-11-17 15:27:32 +0100 | [diff] [blame] | 38 | ], |
| 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.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 46 | ], |
| 47 | }, |
| 48 | ], |
| 49 | } |