blob: 3a744bf7bd35c0664c010f49ff7d2af7ecf073f9 [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 = [
maxmorin69105372016-08-16 02:17:44 -070023 "//webrtc/modules/audio_device/*",
kwiberg427ce3d2016-08-16 03:34:44 -070024 "//webrtc/voice_engine:audio_coder",
25 "//webrtc/voice_engine:file_player",
26 "//webrtc/voice_engine:file_recorder",
aleloib7186d02016-08-16 01:47:16 -070027 "//webrtc/voice_engine:level_indicator",
28 "//webrtc/modules/audio_coding:isac_fix_test",
aleloi70f866c2016-08-16 02:15:49 -070029 "//webrtc/modules/audio_mixer:audio_conference_mixer",
aleloib7186d02016-08-16 01:47:16 -070030]
Henrik Kjellander41177752015-04-09 15:36:28 +020031
32# These are the list of GN files that run exec_script. This whitelist exists
33# to force additional review for new uses of exec_script, which is strongly
34# discouraged except for gypi_to_gn calls.
35exec_script_whitelist = [
kjellander@webrtc.org66a99282016-02-18 20:30:14 +010036 "//build/config/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020037 "//build/config/android/BUILD.gn",
38 "//build/config/android/config.gni",
39 "//build/config/android/internal_rules.gni",
40 "//build/config/android/rules.gni",
41 "//build/config/compiler/BUILD.gn",
42 "//build/config/gcc/gcc_version.gni",
43 "//build/config/ios/ios_sdk.gni",
44 "//build/config/linux/BUILD.gn",
45 "//build/config/linux/pkg_config.gni",
46 "//build/config/mac/mac_sdk.gni",
Henrik Kjellander6df1ef62015-10-03 20:55:57 +020047 "//build/config/posix/BUILD.gn",
kjellander34a70542015-12-06 10:32:34 -080048 "//build/config/sysroot.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020049 "//build/config/win/visual_studio_version.gni",
50 "//build/gn_helpers.py",
51 "//build/gypi_to_gn.py",
kjellander52f56d42016-06-08 04:05:19 -070052 "//build/toolchain/concurrent_links.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020053 "//build/toolchain/gcc_toolchain.gni",
54 "//build/toolchain/mac/BUILD.gn",
55 "//build/toolchain/win/BUILD.gn",
56 "//third_party/boringssl/BUILD.gn",
hbosa9a1d2a2016-01-11 10:19:02 -080057 "//third_party/openh264/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020058 "//third_party/opus/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020059 "//webrtc/modules/video_render/BUILD.gn",
aleloie6ca9ec2016-08-10 05:01:51 -070060 "//webrtc/modules/video_render/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020061]