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 import("//build/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 # SDK path to use. When empty this will use the default SDK based on the | 8 # SDK path to use. When empty this will use the default SDK based on the |
9 # value of use_ios_simulator. | 9 # value of use_ios_simulator. |
10 ios_sdk_path = "" | 10 ios_sdk_path = "" |
(...skipping 19 matching lines...) Expand all Loading... |
30 # "Organization Identifier" in Xcode). Code signing will fail if no mobile | 30 # "Organization Identifier" in Xcode). Code signing will fail if no mobile |
31 # provisioning for the selected code signing identify support that prefix. | 31 # provisioning for the selected code signing identify support that prefix. |
32 ios_app_bundle_id_prefix = "org.chromium" | 32 ios_app_bundle_id_prefix = "org.chromium" |
33 | 33 |
34 # If true, then allow using Xcode to automatically manage certificates. This | 34 # If true, then allow using Xcode to automatically manage certificates. This |
35 # requires loading a separate Xcode project and enable automatically managed | 35 # requires loading a separate Xcode project and enable automatically managed |
36 # certificates. When true, all test application will use the same bundle id | 36 # certificates. When true, all test application will use the same bundle id |
37 # to avoid running out of certificates if using a free account. | 37 # to avoid running out of certificates if using a free account. |
38 ios_automatically_manage_certs = true | 38 ios_automatically_manage_certs = true |
39 | 39 |
| 40 # Enabling this option makes clang compile for profiling to gather code |
| 41 # coverage metrics. |
| 42 ios_enable_coverage = false |
| 43 |
40 # If non-empty, this list must contain valid cpu architecture, and the final | 44 # If non-empty, this list must contain valid cpu architecture, and the final |
41 # build will be a multi-architecture build (aka fat build) supporting the | 45 # build will be a multi-architecture build (aka fat build) supporting the |
42 # main $target_cpu architecture and all of $additional_target_cpus. | 46 # main $target_cpu architecture and all of $additional_target_cpus. |
43 # | 47 # |
44 # For example to build an application that will run on both arm64 and armv7 | 48 # For example to build an application that will run on both arm64 and armv7 |
45 # devices, you would use the following in args.gn file when running "gn args": | 49 # devices, you would use the following in args.gn file when running "gn args": |
46 # | 50 # |
47 # target_os = "ios" | 51 # target_os = "ios" |
48 # target_cpu = "arm64" | 52 # target_cpu = "arm64" |
49 # additional_target_cpus = [ "arm" ] | 53 # additional_target_cpus = [ "arm" ] |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 print("Warning: - $_ios_identity$_selected") | 159 print("Warning: - $_ios_identity$_selected") |
156 } | 160 } |
157 print("Warning: Please use either ios_code_signing_identity or ") | 161 print("Warning: Please use either ios_code_signing_identity or ") |
158 print("Warning: ios_code_signing_identity_description variable to ") | 162 print("Warning: ios_code_signing_identity_description variable to ") |
159 print("Warning: control which identity is selected.") | 163 print("Warning: control which identity is selected.") |
160 print() | 164 print() |
161 } | 165 } |
162 } | 166 } |
163 } | 167 } |
164 } | 168 } |
OLD | NEW |