xref: /aosp_15_r20/external/cronet/build/config/mac/mac_sdk_overrides.gni (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2017 The Chromium Authors
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 contains arguments that subprojects may choose to override. It
6# asserts that those overrides are used, to prevent unused args warnings.
7
8_sdk_min_from_env = getenv("FORCE_MAC_SDK_MIN")
9declare_args() {
10  # Minimum supported version of the Mac SDK.
11  if (_sdk_min_from_env == "") {
12    mac_sdk_min = "10.15"
13  } else {
14    mac_sdk_min = _sdk_min_from_env
15  }
16}
17