[go: up one dir, main page]

blob: 9ecf5da27d892752a41914a2d2b64cd8a1ce5e0c [file] [log] [blame]
Frank Henigmand0ef13a2017-08-29 02:53:241# 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 Ehlis9b1462a2018-05-21 22:40:5710import("//build/dotfile_settings.gni")
Geoff Lang66ae5312019-04-01 20:35:5311import("//dotfile_settings.gni")
Jamie Madill7b7ada62018-02-05 19:49:1512
Frank Henigmand0ef13a2017-08-29 02:53:2413# Location of the build configuration file.
14buildconfig = "//build/config/BUILDCONFIG.gn"
15
angle-autoroll7108e062021-06-08 09:55:1116# The python interpreter to use by default. On Windows, this will look
17# for python3.exe and python3.bat.
18script_executable = "python3"
19
Frank Henigmand0ef13a2017-08-29 02:53:2420# These are the targets to check headers for by default. The files in targets
21# matching these patterns (see "gn help label_pattern" for format) will have
22# their includes checked for proper dependencies when you run either
23# "gn check" or "gn gen --check".
Liza Burakovae8a34932024-02-14 21:51:0024# check_targets = [ "*" ]
Frank Henigmand0ef13a2017-08-29 02:53:2425
Trevor David Blacke815afb2020-09-07 22:09:2226# These are the list of GN files that run exec_script. This allowlist exists
Frank Henigmand0ef13a2017-08-29 02:53:2427# to force additional review for new uses of exec_script, which is strongly
28# discouraged except for gypi_to_gn calls.
Dirk Pranke072eec02025-01-21 21:09:4429exec_script_allowlist = angle_dotfile_settings.exec_script_allowlist +
30 build_dotfile_settings.exec_script_allowlist +
Frank Henigmana7f97a22018-08-21 04:04:0531 [
Jamie Madill7b7ada62018-02-05 19:49:1532 "//build/config/sysroot.gni",
33 "//build/config/win/BUILD.gn",
34 "//build/config/win/visual_studio_version.gni",
35 "//build/gn_helpers.py",
Geoff Lang66ae5312019-04-01 20:35:5336 "//build_overrides/build.gni",
Jamie Madill7b7ada62018-02-05 19:49:1537 ]
Frank Henigmand0ef13a2017-08-29 02:53:2438
39default_args = {
Tom Sepez7d8f0742025-08-06 20:12:2940 clang_use_chrome_plugins = true
Frank Henigmand0ef13a2017-08-29 02:53:2441 build_angle_deqp_tests = true
Tobin Ehlis9d4277b2018-05-21 22:22:2242 use_sysroot = true
Jamie Madillacd15ca2020-10-11 21:16:3443
Tom Sepezff95cc92025-08-15 22:05:1544 # Turns on unsafe buffer warning suppressions during build.
45 clang_unsafe_buffers_paths = "//unsafe_buffers_paths.txt"
46
Jamie Madillacd15ca2020-10-11 21:16:3447 # Saves on importing extra dependencies and ANGLE doesn't use JS.
48 enable_js_protobuf = false
Jamie Madill68f12032021-04-14 01:55:0749
angle-autoroll95549502025-04-14 09:48:3950 # Needed only for std::atomic_ref<T> for large Ts http://crbug.com/402171653
51 use_llvm_libatomic = false
52
Jamie Madill68f12032021-04-14 01:55:0753 # Disable location tags in isolates.
54 tests_have_location_tags = false
Jamie Madilld170f8e2021-04-20 23:17:1755
56 # Use base level API level 29 support for AHardwareBuffer ANGLE tests.
Yuxin Hu26e790f72025-05-21 21:07:4057 android_ndk_api_level = 29
Yuly Novikovb71fe1c2024-05-16 15:10:0958
59 vma_vulkan_headers_dir = "//third_party/vulkan-headers/src"
Junji Watanabe0a47f442025-05-27 07:00:3860
61 # Use Siso instead of Ninja.
62 use_siso = true
Yuly Novikovc5a4aaa2025-08-21 12:34:3063
64 # TODO(439777063): llvm and Dawn need to fix includes
65 use_clang_modules = false
Frank Henigmand0ef13a2017-08-29 02:53:2466}
Liza Burakovae8a34932024-02-14 21:51:0067
68no_check_targets = [ "third_party/dawn/*" ]