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

Side by Side Diff: build/common.gypi

Issue 2868021: Mac: Play with using a prefix header. (Closed)
Patch Set: 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 | build/prefix_header_mac.h » ('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 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 '-Wall', 1163 '-Wall',
1164 '-Wendif-labels', 1164 '-Wendif-labels',
1165 '-Wextra', 1165 '-Wextra',
1166 # Don't warn about unused function parameters. 1166 # Don't warn about unused function parameters.
1167 '-Wno-unused-parameter', 1167 '-Wno-unused-parameter',
1168 # Don't warn about the "struct foo f = {0};" initialization 1168 # Don't warn about the "struct foo f = {0};" initialization
1169 # pattern. 1169 # pattern.
1170 '-Wno-missing-field-initializers', 1170 '-Wno-missing-field-initializers',
1171 ], 1171 ],
1172 'conditions': [ 1172 'conditions': [
1173 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, 1173 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES',
1174 'GCC_PREFIX_HEADER': '/Users/thakis/src/chrome -git/src/build/prefix_header_mac.h'},
1174 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} 1175 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}
1175 ], 1176 ],
1176 ], 1177 ],
1177 }, 1178 },
1178 'target_conditions': [ 1179 'target_conditions': [
1179 ['_type!="static_library"', { 1180 ['_type!="static_library"', {
1180 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 1181 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
1181 }], 1182 }],
1182 ['_mac_bundle', { 1183 ['_mac_bundle', {
1183 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 1184 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 # and therefore SYMROOT, needs to be set at the project level. 1418 # and therefore SYMROOT, needs to be set at the project level.
1418 'SYMROOT': '<(DEPTH)/xcodebuild', 1419 'SYMROOT': '<(DEPTH)/xcodebuild',
1419 }, 1420 },
1420 } 1421 }
1421 1422
1422 # Local Variables: 1423 # Local Variables:
1423 # tab-width:2 1424 # tab-width:2
1424 # indent-tabs-mode:nil 1425 # indent-tabs-mode:nil
1425 # End: 1426 # End:
1426 # vim: set expandtab tabstop=2 shiftwidth=2: 1427 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | build/prefix_header_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698