OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Common media variables. | 5 # Common media variables. |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'conditions': [ | 8 'conditions': [ |
9 ['OS == "android" or OS == "ios"', { | 9 ['OS == "android" or OS == "ios"', { |
10 # Android and iOS don't use FFmpeg or libvpx by default. | 10 # Android and iOS don't use FFmpeg, libvpx nor libwebm by default. |
11 # Set media_use_ffmpeg=1 for Android builds to compile experimental | 11 # Set media_use_ffmpeg=1 for Android builds to compile experimental |
12 # support for FFmpeg and the desktop media pipeline. | 12 # support for FFmpeg and the desktop media pipeline. |
13 'media_use_ffmpeg%': 0, | 13 'media_use_ffmpeg%': 0, |
14 'media_use_libvpx%': 0, | 14 'media_use_libvpx%': 0, |
| 15 'media_use_libwebm%': 0, |
15 }, { | 16 }, { |
16 'media_use_ffmpeg%': 1, | 17 'media_use_ffmpeg%': 1, |
17 'media_use_libvpx%': 1, | 18 'media_use_libvpx%': 1, |
| 19 'media_use_libwebm%': 1, |
18 }], | 20 }], |
19 ], | 21 ], |
20 }, | 22 }, |
21 } | 23 } |
OLD | NEW |