OLD | NEW |
---|---|
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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1227 # Don't warn about unused function parameters. | 1227 # Don't warn about unused function parameters. |
1228 '-Wno-unused-parameter', | 1228 '-Wno-unused-parameter', |
1229 # Don't warn about the "struct foo f = {0};" initialization | 1229 # Don't warn about the "struct foo f = {0};" initialization |
1230 # pattern. | 1230 # pattern. |
1231 '-Wno-missing-field-initializers', | 1231 '-Wno-missing-field-initializers', |
1232 ], | 1232 ], |
1233 'conditions': [ | 1233 'conditions': [ |
1234 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, | 1234 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, |
1235 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} | 1235 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} |
1236 ], | 1236 ], |
1237 ['clang==1', { | |
Mark Mentovai
2010/09/22 16:38:36
Do we need this for anything else in the Mac build
Nico
2010/09/22 16:41:08
There's more: gtest.gyp and skia.gyp check this an
| |
1238 'WARNING_CFLAGS': [ | |
1239 # Don't die on dtoa code that uses a char as an array index. | |
1240 # This is required solely for base/third_party/dmg_fp/dtoa.cc. | |
1241 '-Wno-char-subscripts', | |
1242 ], | |
1243 }], | |
1237 ], | 1244 ], |
1238 }, | 1245 }, |
1239 'target_conditions': [ | 1246 'target_conditions': [ |
1240 ['_type!="static_library"', { | 1247 ['_type!="static_library"', { |
1241 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 1248 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
1242 }], | 1249 }], |
1243 ['_mac_bundle', { | 1250 ['_mac_bundle', { |
1244 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 1251 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
1245 }], | 1252 }], |
1246 ['(_type=="executable" or _type=="shared_library" or \ | 1253 ['(_type=="executable" or _type=="shared_library" or \ |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1479 # and therefore SYMROOT, needs to be set at the project level. | 1486 # and therefore SYMROOT, needs to be set at the project level. |
1480 'SYMROOT': '<(DEPTH)/xcodebuild', | 1487 'SYMROOT': '<(DEPTH)/xcodebuild', |
1481 }, | 1488 }, |
1482 } | 1489 } |
1483 | 1490 |
1484 # Local Variables: | 1491 # Local Variables: |
1485 # tab-width:2 | 1492 # tab-width:2 |
1486 # indent-tabs-mode:nil | 1493 # indent-tabs-mode:nil |
1487 # End: | 1494 # End: |
1488 # vim: set expandtab tabstop=2 shiftwidth=2: | 1495 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |