ios_sdk_overrides.gni (722B)
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 import("//chromium/build/config/features.gni") 9 10 declare_args() { 11 # Version of iOS that we're targeting. 12 if (use_blink) { 13 ios_deployment_target = "17.4" 14 } else { 15 ios_deployment_target = "16.0" 16 } 17 } 18 19 # Always assert that ios_deployment_target is used on non-iOS platforms to 20 # prevent unused args warnings. 21 if (!is_ios) { 22 assert(ios_deployment_target == "16.0" || ios_deployment_target == "17.4" || 23 true) 24 }