| 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 5492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5503 # - "size", optimizes for minimal code size - the default. | 5503 # - "size", optimizes for minimal code size - the default. |
| 5504 # - "speed", optimizes for speed over code size. | 5504 # - "speed", optimizes for speed over code size. |
| 5505 # - "max", whole program optimization and link-time code | 5505 # - "max", whole program optimization and link-time code |
| 5506 # generation. This is very expensive and should be used | 5506 # generation. This is very expensive and should be used |
| 5507 # sparingly. | 5507 # sparingly. |
| 5508 'variables': { | 5508 'variables': { |
| 5509 'optimize%': 'size', | 5509 'optimize%': 'size', |
| 5510 }, | 5510 }, |
| 5511 'msvs_settings': { | 5511 'msvs_settings': { |
| 5512 'VCLinkerTool': { | 5512 'VCLinkerTool': { |
| 5513 # Set /LTCG for the official builds. |
| 5514 'LinkTimeCodeGeneration': '1', |
| 5513 'AdditionalOptions': [ | 5515 'AdditionalOptions': [ |
| 5514 # Enable /LTCG for the official builds. Use the incremental | |
| 5515 # mode to speed-up the non-clobber builds. This is not the | |
| 5516 # same as incremental linking (/INCREMENTAL) and doesn't have | |
| 5517 # any impact on code size or on performance. | |
| 5518 '/LTCG:INCREMENTAL', | |
| 5519 # Set the number of LTCG code-gen threads to eight. | 5516 # Set the number of LTCG code-gen threads to eight. |
| 5520 # The default is four. This gives a 5-10% link speedup. | 5517 # The default is four. This gives a 5-10% link speedup. |
| 5521 '/cgthreads:8', | 5518 '/cgthreads:8', |
| 5522 ], | 5519 ], |
| 5523 }, | 5520 }, |
| 5524 }, | 5521 }, |
| 5525 'target_conditions': [ | 5522 'target_conditions': [ |
| 5526 ['optimize=="size"', { | 5523 ['optimize=="size"', { |
| 5527 'msvs_settings': { | 5524 'msvs_settings': { |
| 5528 'VCCLCompilerTool': { | 5525 'VCCLCompilerTool': { |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6358 # settings in target dicts. SYMROOT is a special case, because many other | 6355 # settings in target dicts. SYMROOT is a special case, because many other |
| 6359 # Xcode variables depend on it, including variables such as | 6356 # Xcode variables depend on it, including variables such as |
| 6360 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6357 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6361 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6358 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6362 # files to appear (when present) in the UI as actual files and not red | 6359 # files to appear (when present) in the UI as actual files and not red |
| 6363 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6360 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6364 # and therefore SYMROOT, needs to be set at the project level. | 6361 # and therefore SYMROOT, needs to be set at the project level. |
| 6365 'SYMROOT': '<(DEPTH)/xcodebuild', | 6362 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6366 }, | 6363 }, |
| 6367 } | 6364 } |
| OLD | NEW |