OLD | NEW |
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "common.xcconfig" | 5 #include "common.xcconfig" |
6 | 6 |
7 COPY_PHASE_STRIP = NO | 7 COPY_PHASE_STRIP = NO |
8 GCC_OPTIMIZATION_LEVEL = 0 | 8 GCC_OPTIMIZATION_LEVEL = 0 |
9 GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG _GLIBCXX_CO
NCEPT_CHECKS _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC | 9 GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG |
| 10 // Additional libc++ strictness; disabled because they break some things in |
| 11 // WebKit and some additional things when building with gcc 4.2. |
| 12 // GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG _GLIBCXX
_CONCEPT_CHECKS _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC |
10 OTHER_CFLAGS = $(OTHER_CFLAGS) -fstack-protector -fstack-protector-all | 13 OTHER_CFLAGS = $(OTHER_CFLAGS) -fstack-protector -fstack-protector-all |
11 | 14 |
12 // Code coverage support via gcov is disabled for normal debug builds because | 15 // Code coverage support via gcov is disabled for normal debug builds because |
13 // our build structure results in many "merge mismatch for summaries" messages | 16 // our build structure results in many "merge mismatch for summaries" messages |
14 // being printed at the conclusion of many tests in many depend build cases, as | 17 // being printed at the conclusion of many tests in many depend build cases, as |
15 // well as a long delay while summary data is written. Since these are not | 18 // well as a long delay while summary data is written. Since these are not |
16 // needed in the majority of debug builds, code coverage is left off, but it | 19 // needed in the majority of debug builds, code coverage is left off, but it |
17 // can be easily enabled by uncommenting the next section. | 20 // can be easily enabled by uncommenting the next section. |
18 // | 21 // |
19 //GCC_GENERATE_TEST_COVERAGE_FILES = YES | 22 //GCC_GENERATE_TEST_COVERAGE_FILES = YES |
20 //GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES | 23 //GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES |
21 //CODECOVERAGE_OTHER_LDFLAGS = -lgcov | 24 //CODECOVERAGE_OTHER_LDFLAGS = -lgcov |
OLD | NEW |