diff options
Diffstat (limited to 'third_party/libwebrtc/build/config/mac/mac_sdk_overrides.gni')
-rw-r--r-- | third_party/libwebrtc/build/config/mac/mac_sdk_overrides.gni | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/libwebrtc/build/config/mac/mac_sdk_overrides.gni b/third_party/libwebrtc/build/config/mac/mac_sdk_overrides.gni new file mode 100644 index 0000000000..17eb3d9f62 --- /dev/null +++ b/third_party/libwebrtc/build/config/mac/mac_sdk_overrides.gni @@ -0,0 +1,16 @@ +# 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 contains arguments that subprojects may choose to override. It +# asserts that those overrides are used, to prevent unused args warnings. + +_sdk_min_from_env = getenv("FORCE_MAC_SDK_MIN") +declare_args() { + # Minimum supported version of the Mac SDK. + if (_sdk_min_from_env == "") { + mac_sdk_min = "10.15" + } else { + mac_sdk_min = _sdk_min_from_env + } +} |