| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 5506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5517 # - "size", optimizes for minimal code size - the default. | 5517 # - "size", optimizes for minimal code size - the default. |
| 5518 # - "speed", optimizes for speed over code size. | 5518 # - "speed", optimizes for speed over code size. |
| 5519 # - "max", whole program optimization and link-time code | 5519 # - "max", whole program optimization and link-time code |
| 5520 # generation. This is very expensive and should be used | 5520 # generation. This is very expensive and should be used |
| 5521 # sparingly. | 5521 # sparingly. |
| 5522 'variables': { | 5522 'variables': { |
| 5523 'optimize%': 'size', | 5523 'optimize%': 'size', |
| 5524 }, | 5524 }, |
| 5525 'msvs_settings': { | 5525 'msvs_settings': { |
| 5526 'VCLinkerTool': { | 5526 'VCLinkerTool': { |
| 5527 # Set /LTCG for the official builds. |
| 5528 'LinkTimeCodeGeneration': '1', |
| 5527 'AdditionalOptions': [ | 5529 'AdditionalOptions': [ |
| 5528 # Enable /LTCG for the official builds. Use the incremental | |
| 5529 # mode to speed-up the non-clobber builds. This is not the | |
| 5530 # same as incremental linking (/INCREMENTAL) and doesn't have | |
| 5531 # any impact on code size or on performance. | |
| 5532 '/LTCG:INCREMENTAL', | |
| 5533 # Set the number of LTCG code-gen threads to eight. | 5530 # Set the number of LTCG code-gen threads to eight. |
| 5534 # The default is four. This gives a 5-10% link speedup. | 5531 # The default is four. This gives a 5-10% link speedup. |
| 5535 '/cgthreads:8', | 5532 '/cgthreads:8', |
| 5536 ], | 5533 ], |
| 5537 }, | 5534 }, |
| 5538 }, | 5535 }, |
| 5539 'target_conditions': [ | 5536 'target_conditions': [ |
| 5540 ['optimize=="size"', { | 5537 ['optimize=="size"', { |
| 5541 'msvs_settings': { | 5538 'msvs_settings': { |
| 5542 'VCCLCompilerTool': { | 5539 'VCCLCompilerTool': { |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6372 # settings in target dicts. SYMROOT is a special case, because many other | 6369 # settings in target dicts. SYMROOT is a special case, because many other |
| 6373 # Xcode variables depend on it, including variables such as | 6370 # Xcode variables depend on it, including variables such as |
| 6374 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6371 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6375 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6372 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6376 # files to appear (when present) in the UI as actual files and not red | 6373 # files to appear (when present) in the UI as actual files and not red |
| 6377 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6374 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6378 # and therefore SYMROOT, needs to be set at the project level. | 6375 # and therefore SYMROOT, needs to be set at the project level. |
| 6379 'SYMROOT': '<(DEPTH)/xcodebuild', | 6376 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6380 }, | 6377 }, |
| 6381 } | 6378 } |
| OLD | NEW |