blob: a2e2a904253299fb40032dec96a99316add37370 [file] [log] [blame]
Henrik Kjellander41177752015-04-09 13:36:281# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2#
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.
8
kjellanderad6f6462016-11-29 14:35:149import("//build/dotfile_settings.gni")
10
Henrik Kjellander41177752015-04-09 13:36:2811# The location of the build configuration file.
12buildconfig = "//build/config/BUILDCONFIG.gn"
13
14# The secondary source root is a parallel directory tree where
15# GN build files are placed when they can not be placed directly
16# in the source tree, e.g. for third party source trees.
17secondary_source = "//build/secondary/"
18
19# These are the targets to check headers for by default. The files in targets
20# matching these patterns (see "gn help label_pattern" for format) will have
21# their includes checked for proper dependencies when you run either
22# "gn check" or "gn gen --check".
Mirko Bonadei92ea95e2017-09-15 04:47:3123check_targets = [
24 "//api/*",
25 "//audio/*",
26 "//backup/*",
27 "//call/*",
28 "//common_audio/*",
29 "//common_video/*",
Mirko Bonadeicbaaaed2018-02-19 14:14:0430 "//examples/*",
Mirko Bonadei92ea95e2017-09-15 04:47:3131 "//logging/*",
32 "//media/*",
33 "//modules/*",
Mirko Bonadei92ea95e2017-09-15 04:47:3134 "//p2p/*",
35 "//pc/*",
36 "//rtc_base/*",
37 "//rtc_tools/*",
Kári Tristan Helgason99bf77c2018-02-16 09:49:2238 "//sdk/*",
Mirko Bonadei92ea95e2017-09-15 04:47:3139 "//stats/*",
40 "//system_wrappers/*",
41 "//test/*",
42 "//video/*",
Mirko Bonadei1bc1ec42018-02-09 06:47:3043 "//third_party/libyuv/*",
Mirko Bonadei92ea95e2017-09-15 04:47:3144]
Henrik Kjellander41177752015-04-09 13:36:2845
46# These are the list of GN files that run exec_script. This whitelist exists
47# to force additional review for new uses of exec_script, which is strongly
48# discouraged except for gypi_to_gn calls.
oprypin370c6d52017-09-11 18:38:4849exec_script_whitelist = build_dotfile_settings.exec_script_whitelist +
50 [ "//build_overrides/build.gni" ]
mbonadei96606272017-03-04 03:41:5951
52default_args = {
53 # Webrtc does not support component builds because we are not using the
54 # template "component" but we rely directly on "rtc_static_library" and
55 # "rtc_shared_library". This means that we cannot use the chromium default
56 # value for this argument.
57 # This also means that the user can override this value using --args or
58 # the args.gn file but this setting will be ignored because we don't support
59 # component builds.
60 is_component_build = false
erikchen0ff78002017-07-13 16:03:1361
kjellanderec2c93e2017-09-08 17:52:1762 mac_sdk_min = "10.12"
oprypin28104eb2017-08-02 08:26:1863
Kári Tristan Helgasonffe93762019-03-07 12:14:3264 ios_deployment_target = "10.0"
Oleh Prypinceec4d02017-11-28 17:47:2165
Mirko Bonadei81ed7e52018-01-18 16:24:4366 # The SDK API level, in contrast, is set by build/android/AndroidManifest.xml.
67 android32_ndk_api_level = 16
68 android64_ndk_api_level = 21
69
oprypinfbbba3f2017-09-25 15:34:4170 # WebRTC does not provide the gflags dependency. Because libyuv uses it only
71 # for unittests, it can be disabled (see third_party/libyuv/BUILD.gn)
72 libyuv_use_gflags = false
Mirko Bonadei42369912018-06-25 13:52:4273
Danil Chapovalov560e87a2020-03-17 14:56:2074 enable_libaom = true
Danil Chapovalovc46385c2020-03-11 09:45:5775
Mirko Bonadeidb7ea8c2018-08-13 06:52:4276 gtest_enable_absl_printers = true
mbonadei96606272017-03-04 03:41:5977}