Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Common media variables. | |
| 6 { | |
| 7 'variables': { | |
| 8 'conditions': [ | |
| 9 ['OS == "android" or OS == "ios"', { | |
| 10 # Android and iOS don't use FFmpeg or libvpx by default. | |
|
xhwang
2015/07/15 00:14:20
What's gonna happen when I set build_ffmpegsumo=1
watk
2015/07/16 20:55:14
Your build won't work :) But even if we weren't se
| |
| 11 # Set build_ffmpegsumo=1 for Android builds to compile experimental | |
| 12 # support for FFmpeg and the desktop media pipeline. | |
| 13 # This 'variables' dict is required to ensure build_ffmpegsumo is | |
| 14 # defined when we read its value below. | |
| 15 'variables': { | |
| 16 'build_ffmpegsumo%': 0, | |
| 17 }, | |
| 18 'media_use_ffmpeg%': '<(build_ffmpegsumo)', | |
|
xhwang
2015/07/15 00:14:20
I found "media_use_ffmpeg" more intuitive than "bu
| |
| 19 'media_use_libvpx%': 0, | |
| 20 }, { | |
| 21 'media_use_ffmpeg%': 1, | |
| 22 'media_use_libvpx%': 1, | |
| 23 }], | |
| 24 ], | |
| 25 }, | |
| 26 } | |
| OLD | NEW |