Chromium Code Reviews| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 222 }], | 222 }], |
| 223 [ 'OS=="win"', { | 223 [ 'OS=="win"', { |
| 224 'msvs_settings': { | 224 'msvs_settings': { |
| 225 'VCLinkerTool': { | 225 'VCLinkerTool': { |
| 226 'LinkIncremental': '1', | 226 'LinkIncremental': '1', |
| 227 }, | 227 }, |
| 228 }, | 228 }, |
| 229 }], | 229 }], |
| 230 ], | 230 ], |
| 231 }, | 231 }, |
| 232 'conditions': [ | |
| 233 [ 'OS=="win"', { | |
| 234 # TODO(bradnelson): add a gyp mechanism to make this more graceful. | |
| 235 'Purify': { | |
| 236 'defines': [ | |
| 237 'NDEBUG', | |
| 238 'PURIFY', | |
| 239 ], | |
| 240 'msvs_settings': { | |
| 241 'VCCLCompilerTool': { | |
| 242 'Optimization': '0', | |
| 243 'RuntimeLibrary': '0', | |
| 244 'BufferSecurityCheck': 'false', | |
| 245 }, | |
| 246 'VCLinkerTool': { | |
| 247 'EnableCOMDATFolding': '1', | |
| 248 'LinkIncremental': '1', | |
| 249 }, | |
| 250 }, | |
| 251 'conditions': [ | |
| 252 [ 'msvs_use_common_release', { | |
| 253 'configuration_platform': 'Win32', | |
| 254 'msvs_props': ['release.vsprops'], | |
| 255 }], | |
| 256 ], | |
| 257 }, | |
| 258 'Release - no tcmalloc': { | |
| 259 'defines': [ | |
|
Erik does not do reviews
2009/07/25 00:54:52
Let's add a define here that says NO_TCMALLOC. Th
| |
| 260 'NDEBUG', | |
| 261 ], | |
| 262 'conditions': [ | |
| 263 [ 'msvs_use_common_release', { | |
| 264 'configuration_platform': 'Win32', | |
| 265 'msvs_props': ['release.vsprops'], | |
| 266 }], | |
| 267 ], | |
| 268 'msvs_settings': { | |
| 269 'VCLinkerTool': { | |
| 270 'LinkIncremental': '1', | |
| 271 }, | |
| 272 }, | |
| 273 }, | |
| 274 }], | |
| 275 ], | |
| 232 }, | 276 }, |
| 233 }, | 277 }, |
| 234 'conditions': [ | 278 'conditions': [ |
| 235 ['OS=="linux"', { | 279 ['OS=="linux"', { |
| 236 'target_defaults': { | 280 'target_defaults': { |
| 237 # Enable -Werror by default, but put it in a variable so it can | 281 # Enable -Werror by default, but put it in a variable so it can |
| 238 # be disabled in ~/.gyp/include.gypi on the valgrind builders. | 282 # be disabled in ~/.gyp/include.gypi on the valgrind builders. |
| 239 'variables': { | 283 'variables': { |
| 240 'werror%': '-Werror', | 284 'werror%': '-Werror', |
| 241 }, | 285 }, |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 617 # settings in target dicts. SYMROOT is a special case, because many other | 661 # settings in target dicts. SYMROOT is a special case, because many other |
| 618 # Xcode variables depend on it, including variables such as | 662 # Xcode variables depend on it, including variables such as |
| 619 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 663 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 620 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 664 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 621 # files to appear (when present) in the UI as actual files and not red | 665 # files to appear (when present) in the UI as actual files and not red |
| 622 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 666 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 623 # and therefore SYMROOT, needs to be set at the project level. | 667 # and therefore SYMROOT, needs to be set at the project level. |
| 624 'SYMROOT': '<(DEPTH)/xcodebuild', | 668 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 625 }, | 669 }, |
| 626 } | 670 } |
| OLD | NEW |