blob: cc35c5f36b1cef62b20b32e5bc3d1264b9af0cc6 [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
9# The location of the build configuration file.
10buildconfig = "//build/config/BUILDCONFIG.gn"
11
12# The secondary source root is a parallel directory tree where
13# GN build files are placed when they can not be placed directly
14# in the source tree, e.g. for third party source trees.
15secondary_source = "//build/secondary/"
16
17# These are the targets to check headers for by default. The files in targets
18# matching these patterns (see "gn help label_pattern" for format) will have
19# their includes checked for proper dependencies when you run either
20# "gn check" or "gn gen --check".
Henrik Kjellandere0615b72016-05-18 09:35:44 +020021# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
aleloib7186d02016-08-16 01:47:16 -070022check_targets = [
aleloi16f55a12016-08-23 08:08:23 -070023 "//webrtc/modules/audio_coding:g711_test",
aleloi9a117842016-08-23 08:36:10 -070024 "//webrtc/modules/audio_coding:g722_test",
ivoce51b41a2016-08-24 02:25:57 -070025 "//webrtc/modules/audio_coding:isac_fix_test",
26 "//webrtc/modules/audio_coding:isac_test",
ivoc2c670db2016-08-24 06:11:18 -070027 "//webrtc/modules/audio_coding:webrtc_opus_fec_test",
ivoce51b41a2016-08-24 02:25:57 -070028 "//webrtc/modules/audio_device/*",
aleloi5f2e7c42016-08-24 06:54:58 -070029 "//webrtc/modules/audio_mixer/*",
ivoce51b41a2016-08-24 02:25:57 -070030 "//webrtc/voice_engine:level_indicator",
aleloib7186d02016-08-16 01:47:16 -070031]
Henrik Kjellander41177752015-04-09 15:36:28 +020032
33# These are the list of GN files that run exec_script. This whitelist exists
34# to force additional review for new uses of exec_script, which is strongly
35# discouraged except for gypi_to_gn calls.
36exec_script_whitelist = [
kjellander@webrtc.org66a99282016-02-18 20:30:14 +010037 "//build/config/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020038 "//build/config/android/BUILD.gn",
39 "//build/config/android/config.gni",
40 "//build/config/android/internal_rules.gni",
41 "//build/config/android/rules.gni",
42 "//build/config/compiler/BUILD.gn",
43 "//build/config/gcc/gcc_version.gni",
44 "//build/config/ios/ios_sdk.gni",
45 "//build/config/linux/BUILD.gn",
46 "//build/config/linux/pkg_config.gni",
47 "//build/config/mac/mac_sdk.gni",
Henrik Kjellander6df1ef62015-10-03 20:55:57 +020048 "//build/config/posix/BUILD.gn",
kjellander34a70542015-12-06 10:32:34 -080049 "//build/config/sysroot.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020050 "//build/config/win/visual_studio_version.gni",
51 "//build/gn_helpers.py",
52 "//build/gypi_to_gn.py",
kjellander52f56d42016-06-08 04:05:19 -070053 "//build/toolchain/concurrent_links.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020054 "//build/toolchain/gcc_toolchain.gni",
55 "//build/toolchain/mac/BUILD.gn",
56 "//build/toolchain/win/BUILD.gn",
57 "//third_party/boringssl/BUILD.gn",
hbosa9a1d2a2016-01-11 10:19:02 -080058 "//third_party/openh264/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020059 "//third_party/opus/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020060 "//webrtc/modules/video_render/BUILD.gn",
aleloie6ca9ec2016-08-10 05:01:51 -070061 "//webrtc/modules/video_render/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020062]