repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Elim cr-checkbox
[chromium-blink-merge.git]
/
build
/
ios
/
coverage.gypi
blob
e82208902cc42428be3acfef5040037d41ea58c5
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
3
# found in the LICENSE file.
4
5
{
6
'variables': {
7
'enable_coverage%': 0,
8
},
9
'conditions': [
10
['enable_coverage', {
11
'target_defaults': {
12
'defines': [
13
'ENABLE_TEST_CODE_COVERAGE=1'
14
],
15
'link_settings': {
16
'xcode_settings': {
17
'OTHER_LDFLAGS': [
18
'-fprofile-arcs',
19
],
20
},
21
},
22
'xcode_settings': {
23
'OTHER_CFLAGS': [
24
'-fprofile-arcs',
25
'-ftest-coverage',
26
],
27
},
28
},
29
}],
30
],
31
}
32