Henrik Kjellander | 4117775 | 2015-04-09 15:36:28 +0200 | [diff] [blame] | 1 | # 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 | |
kjellander | ad6f646 | 2016-11-29 06:35:14 -0800 | [diff] [blame] | 9 | import("//build/dotfile_settings.gni") |
| 10 | |
Henrik Kjellander | 4117775 | 2015-04-09 15:36:28 +0200 | [diff] [blame] | 11 | # The location of the build configuration file. |
| 12 | buildconfig = "//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. |
| 17 | secondary_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 Kjellander | e0615b7 | 2016-05-18 09:35:44 +0200 | [diff] [blame] | 23 | # TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done. |
aleloi | b7186d0 | 2016-08-16 01:47:16 -0700 | [diff] [blame] | 24 | check_targets = [ |
kjellander | 676e08f | 2016-12-07 08:23:27 -0800 | [diff] [blame] | 25 | "//webrtc/api/*", |
| 26 | "//webrtc/audio/*", |
| 27 | "//webrtc/modules/audio_coding/*", |
mbonadei | 000d163 | 2016-12-22 06:56:21 -0800 | [diff] [blame] | 28 | "//webrtc/modules/audio_conference_mixer/*", |
ivoc | e51b41a | 2016-08-24 02:25:57 -0700 | [diff] [blame] | 29 | "//webrtc/modules/audio_device/*", |
aleloi | 5f2e7c4 | 2016-08-24 06:54:58 -0700 | [diff] [blame] | 30 | "//webrtc/modules/audio_mixer/*", |
ehmaldonado | 64c4a7e | 2016-12-08 04:10:01 -0800 | [diff] [blame] | 31 | "//webrtc/modules/audio_processing/*", |
mbonadei | 49f465f | 2016-12-28 04:43:46 -0800 | [diff] [blame] | 32 | "//webrtc/modules/bitrate_controller/*", |
| 33 | "//webrtc/modules/congestion_controller/*", |
mbonadei | f423593 | 2016-12-29 03:35:56 -0800 | [diff] [blame] | 34 | "//webrtc/modules/desktop_capture/*", |
mbonadei | ba96730 | 2016-12-21 00:20:52 -0800 | [diff] [blame] | 35 | "//webrtc/modules/media_file/*", |
mbonadei | 2a495ca | 2016-12-21 00:26:58 -0800 | [diff] [blame] | 36 | "//webrtc/modules/pacing/*", |
mbonadei | ebafdc8 | 2016-12-22 07:35:39 -0800 | [diff] [blame] | 37 | "//webrtc/modules/rtp_rtcp/*", |
mbonadei | 05afa8b | 2016-12-27 05:40:15 -0800 | [diff] [blame] | 38 | "//webrtc/modules/utility/*", |
ehmaldonado | 36df2d7 | 2016-12-08 09:56:16 -0800 | [diff] [blame] | 39 | "//webrtc/modules/video_capture/*", |
| 40 | "//webrtc/modules/video_coding/*", |
mbonadei | 6d3c573 | 2016-12-27 06:32:08 -0800 | [diff] [blame] | 41 | "//webrtc/modules/video_processing/*", |
mbonadei | 49f465f | 2016-12-28 04:43:46 -0800 | [diff] [blame] | 42 | "//webrtc/modules/remote_bitrate_estimator/*", |
hbos | 74e1a4f | 2016-09-15 23:33:01 -0700 | [diff] [blame] | 43 | "//webrtc/stats:rtc_stats", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 44 | "//webrtc/voice_engine", |
ivoc | e51b41a | 2016-08-24 02:25:57 -0700 | [diff] [blame] | 45 | "//webrtc/voice_engine:level_indicator", |
aleloi | b7186d0 | 2016-08-16 01:47:16 -0700 | [diff] [blame] | 46 | ] |
Henrik Kjellander | 4117775 | 2015-04-09 15:36:28 +0200 | [diff] [blame] | 47 | |
| 48 | # These are the list of GN files that run exec_script. This whitelist exists |
| 49 | # to force additional review for new uses of exec_script, which is strongly |
| 50 | # discouraged except for gypi_to_gn calls. |
kjellander | ad6f646 | 2016-11-29 06:35:14 -0800 | [diff] [blame] | 51 | exec_script_whitelist = build_dotfile_settings.exec_script_whitelist + [ |
| 52 | "//third_party/boringssl/BUILD.gn", |
| 53 | "//third_party/openh264/BUILD.gn", |
| 54 | "//third_party/opus/BUILD.gn", |
| 55 | "//webrtc/modules/video_render/BUILD.gn", |
| 56 | ] |