OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
8 # code, as opposed to external code. This variable is used to control | 8 # code, as opposed to external code. This variable is used to control |
9 # such things as the set of warnings to enable, and whether warnings are | 9 # such things as the set of warnings to enable, and whether warnings are |
10 # treated as errors. | 10 # treated as errors. |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 ['OS=="mac"', { | 256 ['OS=="mac"', { |
257 'target_defaults': { | 257 'target_defaults': { |
258 'mac_bundle': 0, | 258 'mac_bundle': 0, |
259 'xcode_settings': { | 259 'xcode_settings': { |
260 'ALWAYS_SEARCH_USER_PATHS': 'NO', | 260 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
261 'GCC_C_LANGUAGE_STANDARD': 'c99', | 261 'GCC_C_LANGUAGE_STANDARD': 'c99', |
262 'GCC_CW_ASM_SYNTAX': 'NO', | 262 'GCC_CW_ASM_SYNTAX': 'NO', |
263 'GCC_DYNAMIC_NO_PIC': 'YES', | 263 'GCC_DYNAMIC_NO_PIC': 'YES', |
264 'GCC_ENABLE_PASCAL_STRINGS': 'NO', | 264 'GCC_ENABLE_PASCAL_STRINGS': 'NO', |
265 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', | 265 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 266 'GCC_OBJC_CALL_CXX_CDTORS': 'YES', |
266 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', | 267 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', |
267 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', | 268 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', |
268 'GCC_VERSION': '4.2', | 269 'GCC_VERSION': '4.2', |
269 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', | 270 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', |
270 'MACOSX_DEPLOYMENT_TARGET': '10.5', | 271 'MACOSX_DEPLOYMENT_TARGET': '10.5', |
271 'PREBINDING': 'NO', | 272 'PREBINDING': 'NO', |
272 'SDKROOT': 'macosx10.5', | 273 'SDKROOT': 'macosx10.5', |
273 'USE_HEADERMAP': 'NO', | 274 'USE_HEADERMAP': 'NO', |
274 'WARNING_CFLAGS': ['-Wall', '-Wendif-labels'], | 275 'WARNING_CFLAGS': ['-Wall', '-Wendif-labels'], |
275 'conditions': [ | 276 'conditions': [ |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 # settings in target dicts. SYMROOT is a special case, because many other | 398 # settings in target dicts. SYMROOT is a special case, because many other |
398 # Xcode variables depend on it, including variables such as | 399 # Xcode variables depend on it, including variables such as |
399 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 400 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
400 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 401 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
401 # files to appear (when present) in the UI as actual files and not red | 402 # files to appear (when present) in the UI as actual files and not red |
402 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 403 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
403 # and therefore SYMROOT, needs to be set at the project level. | 404 # and therefore SYMROOT, needs to be set at the project level. |
404 'SYMROOT': '<(DEPTH)/xcodebuild', | 405 'SYMROOT': '<(DEPTH)/xcodebuild', |
405 }, | 406 }, |
406 } | 407 } |
OLD | NEW |