blob: f968276c327457eb7953c76c7267c7ffbbcb4882 [file] [log] [blame]
Henrik Kjellander41177752015-04-09 15:36:28 +02001# 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 06:35:14 -08009import("//build/dotfile_settings.gni")
10
Henrik Kjellander41177752015-04-09 15:36:28 +020011# 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".
Henrik Kjellandere0615b72016-05-18 09:35:44 +020023# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
aleloib7186d02016-08-16 01:47:16 -070024check_targets = [
kjellander676e08f2016-12-07 08:23:27 -080025 "//webrtc/api/*",
26 "//webrtc/audio/*",
kjellander2f1a5552017-02-27 15:57:45 -080027 "//webrtc/call/*",
kjellander1c6cc9a2017-02-27 16:37:54 -080028 "//webrtc/common_video/*",
kjellander50550e12017-03-01 07:07:10 -080029 "//webrtc/common_audio/*",
kjellander1993b1d2017-03-06 00:29:21 -080030 "//webrtc/examples/*",
kjellander727ac1d2017-03-08 02:12:11 -080031 "//webrtc/logging/*",
kjellandera2ef4f92017-03-06 06:04:55 -080032 "//webrtc/media/*",
mbonadeiffdd3d42017-03-07 22:42:14 -080033 "//webrtc/modules/*",
mbonadeicde25282017-04-11 02:52:49 -070034 "//webrtc/ortc/*",
kjellander8a116632017-04-21 05:17:08 -070035 "//webrtc/p2p/*",
mbonadei1e060c62017-04-21 00:02:02 -070036 "//webrtc/sdk/*",
kjellanderdcb4b432017-02-27 15:53:39 -080037 "//webrtc/stats/*",
kjellander8a116632017-04-21 05:17:08 -070038 "//webrtc/system_wrappers/*",
mbonadei129fc9c2017-04-05 07:14:31 -070039 "//webrtc/tools/*",
mbonadei9087d492017-04-25 00:35:35 -070040 "//webrtc/video/*",
kjellandercfa95aa2017-03-02 21:28:23 -080041 "//webrtc/voice_engine/*",
aleloib7186d02016-08-16 01:47:16 -070042]
Henrik Kjellander41177752015-04-09 15:36:28 +020043
44# These are the list of GN files that run exec_script. This whitelist exists
45# to force additional review for new uses of exec_script, which is strongly
46# discouraged except for gypi_to_gn calls.
mbonadeif3f30c72016-12-30 01:04:34 -080047exec_script_whitelist = build_dotfile_settings.exec_script_whitelist
mbonadei96606272017-03-03 19:41:59 -080048
49default_args = {
50 # Webrtc does not support component builds because we are not using the
51 # template "component" but we rely directly on "rtc_static_library" and
52 # "rtc_shared_library". This means that we cannot use the chromium default
53 # value for this argument.
54 # This also means that the user can override this value using --args or
55 # the args.gn file but this setting will be ignored because we don't support
56 # component builds.
57 is_component_build = false
58}