Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 1 | # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | # |
| 5 | # This file is used when gn runs in this directory (or a lower directory |
| 6 | # and searching upward ends here). See "gn help dotfile." |
| 7 | # As a result this file will only affect stand-alone ANGLE builds, |
| 8 | # not chromium builds. |
| 9 | |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 10 | import("//build/dotfile_settings.gni") |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 11 | import("//dotfile_settings.gni") |
Jamie Madill | 7b7ada6 | 2018-02-05 14:49:15 -0500 | [diff] [blame] | 12 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 13 | # Location of the build configuration file. |
| 14 | buildconfig = "//build/config/BUILDCONFIG.gn" |
| 15 | |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 16 | # These are the targets to check headers for by default. The files in targets |
| 17 | # matching these patterns (see "gn help label_pattern" for format) will have |
| 18 | # their includes checked for proper dependencies when you run either |
| 19 | # "gn check" or "gn gen --check". |
Jamie Madill | ab2bfa8 | 2019-01-15 19:06:47 -0500 | [diff] [blame] | 20 | check_targets = [ "*" ] |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 21 | |
| 22 | # These are the list of GN files that run exec_script. This whitelist exists |
| 23 | # to force additional review for new uses of exec_script, which is strongly |
| 24 | # discouraged except for gypi_to_gn calls. |
Tobin Ehlis | 9b1462a | 2018-05-21 16:40:57 -0600 | [diff] [blame] | 25 | exec_script_whitelist = angle_dotfile_settings.exec_script_whitelist + |
Frank Henigman | a7f97a2 | 2018-08-21 00:04:05 -0400 | [diff] [blame] | 26 | build_dotfile_settings.exec_script_whitelist + |
| 27 | [ |
Jamie Madill | 7b7ada6 | 2018-02-05 14:49:15 -0500 | [diff] [blame] | 28 | "//build/config/sysroot.gni", |
| 29 | "//build/config/win/BUILD.gn", |
| 30 | "//build/config/win/visual_studio_version.gni", |
| 31 | "//build/gn_helpers.py", |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 32 | "//build_overrides/build.gni", |
Jamie Madill | 7b7ada6 | 2018-02-05 14:49:15 -0500 | [diff] [blame] | 33 | ] |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 34 | |
| 35 | default_args = { |
| 36 | use_custom_libcxx = false |
Jamie Madill | ab2bfa8 | 2019-01-15 19:06:47 -0500 | [diff] [blame] | 37 | clang_use_chrome_plugins = true |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 38 | build_angle_deqp_tests = true |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 39 | use_sysroot = true |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 40 | } |