Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: build/config/ios/ios_sdk.gni

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: Enable code coverage for the entire sources. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 # "Organization Identifier" in Xcode). Code signing will fail if no mobile 29 # "Organization Identifier" in Xcode). Code signing will fail if no mobile
30 # provisioning for the selected code signing identify support that prefix. 30 # provisioning for the selected code signing identify support that prefix.
31 ios_app_bundle_id_prefix = "org.chromium" 31 ios_app_bundle_id_prefix = "org.chromium"
32 32
33 # If true, then allow using Xcode to automatically manage certificates. This 33 # If true, then allow using Xcode to automatically manage certificates. This
34 # requires loading a separate Xcode project and enable automatically managed 34 # requires loading a separate Xcode project and enable automatically managed
35 # certificates. When true, all test application will use the same bundle id 35 # certificates. When true, all test application will use the same bundle id
36 # to avoid running out of certificates if using a free account. 36 # to avoid running out of certificates if using a free account.
37 ios_automatically_manage_certs = true 37 ios_automatically_manage_certs = true
38 38
39 # Enabling this option makes clang compile for profiling to gather code
40 # coverage metrics.
41 ios_enable_coverage = false
42
39 # If non-empty, this list must contain valid cpu architecture, and the final 43 # If non-empty, this list must contain valid cpu architecture, and the final
40 # build will be a multi-architecture build (aka fat build) supporting the 44 # build will be a multi-architecture build (aka fat build) supporting the
41 # main $target_cpu architecture and all of $additional_target_cpus. 45 # main $target_cpu architecture and all of $additional_target_cpus.
42 # 46 #
43 # For example to build an application that will run on both arm64 and armv7 47 # For example to build an application that will run on both arm64 and armv7
44 # devices, you would use the following in args.gn file when running "gn args": 48 # devices, you would use the following in args.gn file when running "gn args":
45 # 49 #
46 # target_os = "ios" 50 # target_os = "ios"
47 # target_cpu = "arm64" 51 # target_cpu = "arm64"
48 # additional_target_cpus = [ "arm" ] 52 # additional_target_cpus = [ "arm" ]
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ios_code_signing_identity = _ios_identities[0] 135 ios_code_signing_identity = _ios_identities[0]
132 } 136 }
133 137
134 if (ios_code_signing_identity == "") { 138 if (ios_code_signing_identity == "") {
135 print("Tried to prepare a device build without specifying a code signing") 139 print("Tried to prepare a device build without specifying a code signing")
136 print("identity and could not detect one automatically either.") 140 print("identity and could not detect one automatically either.")
137 print("TIP: Simulator builds don't require code signing...") 141 print("TIP: Simulator builds don't require code signing...")
138 assert(false) 142 assert(false)
139 } 143 }
140 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698