Index: media/media_variables.gypi |
diff --git a/media/media_variables.gypi b/media/media_variables.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3ce26fdf0dd8e9cbae6c56a44829f0d5dbb600a7 |
--- /dev/null |
+++ b/media/media_variables.gypi |
@@ -0,0 +1,21 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Common media variables. |
+{ |
+ 'variables': { |
+ 'conditions': [ |
+ ['OS == "android" or OS == "ios"', { |
+ # Android and iOS don't use FFmpeg or libvpx by default. |
+ # It's possible to override media_use_ffmpeg for Android builds to compile |
+ # experimental support for FFmpeg and the desktop media pipeline. |
+ 'media_use_ffmpeg%': 0, |
+ 'media_use_libvpx%': 0, |
+ }, { |
+ 'media_use_ffmpeg%': 1, |
+ 'media_use_libvpx%': 1, |
+ }], |
+ ], |
+ }, |
+} |