| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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': { | 9 'variables': { |
| 10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 'defines': ['OS_CHROMEOS=1'], | 430 'defines': ['OS_CHROMEOS=1'], |
| 431 }], | 431 }], |
| 432 ['remoting==1', { | 432 ['remoting==1', { |
| 433 'defines': ['ENABLE_REMOTING=1'], | 433 'defines': ['ENABLE_REMOTING=1'], |
| 434 }], | 434 }], |
| 435 ['proprietary_codecs==1', { | 435 ['proprietary_codecs==1', { |
| 436 'defines': ['USE_PROPRIETARY_CODECS'], | 436 'defines': ['USE_PROPRIETARY_CODECS'], |
| 437 }], | 437 }], |
| 438 ['fastbuild!=0', { | 438 ['fastbuild!=0', { |
| 439 'conditions': [ | 439 'conditions': [ |
| 440 # Finally, for Windows, we simply turn on profiling. | 440 # For Windows, we don't genererate debug information. |
| 441 ['OS=="win"', { | 441 ['OS=="win"', { |
| 442 'msvs_settings': { | 442 'msvs_settings': { |
| 443 'VCLinkerTool': { | 443 'VCLinkerTool': { |
| 444 'GenerateDebugInformation': 'false', | 444 'GenerateDebugInformation': 'false', |
| 445 }, | 445 }, |
| 446 'VCCLCompilerTool': { | 446 'VCCLCompilerTool': { |
| 447 'DebugInformationFormat': '0', | 447 'DebugInformationFormat': '0', |
| 448 } | 448 } |
| 449 } | 449 } |
| 450 }, { # else: OS != "win" | 450 }, { # else: OS != "win", generate less debug information. |
| 451 'cflags': [ '-g1' ], | 451 'variables': { |
| 452 'debug_extra_cflags': '-g1', |
| 453 }, |
| 452 }], | 454 }], |
| 453 ], # conditions for fastbuild. | 455 ], # conditions for fastbuild. |
| 454 }], # fastbuild!=0 | 456 }], # fastbuild!=0 |
| 455 ['selinux==1', { | 457 ['selinux==1', { |
| 456 'defines': ['CHROMIUM_SELINUX=1'], | 458 'defines': ['CHROMIUM_SELINUX=1'], |
| 457 }], | 459 }], |
| 458 ['win_use_allocator_shim==0', { | 460 ['win_use_allocator_shim==0', { |
| 459 'conditions': [ | 461 'conditions': [ |
| 460 ['OS=="win"', { | 462 ['OS=="win"', { |
| 461 'defines': ['NO_TCMALLOC'], | 463 'defines': ['NO_TCMALLOC'], |
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1408 # and therefore SYMROOT, needs to be set at the project level. | 1410 # and therefore SYMROOT, needs to be set at the project level. |
| 1409 'SYMROOT': '<(DEPTH)/xcodebuild', | 1411 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1410 }, | 1412 }, |
| 1411 } | 1413 } |
| 1412 | 1414 |
| 1413 # Local Variables: | 1415 # Local Variables: |
| 1414 # tab-width:2 | 1416 # tab-width:2 |
| 1415 # indent-tabs-mode:nil | 1417 # indent-tabs-mode:nil |
| 1416 # End: | 1418 # End: |
| 1417 # vim: set expandtab tabstop=2 shiftwidth=2: | 1419 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |