blob: b2c4b545134bf699e7015b620080a73dbef0be57 [file] [log] [blame]
Frank Henigmand0ef13a2017-08-28 22:53:24 -04001# 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 16:40:57 -060010import("//build/dotfile_settings.gni")
Geoff Lang66ae5312019-04-01 16:35:53 -040011import("//dotfile_settings.gni")
Jamie Madill7b7ada62018-02-05 14:49:15 -050012
Frank Henigmand0ef13a2017-08-28 22:53:24 -040013# Location of the build configuration file.
14buildconfig = "//build/config/BUILDCONFIG.gn"
15
angle-autoroll7108e062021-06-08 09:55:11 +000016# 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-28 22:53:24 -040020# 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".
Jamie Madillab2bfa82019-01-15 19:06:47 -050024check_targets = [ "*" ]
Frank Henigmand0ef13a2017-08-28 22:53:24 -040025
Trevor David Blacke815afb2020-09-07 22:09:22 +000026# These are the list of GN files that run exec_script. This allowlist exists
Frank Henigmand0ef13a2017-08-28 22:53:24 -040027# to force additional review for new uses of exec_script, which is strongly
28# discouraged except for gypi_to_gn calls.
Tobin Ehlis9b1462a2018-05-21 16:40:57 -060029exec_script_whitelist = angle_dotfile_settings.exec_script_whitelist +
Frank Henigmana7f97a22018-08-21 00:04:05 -040030 build_dotfile_settings.exec_script_whitelist +
31 [
Jamie Madill7b7ada62018-02-05 14:49:15 -050032 "//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 16:35:53 -040036 "//build_overrides/build.gni",
Jamie Madill7b7ada62018-02-05 14:49:15 -050037 ]
Frank Henigmand0ef13a2017-08-28 22:53:24 -040038
39default_args = {
Jamie Madillab2bfa82019-01-15 19:06:47 -050040 clang_use_chrome_plugins = true
Frank Henigmand0ef13a2017-08-28 22:53:24 -040041 build_angle_deqp_tests = true
Tobin Ehlis9d4277b2018-05-21 16:22:22 -060042 use_sysroot = true
Jamie Madillacd15ca2020-10-11 17:16:34 -040043
44 # Saves on importing extra dependencies and ANGLE doesn't use JS.
45 enable_js_protobuf = false
Jamie Madill68f12032021-04-13 21:55:07 -040046
47 # Disable location tags in isolates.
48 tests_have_location_tags = false
Jamie Madilld170f8e2021-04-20 19:17:17 -040049
50 # Use base level API level 29 support for AHardwareBuffer ANGLE tests.
51 android32_ndk_api_level = 29
52 android64_ndk_api_level = 29
Frank Henigmand0ef13a2017-08-28 22:53:24 -040053}