blob: db61a47138d65fe6e0b67d0b404d2d51828da4ac [file] [log] [blame]
Henrik Kjellander41177752015-04-09 13:36:281# 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 07:35:4421# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
aleloib7186d02016-08-16 08:47:1622check_targets = [
hbos74e1a4f2016-09-16 06:33:0123 "//webrtc/api:rtc_stats_api",
aleloi16f55a12016-08-23 15:08:2324 "//webrtc/modules/audio_coding:g711_test",
aleloi9a117842016-08-23 15:36:1025 "//webrtc/modules/audio_coding:g722_test",
hbos74e1a4f2016-09-16 06:33:0126 "//webrtc/modules/audio_coding:ilbc_test",
27 "//webrtc/modules/audio_coding:isac",
28 "//webrtc/modules/audio_coding:isac_api_test",
ivoce51b41a2016-08-24 09:25:5729 "//webrtc/modules/audio_coding:isac_fix_test",
hbos74e1a4f2016-09-16 06:33:0130 "//webrtc/modules/audio_coding:isac_switch_samprate_test",
ivoce51b41a2016-08-24 09:25:5731 "//webrtc/modules/audio_coding:isac_test",
ivoc2c670db2016-08-24 13:11:1832 "//webrtc/modules/audio_coding:webrtc_opus_fec_test",
ivoce51b41a2016-08-24 09:25:5733 "//webrtc/modules/audio_device/*",
aleloi5f2e7c42016-08-24 13:54:5834 "//webrtc/modules/audio_mixer/*",
hbos74e1a4f2016-09-16 06:33:0135 "//webrtc/stats:rtc_stats",
ivoce51b41a2016-08-24 09:25:5736 "//webrtc/voice_engine:level_indicator",
aleloib7186d02016-08-16 08:47:1637]
Henrik Kjellander41177752015-04-09 13:36:2838
39# These are the list of GN files that run exec_script. This whitelist exists
40# to force additional review for new uses of exec_script, which is strongly
41# discouraged except for gypi_to_gn calls.
42exec_script_whitelist = [
kjellander@webrtc.org66a99282016-02-18 19:30:1443 "//build/config/BUILD.gn",
Henrik Kjellander41177752015-04-09 13:36:2844 "//build/config/android/BUILD.gn",
45 "//build/config/android/config.gni",
46 "//build/config/android/internal_rules.gni",
47 "//build/config/android/rules.gni",
48 "//build/config/compiler/BUILD.gn",
49 "//build/config/gcc/gcc_version.gni",
50 "//build/config/ios/ios_sdk.gni",
51 "//build/config/linux/BUILD.gn",
52 "//build/config/linux/pkg_config.gni",
53 "//build/config/mac/mac_sdk.gni",
Henrik Kjellander6df1ef62015-10-03 18:55:5754 "//build/config/posix/BUILD.gn",
kjellander34a70542015-12-06 18:32:3455 "//build/config/sysroot.gni",
ehmaldonado4bc4d272016-08-25 11:15:4056 "//build/config/win/BUILD.gn",
Henrik Kjellander41177752015-04-09 13:36:2857 "//build/config/win/visual_studio_version.gni",
58 "//build/gn_helpers.py",
59 "//build/gypi_to_gn.py",
kjellander52f56d42016-06-08 11:05:1960 "//build/toolchain/concurrent_links.gni",
Henrik Kjellander41177752015-04-09 13:36:2861 "//build/toolchain/gcc_toolchain.gni",
62 "//build/toolchain/mac/BUILD.gn",
63 "//build/toolchain/win/BUILD.gn",
64 "//third_party/boringssl/BUILD.gn",
hbosa9a1d2a2016-01-11 18:19:0265 "//third_party/openh264/BUILD.gn",
Henrik Kjellander41177752015-04-09 13:36:2866 "//third_party/opus/BUILD.gn",
Henrik Kjellander41177752015-04-09 13:36:2867 "//webrtc/modules/video_render/BUILD.gn",
aleloie6ca9ec2016-08-10 12:01:5168 "//webrtc/modules/video_render/BUILD.gn",
Henrik Kjellander41177752015-04-09 13:36:2869]