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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 'msvs_debug_link_nonincremental%': '1', | 1080 'msvs_debug_link_nonincremental%': '1', |
1081 | 1081 |
1082 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows | 1082 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows |
1083 # to get incremental linking to be faster in debug builds. | 1083 # to get incremental linking to be faster in debug builds. |
1084 'incremental_chrome_dll%': '0', | 1084 'incremental_chrome_dll%': '0', |
1085 | 1085 |
1086 # Experimental setting to break chrome.dll into multiple pieces based on | 1086 # Experimental setting to break chrome.dll into multiple pieces based on |
1087 # process type. | 1087 # process type. |
1088 'chrome_multiple_dll%': '0', | 1088 'chrome_multiple_dll%': '0', |
1089 | 1089 |
| 1090 # Experimental setting to optimize Chrome's DLLs with PGO. |
| 1091 'chrome_pgo_phase%': '0', |
| 1092 |
1090 # The default settings for third party code for treating | 1093 # The default settings for third party code for treating |
1091 # warnings-as-errors. Ideally, this would not be required, however there | 1094 # warnings-as-errors. Ideally, this would not be required, however there |
1092 # is some third party code that takes a long time to fix/roll. So, this | 1095 # is some third party code that takes a long time to fix/roll. So, this |
1093 # flag allows us to have warnings as errors in general to prevent | 1096 # flag allows us to have warnings as errors in general to prevent |
1094 # regressions in most modules, while working on the bits that are | 1097 # regressions in most modules, while working on the bits that are |
1095 # remaining. | 1098 # remaining. |
1096 'win_third_party_warn_as_error%': 'true', | 1099 'win_third_party_warn_as_error%': 'true', |
1097 | 1100 |
1098 # Clang stuff. | 1101 # Clang stuff. |
1099 'clang%': '<(clang)', | 1102 'clang%': '<(clang)', |
(...skipping 3430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4530 # level by defining a variable named 'optimize', and setting it | 4533 # level by defining a variable named 'optimize', and setting it |
4531 # to one of | 4534 # to one of |
4532 # - "size", optimizes for minimal code size - the default. | 4535 # - "size", optimizes for minimal code size - the default. |
4533 # - "speed", optimizes for speed over code size. | 4536 # - "speed", optimizes for speed over code size. |
4534 # - "max", whole program optimization and link-time code | 4537 # - "max", whole program optimization and link-time code |
4535 # generation. This is very expensive and should be used | 4538 # generation. This is very expensive and should be used |
4536 # sparingly. | 4539 # sparingly. |
4537 'variables': { | 4540 'variables': { |
4538 'optimize%': 'size', | 4541 'optimize%': 'size', |
4539 }, | 4542 }, |
| 4543 'msvs_settings': { |
| 4544 'VCLinkerTool': { |
| 4545 # Set /LTCG for the official builds. |
| 4546 'LinkTimeCodeGeneration': '1', |
| 4547 }, |
| 4548 }, |
4540 'target_conditions': [ | 4549 'target_conditions': [ |
4541 ['optimize=="size"', { | 4550 ['optimize=="size"', { |
4542 'msvs_settings': { | 4551 'msvs_settings': { |
4543 'VCCLCompilerTool': { | 4552 'VCCLCompilerTool': { |
4544 # 1, optimizeMinSpace, Minimize Size (/O1) | 4553 # 1, optimizeMinSpace, Minimize Size (/O1) |
4545 'Optimization': '1', | 4554 'Optimization': '1', |
4546 # 2, favorSize - Favor small code (/Os) | 4555 # 2, favorSize - Favor small code (/Os) |
4547 'FavorSizeOrSpeed': '2', | 4556 'FavorSizeOrSpeed': '2', |
4548 }, | 4557 }, |
4549 }, | 4558 }, |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5030 # settings in target dicts. SYMROOT is a special case, because many other | 5039 # settings in target dicts. SYMROOT is a special case, because many other |
5031 # Xcode variables depend on it, including variables such as | 5040 # Xcode variables depend on it, including variables such as |
5032 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5041 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5033 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5042 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5034 # files to appear (when present) in the UI as actual files and not red | 5043 # files to appear (when present) in the UI as actual files and not red |
5035 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5044 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5036 # and therefore SYMROOT, needs to be set at the project level. | 5045 # and therefore SYMROOT, needs to be set at the project level. |
5037 'SYMROOT': '<(DEPTH)/xcodebuild', | 5046 'SYMROOT': '<(DEPTH)/xcodebuild', |
5038 }, | 5047 }, |
5039 } | 5048 } |
OLD | NEW |