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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 # TODO(sgk): eliminate this if possible. | 696 # TODO(sgk): eliminate this if possible. |
697 # It would be nicer to support this via a setting in 'target_defaults' | 697 # It would be nicer to support this via a setting in 'target_defaults' |
698 # in chrome/app/locales/locales.gypi overriding the setting in the | 698 # in chrome/app/locales/locales.gypi overriding the setting in the |
699 # 'Debug' configuration in the 'target_defaults' dict below, | 699 # 'Debug' configuration in the 'target_defaults' dict below, |
700 # but that doesn't work as we'd like. | 700 # but that doesn't work as we'd like. |
701 'msvs_debug_link_incremental%': '2', | 701 'msvs_debug_link_incremental%': '2', |
702 | 702 |
703 # Needed for some of the largest modules. | 703 # Needed for some of the largest modules. |
704 'msvs_debug_link_nonincremental%': '1', | 704 'msvs_debug_link_nonincremental%': '1', |
705 | 705 |
706 # Turn on Use Library Dependency Inputs for linking chrome.dll on Windows | 706 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows |
707 # to get incremental linking to be faster in debug builds. | 707 # to get incremental linking to be faster in debug builds. |
708 'incremental_chrome_dll%': '0', | 708 'incremental_chrome_dll%': '0', |
709 | 709 |
710 # This is the location of the sandbox binary. Chrome looks for this before | 710 # This is the location of the sandbox binary. Chrome looks for this before |
711 # running the zygote process. If found, and SUID, it will be used to | 711 # running the zygote process. If found, and SUID, it will be used to |
712 # sandbox the zygote process and, thus, all renderer processes. | 712 # sandbox the zygote process and, thus, all renderer processes. |
713 'linux_sandbox_path%': '', | 713 'linux_sandbox_path%': '', |
714 | 714 |
715 # Set this to true to enable SELinux support. | 715 # Set this to true to enable SELinux support. |
716 'selinux%': 0, | 716 'selinux%': 0, |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 'mac_keystone%': 0, | 1035 'mac_keystone%': 0, |
1036 }], | 1036 }], |
1037 ], | 1037 ], |
1038 }], # OS=="mac" | 1038 }], # OS=="mac" |
1039 | 1039 |
1040 ['OS=="win"', { | 1040 ['OS=="win"', { |
1041 'conditions': [ | 1041 'conditions': [ |
1042 ['component=="shared_library"', { | 1042 ['component=="shared_library"', { |
1043 'win_use_allocator_shim%': 0, | 1043 'win_use_allocator_shim%': 0, |
1044 }], | 1044 }], |
| 1045 ['"<(GENERATOR)"=="ninja"', { |
| 1046 # Only enabled by default for ninja because it's buggy in VS. |
| 1047 'incremental_chrome_dll%': 1, |
| 1048 }], |
1045 # Whether to use multiple cores to compile with visual studio. This is | 1049 # Whether to use multiple cores to compile with visual studio. This is |
1046 # optional because it sometimes causes corruption on VS 2005. | 1050 # optional because it sometimes causes corruption on VS 2005. |
1047 # It is on by default on VS 2008 and off on VS 2005. | 1051 # It is on by default on VS 2008 and off on VS 2005. |
1048 ['MSVS_VERSION=="2005"', { | 1052 ['MSVS_VERSION=="2005"', { |
1049 'msvs_multi_core_compile%': 0, | 1053 'msvs_multi_core_compile%': 0, |
1050 },{ | 1054 },{ |
1051 'msvs_multi_core_compile%': 1, | 1055 'msvs_multi_core_compile%': 1, |
1052 }], | 1056 }], |
1053 # Don't do incremental linking for large modules on 32-bit. | 1057 # Don't do incremental linking for large modules on 32-bit. |
1054 ['MSVS_OS_BITS==32', { | 1058 ['MSVS_OS_BITS==32', { |
(...skipping 2319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3374 # settings in target dicts. SYMROOT is a special case, because many other | 3378 # settings in target dicts. SYMROOT is a special case, because many other |
3375 # Xcode variables depend on it, including variables such as | 3379 # Xcode variables depend on it, including variables such as |
3376 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3380 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3377 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3381 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3378 # files to appear (when present) in the UI as actual files and not red | 3382 # files to appear (when present) in the UI as actual files and not red |
3379 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3383 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3380 # and therefore SYMROOT, needs to be set at the project level. | 3384 # and therefore SYMROOT, needs to be set at the project level. |
3381 'SYMROOT': '<(DEPTH)/xcodebuild', | 3385 'SYMROOT': '<(DEPTH)/xcodebuild', |
3382 }, | 3386 }, |
3383 } | 3387 } |
OLD | NEW |