OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
11 '../../../../build/common.gypi', | 11 '../../../../build/common.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'webrtc_vp9', | 15 'target_name': 'webrtc_vp9', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'conditions': [ | 17 'conditions': [ |
18 ['build_libvpx==1', { | 18 ['build_libvpx==1', { |
19 'dependencies': [ | 19 'dependencies': [ |
20 '<(libvpx_dir)/libvpx.gyp:libvpx', | 20 '<(libvpx_dir)/libvpx.gyp:libvpx', |
21 ], | 21 ], |
22 }], | 22 }], |
| 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 ], |
23 ], | 38 ], |
24 'dependencies': [ | 39 'dependencies': [ |
25 '<(webrtc_root)/common_video/common_video.gyp:common_video', | 40 '<(webrtc_root)/common_video/common_video.gyp:common_video', |
26 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:vi
deo_coding_utility', | 41 '<(webrtc_root)/modules/video_coding/utility/video_coding_utility.gyp:vi
deo_coding_utility', |
27 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 42 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
28 ], | 43 ], |
29 'sources': [ | 44 'sources': [ |
30 'include/vp9.h', | 45 'include/vp9.h', |
31 'screenshare_layers.cc', | |
32 'screenshare_layers.h', | |
33 'vp9_frame_buffer_pool.cc', | |
34 'vp9_frame_buffer_pool.h', | |
35 'vp9_impl.cc', | |
36 'vp9_impl.h', | |
37 ], | 46 ], |
38 }, | 47 }, |
39 ], | 48 ], |
40 } | 49 } |
OLD | NEW |