| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 declare_args() { | 5 declare_args() { |
| 6 # SDK path to use. When empty this will use the default SDK based on the | 6 # SDK path to use. When empty this will use the default SDK based on the |
| 7 # value of use_ios_simulator. | 7 # value of use_ios_simulator. |
| 8 ios_sdk_path = "" | 8 ios_sdk_path = "" |
| 9 | 9 |
| 10 use_ios_simulator = target_cpu == "x86" || target_cpu == "x64" | 10 use_ios_simulator = target_cpu == "x86" || target_cpu == "x64" |
| 11 | 11 |
| 12 # Version of iOS that we're targeting. | 12 # Version of iOS that we're targeting. |
| 13 ios_deployment_target = "7.0" | 13 ios_deployment_target = "9.0" |
| 14 | 14 |
| 15 # The iOS Code signing identity to use | 15 # The iOS Code signing identity to use |
| 16 # TODO(GYP), TODO(sdfresne): Consider having a separate | 16 # TODO(GYP), TODO(sdfresne): Consider having a separate |
| 17 # ios_enable_code_signing_flag=<bool> flag to make the invocation clearer. | 17 # ios_enable_code_signing_flag=<bool> flag to make the invocation clearer. |
| 18 ios_enable_code_signing = true | 18 ios_enable_code_signing = true |
| 19 ios_code_signing_identity = "" | 19 ios_code_signing_identity = "" |
| 20 } | 20 } |
| 21 | 21 |
| 22 if (ios_sdk_path == "") { | 22 if (ios_sdk_path == "") { |
| 23 # Compute default target. | 23 # Compute default target. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 ios_code_signing_identity = _ios_identities[0] | 44 ios_code_signing_identity = _ios_identities[0] |
| 45 } | 45 } |
| 46 | 46 |
| 47 if (ios_code_signing_identity == "") { | 47 if (ios_code_signing_identity == "") { |
| 48 print("Tried to prepare a device build without specifying a code signing") | 48 print("Tried to prepare a device build without specifying a code signing") |
| 49 print("identity and could not detect one automatically either.") | 49 print("identity and could not detect one automatically either.") |
| 50 print("TIP: Simulator builds dont require code signing...") | 50 print("TIP: Simulator builds dont require code signing...") |
| 51 assert(false) | 51 assert(false) |
| 52 } | 52 } |
| 53 } | 53 } |
| OLD | NEW |