Revert of Copy Widevine files for swarming tests (patchset #5 id:80001 of https:...
[chromium-blink-merge.git] / build / ios / coverage.gypi
blobe82208902cc42428be3acfef5040037d41ea58c5
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.
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   ],