blob: 0976bb848677d82d7dc1f17e87e01a79dfb4de66 [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/*",
kjellanderdcb4b432017-02-27 15:53:39 -080034 "//webrtc/stats/*",
kjellandercfa95aa2017-03-02 21:28:23 -080035 "//webrtc/voice_engine/*",
aleloib7186d02016-08-16 01:47:16 -070036]
Henrik Kjellander41177752015-04-09 15:36:28 +020037
38# These are the list of GN files that run exec_script. This whitelist exists
39# to force additional review for new uses of exec_script, which is strongly
40# discouraged except for gypi_to_gn calls.
mbonadeif3f30c72016-12-30 01:04:34 -080041exec_script_whitelist = build_dotfile_settings.exec_script_whitelist
mbonadei96606272017-03-03 19:41:59 -080042
43default_args = {
44 # Webrtc does not support component builds because we are not using the
45 # template "component" but we rely directly on "rtc_static_library" and
46 # "rtc_shared_library". This means that we cannot use the chromium default
47 # value for this argument.
48 # This also means that the user can override this value using --args or
49 # the args.gn file but this setting will be ignored because we don't support
50 # component builds.
51 is_component_build = false
52}