2017-08-29 05:53:24 +03:00
|
|
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
#
|
|
|
|
# This file is used when gn runs in this directory (or a lower directory
|
|
|
|
# and searching upward ends here). See "gn help dotfile."
|
|
|
|
# As a result this file will only affect stand-alone ANGLE builds,
|
|
|
|
# not chromium builds.
|
|
|
|
|
2018-05-22 01:40:57 +03:00
|
|
|
import("//build/dotfile_settings.gni")
|
2019-04-01 23:35:53 +03:00
|
|
|
import("//dotfile_settings.gni")
|
2018-02-05 22:49:15 +03:00
|
|
|
|
2017-08-29 05:53:24 +03:00
|
|
|
# Location of the build configuration file.
|
|
|
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
|
|
|
|
2021-06-08 12:55:11 +03:00
|
|
|
# The python interpreter to use by default. On Windows, this will look
|
|
|
|
# for python3.exe and python3.bat.
|
|
|
|
script_executable = "python3"
|
|
|
|
|
2017-08-29 05:53:24 +03:00
|
|
|
# These are the targets to check headers for by default. The files in targets
|
|
|
|
# matching these patterns (see "gn help label_pattern" for format) will have
|
|
|
|
# their includes checked for proper dependencies when you run either
|
|
|
|
# "gn check" or "gn gen --check".
|
2019-01-16 03:06:47 +03:00
|
|
|
check_targets = [ "*" ]
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2020-09-08 01:09:22 +03:00
|
|
|
# These are the list of GN files that run exec_script. This allowlist exists
|
2017-08-29 05:53:24 +03:00
|
|
|
# to force additional review for new uses of exec_script, which is strongly
|
|
|
|
# discouraged except for gypi_to_gn calls.
|
2018-05-22 01:40:57 +03:00
|
|
|
exec_script_whitelist = angle_dotfile_settings.exec_script_whitelist +
|
2018-08-21 07:04:05 +03:00
|
|
|
build_dotfile_settings.exec_script_whitelist +
|
|
|
|
[
|
2018-02-05 22:49:15 +03:00
|
|
|
"//build/config/sysroot.gni",
|
|
|
|
"//build/config/win/BUILD.gn",
|
|
|
|
"//build/config/win/visual_studio_version.gni",
|
|
|
|
"//build/gn_helpers.py",
|
2019-04-01 23:35:53 +03:00
|
|
|
"//build_overrides/build.gni",
|
2018-02-05 22:49:15 +03:00
|
|
|
]
|
2017-08-29 05:53:24 +03:00
|
|
|
|
|
|
|
default_args = {
|
2019-01-16 03:06:47 +03:00
|
|
|
clang_use_chrome_plugins = true
|
2017-08-29 05:53:24 +03:00
|
|
|
build_angle_deqp_tests = true
|
2018-05-22 01:22:22 +03:00
|
|
|
use_sysroot = true
|
2020-10-12 00:16:34 +03:00
|
|
|
|
|
|
|
# Saves on importing extra dependencies and ANGLE doesn't use JS.
|
|
|
|
enable_js_protobuf = false
|
2021-04-14 04:55:07 +03:00
|
|
|
|
|
|
|
# Disable location tags in isolates.
|
|
|
|
tests_have_location_tags = false
|
2021-04-21 02:17:17 +03:00
|
|
|
|
|
|
|
# Use base level API level 29 support for AHardwareBuffer ANGLE tests.
|
|
|
|
android32_ndk_api_level = 29
|
|
|
|
android64_ndk_api_level = 29
|
2017-08-29 05:53:24 +03:00
|
|
|
}
|