Adding possibility to set usage of temporal layers from outside of VP8 gyp file.

Review URL: https://webrtc-codereview.appspot.com/926005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2981 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrikg@webrtc.org 2012-10-24 12:34:28 +00:00
parent bfad0a7088
commit c0ceb8227f

View File

@ -11,6 +11,15 @@
'../../../../build/common.gypi',
'../test_framework/test_framework.gypi'
],
'variables': {
'conditions': [
['build_with_chromium==1', {
'use_temporal_layers%': 0,
}, {
'use_temporal_layers%': 1,
}],
],
},
'targets': [
{
'target_name': 'webrtc_vp8',
@ -42,6 +51,8 @@
'defines': [
'WEBRTC_LIBVPX_VERSION=971' # Cayuga
],
}],
['use_temporal_layers==1', {
'sources': [
'temporal_layers.h',
'temporal_layers.cc',