libyuv/.gn
Alex Ovsienko 128b8362d2 [build] Use hermetic python3 for script_executable in .gn
Bug: chromium:537680330
Change-Id: Ic6434b6a04c1b696030ae9deb5ab9974c45a90ee
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/8266462
Reviewed-by: Christoffer Dewerin <jansson@google.com>
Reviewed-by: Frank Barchard <fbarchard@google.com>
Commit-Queue: Alex Ovsienko <ovsienko@google.com>
2026-09-28 06:02:39 -07:00

40 lines
1.6 KiB
Plaintext

# Copyright 2015 The LibYuv Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("//build/dotfile_settings.gni")
# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"
# The hermetic Python interpreter to use by default.
script_executable = "//third_party/cpython3/host/bin/python3"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"
# 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".
check_targets = [ "//libyuv/*" ]
# These are the list of GN files that run exec_script. This allowlist exists
# to force additional review for new uses of exec_script, which is strongly
# discouraged except for gypi_to_gn calls.
exec_script_allowlist = build_dotfile_settings.exec_script_allowlist +
[ "//build_overrides/build.gni" ]
default_args = {
mac_sdk_min = "10.12"
ios_deployment_target = "12.0"
# Use Siso instead of Ninja.
use_siso = true
}