Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 'defines': [ | |
| 14 'ENABLE_TEST_CODE_COVERAGE=1' | |
| 15 ], | |
| 16 'link_settings': { | |
| 17 'xcode_settings': { | |
| 18 'OTHER_LDFLAGS': [ | |
| 19 '-fprofile-arcs', | |
| 20 ], | |
| 21 }, | |
| 22 }, | |
| 23 'xcode_settings': { | |
| 24 'OTHER_CFLAGS': [ | |
| 25 '-fprofile-arcs', | |
| 26 '-ftest-coverage', | |
| 27 ], | |
| 28 }, | |
| 29 }, | |
| 30 }], | |
| 31 ], | |
| 32 } | |
| 33 | |
| OLD | NEW |