Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: media/media_variables.gypi

Issue 1541513002: Switch from build-time to run-time flags for Project Spitzer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/media_options.gni ('k') | media/renderers/default_renderer_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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, libvpx nor libwebm by default. 10 # Android and iOS don't use libwebm by default.
11 # Set media_use_ffmpeg=1 for Android builds to compile experimental 11 'media_use_libwebm%': 0,
12 # support for FFmpeg and the desktop media pipeline. 12 }, {
13 'media_use_libwebm%': 1,
14 }],
15 ['OS == "ios"', {
16 # iOS doesn't use FFmpeg or libvpx by default.
13 'media_use_ffmpeg%': 0, 17 'media_use_ffmpeg%': 0,
14 'media_use_libvpx%': 0, 18 'media_use_libvpx%': 0,
15 'media_use_libwebm%': 0,
16 }, { 19 }, {
17 'media_use_ffmpeg%': 1, 20 'media_use_ffmpeg%': 1,
18 'media_use_libvpx%': 1, 21 'media_use_libvpx%': 1,
19 'media_use_libwebm%': 1,
20 }], 22 }],
21 ], 23 ],
22 }, 24 },
23 } 25 }
OLDNEW
« no previous file with comments | « media/media_options.gni ('k') | media/renderers/default_renderer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698