1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
10 # Assume Chromium build for now, since that's the priority case for getting GN
11 # up and running with WebRTC.
12 build_with_chromium = true
13 build_with_libjingle = true
15 if (build_with_libjingle) {
17 restrict_webrtc_logging = true
20 restrict_webrtc_logging = false
23 # Adds video support to dependencies shared by voice and video engine.
24 # This should normally be enabled; the intended use is to disable only
25 # when building voice engine exclusively.
28 # Disable this to not build libvpx and instead use an externally provided lib.
31 # Selects fixed-point code where possible.
32 prefer_fixed_point = false
34 # Enable data logging. Produces text files with data logged within engines
35 # which can be easily parsed for offline processing.
36 enable_data_logging = false
38 # Enables the use of protocol buffers for debug recordings.
39 enable_protobuf = true
41 # Disable these to not build components which can be externally provided.
49 have_dbus_glib = false
51 # Enable to use the Mozilla internal settings.
52 build_with_mozilla = false
54 # Define MIPS architecture variant, MIPS DSP variant and MIPS FPU
55 # This may be subject to change in accordance to Chromium's MIPS flags
56 mips_arch_variant = "mips32r1"
60 enable_android_opensl = true
64 enable_protobuf = false
67 if (cpu_arch == "arm") {
68 prefer_fixed_point = true