From c0ceb8227fbefbde33e30f18e65b44bb2bd70d1b Mon Sep 17 00:00:00 2001 From: "henrikg@webrtc.org" Date: Wed, 24 Oct 2012 12:34:28 +0000 Subject: [PATCH] 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 --- webrtc/modules/video_coding/codecs/vp8/vp8.gyp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8.gyp b/webrtc/modules/video_coding/codecs/vp8/vp8.gyp index 373a8640a9..78c63a6a34 100644 --- a/webrtc/modules/video_coding/codecs/vp8/vp8.gyp +++ b/webrtc/modules/video_coding/codecs/vp8/vp8.gyp @@ -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',