2015-04-09 15:36:28 +02:00
|
|
|
# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2016-11-29 06:35:14 -08:00
|
|
|
import("//build/dotfile_settings.gni")
|
|
|
|
|
|
2015-04-09 15:36:28 +02:00
|
|
|
# The location of the build configuration file.
|
|
|
|
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
|
|
|
|
|
2021-04-14 17:52:26 +02:00
|
|
|
# The python interpreter to use by default. On Windows, this will look
|
|
|
|
|
# for python3.exe and python3.bat.
|
|
|
|
|
script_executable = "python3"
|
|
|
|
|
|
2015-04-09 15:36:28 +02:00
|
|
|
# The secondary source root is a parallel directory tree where
|
|
|
|
|
# GN build files are placed when they can not be placed directly
|
|
|
|
|
# in the source tree, e.g. for third party source trees.
|
|
|
|
|
secondary_source = "//build/secondary/"
|
|
|
|
|
|
2021-05-20 18:30:10 +09:00
|
|
|
# These are the targets to skip header checking by default. The files in targets
|
|
|
|
|
# matching these patterns (see "gn help label_pattern" for format) will not have
|
2015-04-09 15:36:28 +02:00
|
|
|
# their includes checked for proper dependencies when you run either
|
|
|
|
|
# "gn check" or "gn gen --check".
|
2021-05-20 18:30:10 +09:00
|
|
|
no_check_targets = [ "//third_party/icu/*" ]
|
2015-04-09 15:36:28 +02:00
|
|
|
|
|
|
|
|
# These are the list of GN files that run exec_script. This whitelist exists
|
|
|
|
|
# to force additional review for new uses of exec_script, which is strongly
|
|
|
|
|
# discouraged except for gypi_to_gn calls.
|
2017-09-11 11:38:48 -07:00
|
|
|
exec_script_whitelist = build_dotfile_settings.exec_script_whitelist +
|
|
|
|
|
[ "//build_overrides/build.gni" ]
|
2017-03-03 19:41:59 -08:00
|
|
|
|
|
|
|
|
default_args = {
|
|
|
|
|
# Webrtc does not support component builds because we are not using the
|
|
|
|
|
# template "component" but we rely directly on "rtc_static_library" and
|
|
|
|
|
# "rtc_shared_library". This means that we cannot use the chromium default
|
|
|
|
|
# value for this argument.
|
|
|
|
|
# This also means that the user can override this value using --args or
|
|
|
|
|
# the args.gn file but this setting will be ignored because we don't support
|
|
|
|
|
# component builds.
|
|
|
|
|
is_component_build = false
|
2017-07-13 09:03:13 -07:00
|
|
|
|
2017-09-08 10:52:17 -07:00
|
|
|
mac_sdk_min = "10.12"
|
2017-08-02 01:26:18 -07:00
|
|
|
|
2021-07-02 16:19:32 +02:00
|
|
|
ios_deployment_target = "12.0"
|
2017-11-28 18:47:21 +01:00
|
|
|
|
2018-01-18 17:24:43 +01:00
|
|
|
# The SDK API level, in contrast, is set by build/android/AndroidManifest.xml.
|
|
|
|
|
android32_ndk_api_level = 16
|
|
|
|
|
android64_ndk_api_level = 21
|
|
|
|
|
|
2017-09-25 08:34:41 -07:00
|
|
|
# WebRTC does not provide the gflags dependency. Because libyuv uses it only
|
|
|
|
|
# for unittests, it can be disabled (see third_party/libyuv/BUILD.gn)
|
|
|
|
|
libyuv_use_gflags = false
|
2018-06-25 15:52:42 +02:00
|
|
|
|
2020-03-17 15:56:20 +01:00
|
|
|
enable_libaom = true
|
2020-03-11 10:45:57 +01:00
|
|
|
|
2018-08-13 08:52:42 +02:00
|
|
|
gtest_enable_absl_printers = true
|
2017-03-03 19:41:59 -08:00
|
|
|
}
|