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

Side by Side Diff: base/test/ios/coverage.gypi

Issue 853293002: Upstream //build/ios/coverage.gypi (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
« base/test/ios/OWNERS ('K') | « base/test/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', {
stuartmorgan 2015/01/16 21:38:42 No space after [ Also, why the OS check in an iOS
Eugene But (OOO till 7-30) 2015/01/16 22:04:06 Removed space. This file fill be unconditionally i
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.
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
« base/test/ios/OWNERS ('K') | « base/test/ios/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698