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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 # {'variables': {'library': 'shared_library'}} | 43 # {'variables': {'library': 'shared_library'}} |
44 # to compile as shared by default | 44 # to compile as shared by default |
45 'library%': 'static_library', | 45 'library%': 'static_library', |
46 | 46 |
47 # TODO(bradnelson): eliminate this when possible. | 47 # TODO(bradnelson): eliminate this when possible. |
48 # To allow local gyp files to prevent release.vsprops from being included. | 48 # To allow local gyp files to prevent release.vsprops from being included. |
49 # Yes(1) means include release.vsprops. | 49 # Yes(1) means include release.vsprops. |
50 # Once all vsprops settings are migrated into gyp, this can go away. | 50 # Once all vsprops settings are migrated into gyp, this can go away. |
51 'msvs_use_common_release%': 1, | 51 'msvs_use_common_release%': 1, |
52 | 52 |
| 53 # TODO(sgk): eliminate this if possible. |
| 54 # It would be nicer to support this via a setting in 'target_defaults' |
| 55 # in chrome/app/locales/locales.gypi overriding the setting in the |
| 56 # 'Debug' configuration in the 'target_defaults' dict below, |
| 57 # but that doesn't work as we'd like. |
| 58 'msvs_debug_link_incremental%': '2', |
| 59 |
53 # The architecture that we're building on. | 60 # The architecture that we're building on. |
54 'target_arch%': 'ia32', | 61 'target_arch%': 'ia32', |
55 | 62 |
56 # By default linux does not use views. To turn on views in Linux | 63 # By default linux does not use views. To turn on views in Linux |
57 # set the variable GYP_DEFINES to "toolkit_views=1", or modify | 64 # set the variable GYP_DEFINES to "toolkit_views=1", or modify |
58 # ~/.gyp/include.gypi . | 65 # ~/.gyp/include.gypi . |
59 'toolkit_views%': 0, | 66 'toolkit_views%': 0, |
60 }, | 67 }, |
61 'target_defaults': { | 68 'target_defaults': { |
62 'conditions': [ | 69 'conditions': [ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 'CharacterSet': '1', | 130 'CharacterSet': '1', |
124 }, | 131 }, |
125 'msvs_settings': { | 132 'msvs_settings': { |
126 'VCCLCompilerTool': { | 133 'VCCLCompilerTool': { |
127 'Optimization': '0', | 134 'Optimization': '0', |
128 'PreprocessorDefinitions': ['_DEBUG'], | 135 'PreprocessorDefinitions': ['_DEBUG'], |
129 'BasicRuntimeChecks': '3', | 136 'BasicRuntimeChecks': '3', |
130 'RuntimeLibrary': '1', | 137 'RuntimeLibrary': '1', |
131 }, | 138 }, |
132 'VCLinkerTool': { | 139 'VCLinkerTool': { |
133 'LinkIncremental': '2', | 140 'LinkIncremental': '<(msvs_debug_link_incremental)', |
134 }, | 141 }, |
135 'VCResourceCompilerTool': { | 142 'VCResourceCompilerTool': { |
136 'PreprocessorDefinitions': ['_DEBUG'], | 143 'PreprocessorDefinitions': ['_DEBUG'], |
137 }, | 144 }, |
138 }, | 145 }, |
139 }], | 146 }], |
140 ], | 147 ], |
141 }, | 148 }, |
142 'Release': { | 149 'Release': { |
143 'defines': [ | 150 'defines': [ |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 # settings in target dicts. SYMROOT is a special case, because many other | 504 # settings in target dicts. SYMROOT is a special case, because many other |
498 # Xcode variables depend on it, including variables such as | 505 # Xcode variables depend on it, including variables such as |
499 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 506 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
500 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 507 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
501 # files to appear (when present) in the UI as actual files and not red | 508 # files to appear (when present) in the UI as actual files and not red |
502 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 509 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
503 # and therefore SYMROOT, needs to be set at the project level. | 510 # and therefore SYMROOT, needs to be set at the project level. |
504 'SYMROOT': '<(DEPTH)/xcodebuild', | 511 'SYMROOT': '<(DEPTH)/xcodebuild', |
505 }, | 512 }, |
506 } | 513 } |
OLD | NEW |