summaryrefslogtreecommitdiff
path: root/chromium/media/media_variables.gypi
blob: b203ca09d67e6f2f2d403919a5f1a2d94364b699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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, libvpx nor libwebm by default.
        # Set media_use_ffmpeg=1 for Android builds to compile experimental
        # support for FFmpeg and the desktop media pipeline.
        'media_use_ffmpeg%': 0,
        'media_use_libvpx%': 0,
        'media_use_libwebm%': 0,
      }, {
        'media_use_ffmpeg%': 1,
        'media_use_libvpx%': 1,
        'media_use_libwebm%': 1,
      }],
    ],
  },
}