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

Side by Side Diff: build/common.gypi

Issue 2857015: Clang/mac: Get unit_tests built. (Closed)
Patch Set: rebase Created 10 years, 4 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 | « base/logging.h ('k') | chrome/browser/autocomplete/autocomplete_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 'variables': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min 1186 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
1187 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', 1187 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
1188 'PREBINDING': 'NO', # No -Wl,-prebind 1188 'PREBINDING': 'NO', # No -Wl,-prebind
1189 'USE_HEADERMAP': 'NO', 1189 'USE_HEADERMAP': 'NO',
1190 'WARNING_CFLAGS': [ 1190 'WARNING_CFLAGS': [
1191 '-Wall', 1191 '-Wall',
1192 '-Wendif-labels', 1192 '-Wendif-labels',
1193 '-Wextra', 1193 '-Wextra',
1194 '-Wno-sign-compare', # clang warns a lot without this 1194 '-Wno-sign-compare', # clang warns a lot without this
1195 # (todo: track down and fix everything) 1195 # (todo: track down and fix everything)
1196 # gtest confuses clang.
1197 '-Wno-bool-conversions',
1196 # Don't warn about unused function parameters. 1198 # Don't warn about unused function parameters.
1197 '-Wno-unused-parameter', 1199 '-Wno-unused-parameter',
1198 # Don't warn about the "struct foo f = {0};" initialization 1200 # Don't warn about the "struct foo f = {0};" initialization
1199 # pattern. 1201 # pattern.
1200 '-Wno-missing-field-initializers', 1202 '-Wno-missing-field-initializers',
1201 ], 1203 ],
1202 'conditions': [ 1204 'conditions': [
1203 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, 1205 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'},
1204 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} 1206 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}
1205 ], 1207 ],
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 # and therefore SYMROOT, needs to be set at the project level. 1453 # and therefore SYMROOT, needs to be set at the project level.
1452 'SYMROOT': '<(DEPTH)/xcodebuild', 1454 'SYMROOT': '<(DEPTH)/xcodebuild',
1453 }, 1455 },
1454 } 1456 }
1455 1457
1456 # Local Variables: 1458 # Local Variables:
1457 # tab-width:2 1459 # tab-width:2
1458 # indent-tabs-mode:nil 1460 # indent-tabs-mode:nil
1459 # End: 1461 # End:
1460 # vim: set expandtab tabstop=2 shiftwidth=2: 1462 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « base/logging.h ('k') | chrome/browser/autocomplete/autocomplete_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698