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

Side by Side Diff: build/common.gypi

Issue 2857015: Clang/mac: Get unit_tests built. (Closed)
Patch Set: rebase Created 10 years, 6 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 | « no previous file | 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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min 1161 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min
1162 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', 1162 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
1163 'PREBINDING': 'NO', # No -Wl,-prebind 1163 'PREBINDING': 'NO', # No -Wl,-prebind
1164 'USE_HEADERMAP': 'NO', 1164 'USE_HEADERMAP': 'NO',
1165 'WARNING_CFLAGS': [ 1165 'WARNING_CFLAGS': [
1166 '-Wall', 1166 '-Wall',
1167 '-Wendif-labels', 1167 '-Wendif-labels',
1168 '-Wextra', 1168 '-Wextra',
1169 '-Wno-sign-compare', # clang warns a lot without this 1169 '-Wno-sign-compare', # clang warns a lot without this
1170 # (todo: track down and fix everything) 1170 # (todo: track down and fix everything)
1171 # gtest confuses clang.
1172 '-Wno-bool-conversions',
1171 # Don't warn about unused function parameters. 1173 # Don't warn about unused function parameters.
1172 '-Wno-unused-parameter', 1174 '-Wno-unused-parameter',
1173 # Don't warn about the "struct foo f = {0};" initialization 1175 # Don't warn about the "struct foo f = {0};" initialization
1174 # pattern. 1176 # pattern.
1175 '-Wno-missing-field-initializers', 1177 '-Wno-missing-field-initializers',
1176 ], 1178 ],
1177 'conditions': [ 1179 'conditions': [
1178 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, 1180 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'},
1179 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} 1181 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}
1180 ], 1182 ],
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 # and therefore SYMROOT, needs to be set at the project level. 1424 # and therefore SYMROOT, needs to be set at the project level.
1423 'SYMROOT': '<(DEPTH)/xcodebuild', 1425 'SYMROOT': '<(DEPTH)/xcodebuild',
1424 }, 1426 },
1425 } 1427 }
1426 1428
1427 # Local Variables: 1429 # Local Variables:
1428 # tab-width:2 1430 # tab-width:2
1429 # indent-tabs-mode:nil 1431 # indent-tabs-mode:nil
1430 # End: 1432 # End:
1431 # vim: set expandtab tabstop=2 shiftwidth=2: 1433 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698