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/*", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 27 | "//webrtc/call/*", |
kjellander | 1c6cc9a | 2017-02-27 16:37:54 -0800 | [diff] [blame] | 28 | "//webrtc/common_video/*", |
kjellander | 50550e1 | 2017-03-01 07:07:10 -0800 | [diff] [blame] | 29 | "//webrtc/common_audio/*", |
kjellander | 1993b1d | 2017-03-06 00:29:21 -0800 | [diff] [blame] | 30 | "//webrtc/examples/*", |
kjellander | 727ac1d | 2017-03-08 02:12:11 -0800 | [diff] [blame] | 31 | "//webrtc/logging/*", |
kjellander | a2ef4f9 | 2017-03-06 06:04:55 -0800 | [diff] [blame] | 32 | "//webrtc/media/*", |
mbonadei | ffdd3d4 | 2017-03-07 22:42:14 -0800 | [diff] [blame] | 33 | "//webrtc/modules/*", |
mbonadei | cde2528 | 2017-04-11 02:52:49 -0700 | [diff] [blame] | 34 | "//webrtc/ortc/*", |
kjellander | 8a11663 | 2017-04-21 05:17:08 -0700 | [diff] [blame] | 35 | "//webrtc/p2p/*", |
mbonadei | 1e060c6 | 2017-04-21 00:02:02 -0700 | [diff] [blame] | 36 | "//webrtc/sdk/*", |
kjellander | dcb4b43 | 2017-02-27 15:53:39 -0800 | [diff] [blame] | 37 | "//webrtc/stats/*", |
kjellander | 8a11663 | 2017-04-21 05:17:08 -0700 | [diff] [blame] | 38 | "//webrtc/system_wrappers/*", |
mbonadei | 129fc9c | 2017-04-05 07:14:31 -0700 | [diff] [blame] | 39 | "//webrtc/tools/*", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 40 | "//webrtc/video/*", |
kjellander | cfa95aa | 2017-03-02 21:28:23 -0800 | [diff] [blame] | 41 | "//webrtc/voice_engine/*", |
aleloi | b7186d0 | 2016-08-16 01:47:16 -0700 | [diff] [blame] | 42 | ] |
Henrik Kjellander | 4117775 | 2015-04-09 15:36:28 +0200 | [diff] [blame] | 43 | |
| 44 | # These are the list of GN files that run exec_script. This whitelist exists |
| 45 | # to force additional review for new uses of exec_script, which is strongly |
| 46 | # discouraged except for gypi_to_gn calls. |
mbonadei | f3f30c7 | 2016-12-30 01:04:34 -0800 | [diff] [blame] | 47 | exec_script_whitelist = build_dotfile_settings.exec_script_whitelist |
mbonadei | 9660627 | 2017-03-03 19:41:59 -0800 | [diff] [blame] | 48 | |
| 49 | default_args = { |
| 50 | # Webrtc does not support component builds because we are not using the |
| 51 | # template "component" but we rely directly on "rtc_static_library" and |
| 52 | # "rtc_shared_library". This means that we cannot use the chromium default |
| 53 | # value for this argument. |
| 54 | # This also means that the user can override this value using --args or |
| 55 | # the args.gn file but this setting will be ignored because we don't support |
| 56 | # component builds. |
| 57 | is_component_build = false |
| 58 | } |