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

Side by Side Diff: build/ios/coverage.gypi

Issue 867323003: Added coverage support for all iOS targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1,
8 'enable_coverage%': 0, 7 'enable_coverage%': 0,
9 }, 8 },
10 'conditions': [ 9 'conditions': [
11 ['OS=="ios" and enable_coverage', { 10 ['enable_coverage', {
12 'target_defaults': { 11 'target_defaults': {
13 'defines': [ 12 'defines': [
14 'ENABLE_TEST_CODE_COVERAGE=1' 13 'ENABLE_TEST_CODE_COVERAGE=1'
15 ], 14 ],
16 'link_settings': { 15 'link_settings': {
17 'xcode_settings': { 16 'xcode_settings': {
18 'OTHER_LDFLAGS': [ 17 'OTHER_LDFLAGS': [
19 '-fprofile-arcs', 18 '-fprofile-arcs',
20 ], 19 ],
21 }, 20 },
22 }, 21 },
23 'xcode_settings': { 22 'xcode_settings': {
24 'OTHER_CFLAGS': [ 23 'OTHER_CFLAGS': [
25 '-fprofile-arcs', 24 '-fprofile-arcs',
26 '-ftest-coverage', 25 '-ftest-coverage',
27 ], 26 ],
28 }, 27 },
29 }, 28 },
30 }], 29 }],
31 ], 30 ],
32 } 31 }
33 32
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698