blob: 5da4f241b56775c1df372067b3f46bbaefa84f13 [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 = [
aleloi201dfe92016-10-20 05:06:39 -070023 "//webrtc/api:audio_mixer_api",
hbos74e1a4f2016-09-15 23:33:01 -070024 "//webrtc/api:rtc_stats_api",
kwibergda2bf4e2016-10-24 13:47:09 -070025 "//webrtc/modules/audio_coding:audio_decoder_factory_interface",
26 "//webrtc/modules/audio_coding:audio_format",
27 "//webrtc/modules/audio_coding:audio_format_conversion",
aleloi16f55a12016-08-23 08:08:23 -070028 "//webrtc/modules/audio_coding:g711_test",
aleloi9a117842016-08-23 08:36:10 -070029 "//webrtc/modules/audio_coding:g722_test",
hbos74e1a4f2016-09-15 23:33:01 -070030 "//webrtc/modules/audio_coding:ilbc_test",
31 "//webrtc/modules/audio_coding:isac",
32 "//webrtc/modules/audio_coding:isac_api_test",
ivoce51b41a2016-08-24 02:25:57 -070033 "//webrtc/modules/audio_coding:isac_fix_test",
hbos74e1a4f2016-09-15 23:33:01 -070034 "//webrtc/modules/audio_coding:isac_switch_samprate_test",
ivoce51b41a2016-08-24 02:25:57 -070035 "//webrtc/modules/audio_coding:isac_test",
ivoc2c670db2016-08-24 06:11:18 -070036 "//webrtc/modules/audio_coding:webrtc_opus_fec_test",
ivoce51b41a2016-08-24 02:25:57 -070037 "//webrtc/modules/audio_device/*",
aleloi5f2e7c42016-08-24 06:54:58 -070038 "//webrtc/modules/audio_mixer/*",
hbos74e1a4f2016-09-15 23:33:01 -070039 "//webrtc/stats:rtc_stats",
ivoce51b41a2016-08-24 02:25:57 -070040 "//webrtc/voice_engine:level_indicator",
aleloib7186d02016-08-16 01:47:16 -070041]
Henrik Kjellander41177752015-04-09 15:36:28 +020042
43# These are the list of GN files that run exec_script. This whitelist exists
44# to force additional review for new uses of exec_script, which is strongly
45# discouraged except for gypi_to_gn calls.
46exec_script_whitelist = [
kjellander@webrtc.org66a99282016-02-18 20:30:14 +010047 "//build/config/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020048 "//build/config/android/BUILD.gn",
49 "//build/config/android/config.gni",
50 "//build/config/android/internal_rules.gni",
51 "//build/config/android/rules.gni",
52 "//build/config/compiler/BUILD.gn",
53 "//build/config/gcc/gcc_version.gni",
54 "//build/config/ios/ios_sdk.gni",
55 "//build/config/linux/BUILD.gn",
56 "//build/config/linux/pkg_config.gni",
57 "//build/config/mac/mac_sdk.gni",
kjellandera4a2a5e2016-11-03 11:58:29 -070058 "//build/config/mac/rules.gni",
Henrik Kjellander6df1ef62015-10-03 20:55:57 +020059 "//build/config/posix/BUILD.gn",
kjellander34a70542015-12-06 10:32:34 -080060 "//build/config/sysroot.gni",
ehmaldonado4bc4d272016-08-25 04:15:40 -070061 "//build/config/win/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020062 "//build/config/win/visual_studio_version.gni",
63 "//build/gn_helpers.py",
64 "//build/gypi_to_gn.py",
kjellander52f56d42016-06-08 04:05:19 -070065 "//build/toolchain/concurrent_links.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020066 "//build/toolchain/gcc_toolchain.gni",
67 "//build/toolchain/mac/BUILD.gn",
Henrik Kjellander671c0ab2016-11-08 19:15:25 +010068 "//build/toolchain/toolchain.gni",
Henrik Kjellander41177752015-04-09 15:36:28 +020069 "//build/toolchain/win/BUILD.gn",
70 "//third_party/boringssl/BUILD.gn",
hbosa9a1d2a2016-01-11 10:19:02 -080071 "//third_party/openh264/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020072 "//third_party/opus/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020073 "//webrtc/modules/video_render/BUILD.gn",
Henrik Kjellander41177752015-04-09 15:36:28 +020074]