blob: 50678fc01425bc261c2a03e54d532108a367e0a7 [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 = [
aleloi201dfe92016-10-20 05:06:39 -070025 "//webrtc/api:audio_mixer_api",
aleloia8eb7562016-11-28 07:02:13 -080026 "//webrtc/api:transport_api",
hbos74e1a4f2016-09-15 23:33:01 -070027 "//webrtc/api:rtc_stats_api",
kwibergda2bf4e2016-10-24 13:47:09 -070028 "//webrtc/modules/audio_coding:audio_decoder_factory_interface",
29 "//webrtc/modules/audio_coding:audio_format",
30 "//webrtc/modules/audio_coding:audio_format_conversion",
aleloi16f55a12016-08-23 08:08:23 -070031 "//webrtc/modules/audio_coding:g711_test",
aleloi9a117842016-08-23 08:36:10 -070032 "//webrtc/modules/audio_coding:g722_test",
hbos74e1a4f2016-09-15 23:33:01 -070033 "//webrtc/modules/audio_coding:ilbc_test",
34 "//webrtc/modules/audio_coding:isac",
35 "//webrtc/modules/audio_coding:isac_api_test",
ivoce51b41a2016-08-24 02:25:57 -070036 "//webrtc/modules/audio_coding:isac_fix_test",
hbos74e1a4f2016-09-15 23:33:01 -070037 "//webrtc/modules/audio_coding:isac_switch_samprate_test",
ivoce51b41a2016-08-24 02:25:57 -070038 "//webrtc/modules/audio_coding:isac_test",
ivoc2c670db2016-08-24 06:11:18 -070039 "//webrtc/modules/audio_coding:webrtc_opus_fec_test",
ivoce51b41a2016-08-24 02:25:57 -070040 "//webrtc/modules/audio_device/*",
aleloi5f2e7c42016-08-24 06:54:58 -070041 "//webrtc/modules/audio_mixer/*",
hbos74e1a4f2016-09-15 23:33:01 -070042 "//webrtc/stats:rtc_stats",
aleloia8eb7562016-11-28 07:02:13 -080043 "//webrtc/voice_engine",
ivoce51b41a2016-08-24 02:25:57 -070044 "//webrtc/voice_engine:level_indicator",
aleloib7186d02016-08-16 01:47:16 -070045]
Henrik Kjellander41177752015-04-09 15:36:28 +020046
47# These are the list of GN files that run exec_script. This whitelist exists
48# to force additional review for new uses of exec_script, which is strongly
49# discouraged except for gypi_to_gn calls.
kjellanderad6f6462016-11-29 06:35:14 -080050exec_script_whitelist = build_dotfile_settings.exec_script_whitelist + [
51 "//third_party/boringssl/BUILD.gn",
52 "//third_party/openh264/BUILD.gn",
53 "//third_party/opus/BUILD.gn",
54 "//webrtc/modules/video_render/BUILD.gn",
55 ]