| 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 DLL with PGO. | 
 |  1091     'chrome_pgo%': '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 3429 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4529               # In official builds, targets can self-select an optimization |  4532               # In official builds, targets can self-select an optimization | 
|  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', | 
 |  4542                 'ltcg_value%': '1', | 
|  4539               }, |  4543               }, | 
|  4540               'target_conditions': [ |  4544               'target_conditions': [ | 
|  4541                 ['optimize=="size"', { |  4545                 ['optimize=="size"', { | 
|  4542                     'msvs_settings': { |  4546                     'msvs_settings': { | 
|  4543                       'VCCLCompilerTool': { |  4547                       'VCCLCompilerTool': { | 
|  4544                         # 1, optimizeMinSpace, Minimize Size (/O1) |  4548                         # 1, optimizeMinSpace, Minimize Size (/O1) | 
|  4545                         'Optimization': '1', |  4549                         'Optimization': '1', | 
|  4546                         # 2, favorSize - Favor small code (/Os) |  4550                         # 2, favorSize - Favor small code (/Os) | 
|  4547                         'FavorSizeOrSpeed': '2', |  4551                         'FavorSizeOrSpeed': '2', | 
|  4548                       }, |  4552                       }, | 
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5030     # settings in target dicts.  SYMROOT is a special case, because many other |  5034     # settings in target dicts.  SYMROOT is a special case, because many other | 
|  5031     # Xcode variables depend on it, including variables such as |  5035     # Xcode variables depend on it, including variables such as | 
|  5032     # PROJECT_DERIVED_FILE_DIR.  When a source group corresponding to something |  5036     # 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 |  5037     # 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 |  5038     # 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, |  5039     # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 
|  5036     # and therefore SYMROOT, needs to be set at the project level. |  5040     # and therefore SYMROOT, needs to be set at the project level. | 
|  5037     'SYMROOT': '<(DEPTH)/xcodebuild', |  5041     'SYMROOT': '<(DEPTH)/xcodebuild', | 
|  5038   }, |  5042   }, | 
|  5039 } |  5043 } | 
| OLD | NEW |