xref: /aosp_15_r20/external/libyuv/.gn (revision 4e366538070a3a6c5c163c31b791eab742e1657a)
1*4e366538SXin Li# Copyright 2015 The LibYuv Project Authors. All rights reserved.
2*4e366538SXin Li#
3*4e366538SXin Li# Use of this source code is governed by a BSD-style license
4*4e366538SXin Li# that can be found in the LICENSE file in the root of the source
5*4e366538SXin Li# tree. An additional intellectual property rights grant can be found
6*4e366538SXin Li# in the file PATENTS. All contributing project authors may
7*4e366538SXin Li# be found in the AUTHORS file in the root of the source tree.
8*4e366538SXin Li
9*4e366538SXin Liimport("//build/dotfile_settings.gni")
10*4e366538SXin Li
11*4e366538SXin Li# The location of the build configuration file.
12*4e366538SXin Libuildconfig = "//build/config/BUILDCONFIG.gn"
13*4e366538SXin Li
14*4e366538SXin Li# The python interpreter to use by default. On Windows, this will look
15*4e366538SXin Li# for python3.exe and python3.bat.
16*4e366538SXin Liscript_executable = "python3"
17*4e366538SXin Li
18*4e366538SXin Li# The secondary source root is a parallel directory tree where
19*4e366538SXin Li# GN build files are placed when they can not be placed directly
20*4e366538SXin Li# in the source tree, e.g. for third party source trees.
21*4e366538SXin Lisecondary_source = "//build/secondary/"
22*4e366538SXin Li
23*4e366538SXin Li# These are the targets to check headers for by default. The files in targets
24*4e366538SXin Li# matching these patterns (see "gn help label_pattern" for format) will have
25*4e366538SXin Li# their includes checked for proper dependencies when you run either
26*4e366538SXin Li# "gn check" or "gn gen --check".
27*4e366538SXin Licheck_targets = [ "//libyuv/*" ]
28*4e366538SXin Li
29*4e366538SXin Li# These are the list of GN files that run exec_script. This whitelist exists
30*4e366538SXin Li# to force additional review for new uses of exec_script, which is strongly
31*4e366538SXin Li# discouraged except for gypi_to_gn calls.
32*4e366538SXin Liexec_script_whitelist = build_dotfile_settings.exec_script_whitelist +
33*4e366538SXin Li                        [ "//build_overrides/build.gni" ]
34*4e366538SXin Li
35*4e366538SXin Lidefault_args = {
36*4e366538SXin Li  mac_sdk_min = "10.12"
37*4e366538SXin Li  ios_deployment_target = "12.0"
38*4e366538SXin Li}
39