blob: 762273cff644b9faefd3fad6cfcd9ae77b2a59d8 [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/*",
kjellander676e08f2016-12-07 08:23:27 -080030 "//webrtc/modules/audio_coding/*",
mbonadei000d1632016-12-22 06:56:21 -080031 "//webrtc/modules/audio_conference_mixer/*",
ivoce51b41a2016-08-24 02:25:57 -070032 "//webrtc/modules/audio_device/*",
aleloi5f2e7c42016-08-24 06:54:58 -070033 "//webrtc/modules/audio_mixer/*",
ehmaldonado64c4a7e2016-12-08 04:10:01 -080034 "//webrtc/modules/audio_processing/*",
mbonadei49f465f2016-12-28 04:43:46 -080035 "//webrtc/modules/bitrate_controller/*",
36 "//webrtc/modules/congestion_controller/*",
mbonadeif4235932016-12-29 03:35:56 -080037 "//webrtc/modules/desktop_capture/*",
mbonadeiba967302016-12-21 00:20:52 -080038 "//webrtc/modules/media_file/*",
mbonadei2a495ca2016-12-21 00:26:58 -080039 "//webrtc/modules/pacing/*",
mbonadeiebafdc82016-12-22 07:35:39 -080040 "//webrtc/modules/rtp_rtcp/*",
mbonadei05afa8b2016-12-27 05:40:15 -080041 "//webrtc/modules/utility/*",
ehmaldonado36df2d72016-12-08 09:56:16 -080042 "//webrtc/modules/video_capture/*",
43 "//webrtc/modules/video_coding/*",
mbonadei6d3c5732016-12-27 06:32:08 -080044 "//webrtc/modules/video_processing/*",
mbonadei49f465f2016-12-28 04:43:46 -080045 "//webrtc/modules/remote_bitrate_estimator/*",
kjellanderdcb4b432017-02-27 15:53:39 -080046 "//webrtc/stats/*",
aleloia8eb7562016-11-28 07:02:13 -080047 "//webrtc/voice_engine",
kwiberg97744472017-01-10 01:12:51 -080048 "//webrtc/voice_engine:audio_coder",
49 "//webrtc/voice_engine:file_player",
50 "//webrtc/voice_engine:file_recorder",
ivoce51b41a2016-08-24 02:25:57 -070051 "//webrtc/voice_engine:level_indicator",
aleloib7186d02016-08-16 01:47:16 -070052]
Henrik Kjellander41177752015-04-09 15:36:28 +020053
54# These are the list of GN files that run exec_script. This whitelist exists
55# to force additional review for new uses of exec_script, which is strongly
56# discouraged except for gypi_to_gn calls.
mbonadeif3f30c72016-12-30 01:04:34 -080057exec_script_whitelist = build_dotfile_settings.exec_script_whitelist