media/webrtc/webrtc_config.gypi
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 11 Oct 2013 08:15:24 +0900
changeset 150414 e153730cc1000ef86d6850887d5f86130aeb06c6
parent 145086 df48be62a887166b8eb95907e2cbbc63664b770f
child 153001 f2757e7d1a086338f2c3568c643174f1bbdc3e41
permissions -rw-r--r--
Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# definitions to control what gets built in webrtc
# NOTE!!! if you change something here, due to .gyp files not
# being reprocessed on .gypi changes, run this before building:
# "find . -name '*.gyp' | xargs touch"
{
  'variables': {
    'build_with_mozilla': 1,
    'build_with_chromium': 0,
    # basic stuff for everything
    'include_internal_video_render': 0,
    'clang_use_chrome_plugins': 0,
    'enable_protobuf': 0,
    'include_tests': 0,
    'enable_android_opensl': 1,
# use_system_lib* still seems to be in use in trunk/build
    'use_system_libjpeg': 0,
    'use_system_libvpx': 0,
    'build_libjpeg': 0,
    'build_libvpx': 0,

    # turn off mandatory use of NEON and instead use NEON detection
    'arm_neon': 0,

    #if "-D build_with_gonk=1", then set moz_widget_toolkit_gonk to 1
    'moz_widget_toolkit_gonk': 0,
    'variables': {
      'build_with_gonk%': 0,
    },
    'conditions': [
      ['build_with_gonk==1', {
         'moz_widget_toolkit_gonk': 1,
      }],
    ],
# (for vp8) chromium sets to 0 also
    'use_temporal_layers': 0,
# Creates AEC internal sample dump files in current directory
#    'aec_debug_dump': 1,

    # codec enable/disables:
    # Note: if you change one here, you must modify layout/media/webrtc/Makefile.in!
    'include_g711': 1,
    'include_opus': 1,
    'include_g722': 0,
    'include_ilbc': 0,
    'include_isac': 0,
    'include_pcm16b': 1,
  }
}