2012-10-04 09:09:35 -07:00
|
|
|
# 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
|
2013-01-29 08:55:09 -08:00
|
|
|
# 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"
|
2012-10-04 09:09:35 -07:00
|
|
|
{
|
|
|
|
'variables': {
|
2013-02-09 20:16:10 -08:00
|
|
|
'build_with_mozilla': 1,
|
|
|
|
'build_with_chromium': 0,
|
2012-10-04 09:09:35 -07:00
|
|
|
# basic stuff for everything
|
|
|
|
'include_internal_video_render': 0,
|
|
|
|
'clang_use_chrome_plugins': 0,
|
|
|
|
'enable_protobuf': 0,
|
|
|
|
'include_tests': 0,
|
2013-02-27 06:44:42 -08:00
|
|
|
'enable_android_opensl': 1,
|
2013-02-09 20:16:10 -08:00
|
|
|
# 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,
|
2013-10-30 09:13:07 -07:00
|
|
|
# saves 4MB when webrtc_trace is off
|
|
|
|
'enable_lazy_trace_alloc': 1,
|
2013-02-09 20:16:10 -08:00
|
|
|
|
2013-08-29 23:08:57 -07:00
|
|
|
# turn off mandatory use of NEON and instead use NEON detection
|
|
|
|
'arm_neon': 0,
|
|
|
|
|
2013-03-19 13:02:44 -07:00
|
|
|
#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,
|
|
|
|
}],
|
|
|
|
],
|
2013-02-09 20:16:10 -08:00
|
|
|
# (for vp8) chromium sets to 0 also
|
|
|
|
'use_temporal_layers': 0,
|
2013-01-29 08:55:09 -08:00
|
|
|
# Creates AEC internal sample dump files in current directory
|
|
|
|
# 'aec_debug_dump': 1,
|
2012-10-04 09:09:35 -07:00
|
|
|
|
|
|
|
# codec enable/disables:
|
2013-10-10 16:15:24 -07:00
|
|
|
# Note: if you change one here, you must modify layout/media/webrtc/Makefile.in!
|
2013-02-09 20:16:10 -08:00
|
|
|
'include_g711': 1,
|
|
|
|
'include_opus': 1,
|
|
|
|
'include_g722': 0,
|
|
|
|
'include_ilbc': 0,
|
|
|
|
'include_isac': 0,
|
|
|
|
'include_pcm16b': 1,
|
2012-10-04 09:09:35 -07:00
|
|
|
}
|
|
|
|
}
|