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

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

Issue 853293002: Upstream //build/ios/coverage.gypi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved coverage.gypi to build/ios 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/ios/OWNERS ('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
(Empty)
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 'chromium_code': 1,
8 'enable_coverage%': 0,
9 },
10 'conditions': [
11 ['OS=="ios" and enable_coverage', {
12 'target_defaults': {
13 'variables': {
14 'developer_dir': '<!(xcode-select -print-path)',
15 },
16 'defines': [
17 'ENABLE_TEST_CODE_COVERAGE=1'
18 ],
19 'link_settings': {
20 'libraries': [
21 # There is no short name for clang coverage library like it was
22 # for GCC. Xcode automatically links the binary with
23 # libclang_rt.profile_ios if GCC_INSTRUMENT_PROGRAM_FLOW_ARCS and
24 # GCC_GENERATE_TEST_COVERAGE_FILES flags are set to YES. Since
25 # Xcode is not used for compilation binaries must be manually
26 # linked with libclang_rt.profile_ios.
Nico 2015/01/20 19:04:25 This looks all kinds of wrong. 1.) If gyp's xcode
Eugene But (OOO till 7-30) 2015/01/21 00:18:40 Filed a bug: crbug.com/450379
27 '<(developer_dir)/Toolchains/XcodeDefault.xctoolchain/usr/bin/../l ib/clang/6.0/lib/darwin/libclang_rt.profile_ios.a',
28 ],
29 },
30 'xcode_settings': {
31 'OTHER_CFLAGS': [
32 '-fprofile-arcs',
33 '-ftest-coverage',
34 ],
35 },
36 },
37 }],
38 ],
39 }
40
OLDNEW
« no previous file with comments | « build/ios/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698