| 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 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 }], | 1896 }], |
| 1897 ['component=="shared_library"', { | 1897 ['component=="shared_library"', { |
| 1898 'win_use_allocator_shim%': 0, | 1898 'win_use_allocator_shim%': 0, |
| 1899 },{ | 1899 },{ |
| 1900 # Turn on multiple dll by default on Windows when in static_library. | 1900 # Turn on multiple dll by default on Windows when in static_library. |
| 1901 'chrome_multiple_dll%': 1, | 1901 'chrome_multiple_dll%': 1, |
| 1902 }], | 1902 }], |
| 1903 ['asan==1', { | 1903 ['asan==1', { |
| 1904 'win_use_allocator_shim%': 0, | 1904 'win_use_allocator_shim%': 0, |
| 1905 }], | 1905 }], |
| 1906 ['buildtype!="Official"', { | 1906 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { |
| 1907 # Not enabled in Official because it adds padding to builds. | 1907 # Only enabled by default for ninja because it's buggy in VS. |
| 1908 # Enabled for both shared_library and static_library on an | 1908 # Not enabled for component=static_library because some targets |
| 1909 # experimental basis to see if it improves windows cycle times, | 1909 # are too large and the toolchain fails due to the size of the |
| 1910 # see http://crbug.com/404809. | 1910 # .obj files. |
| 1911 'incremental_chrome_dll%': 1, | 1911 'incremental_chrome_dll%': 1, |
| 1912 }], | 1912 }], |
| 1913 # Don't do incremental linking for large modules on 32-bit or when | 1913 # Don't do incremental linking for large modules on 32-bit or when |
| 1914 # component=static_library as the toolchain fails due to the size of | 1914 # component=static_library as the toolchain fails due to the size of |
| 1915 # the .ilk files. | 1915 # the .ilk files. |
| 1916 ['MSVS_OS_BITS==32 or component=="static_library"', { | 1916 ['MSVS_OS_BITS==32 or component=="static_library"', { |
| 1917 'msvs_large_module_debug_link_mode%': '1', # No | 1917 'msvs_large_module_debug_link_mode%': '1', # No |
| 1918 },{ | 1918 },{ |
| 1919 'msvs_large_module_debug_link_mode%': '2', # Yes | 1919 'msvs_large_module_debug_link_mode%': '2', # Yes |
| 1920 }], | 1920 }], |
| (...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3312 # LinkIncremental is a tri-state boolean, where 0 means default | 3312 # LinkIncremental is a tri-state boolean, where 0 means default |
| 3313 # (i.e., inherit from parent solution), 1 means false, and | 3313 # (i.e., inherit from parent solution), 1 means false, and |
| 3314 # 2 means true. | 3314 # 2 means true. |
| 3315 'LinkIncremental': '1', | 3315 'LinkIncremental': '1', |
| 3316 # This corresponds to the /PROFILE flag which ensures the PDB | 3316 # This corresponds to the /PROFILE flag which ensures the PDB |
| 3317 # file contains FIXUP information (growing the PDB file by about | 3317 # file contains FIXUP information (growing the PDB file by about |
| 3318 # 5%) but does not otherwise alter the output binary. This | 3318 # 5%) but does not otherwise alter the output binary. This |
| 3319 # information is used by the Syzygy optimization tool when | 3319 # information is used by the Syzygy optimization tool when |
| 3320 # decomposing the release image. | 3320 # decomposing the release image. |
| 3321 'Profile': 'true', | 3321 'Profile': 'true', |
| 3322 | |
| 3323 'conditions': [ | |
| 3324 ['incremental_chrome_dll', { | |
| 3325 # During bring-up of Release incremental, have the linker emit | |
| 3326 # a one line diagnostic describing why incremental linking | |
| 3327 # failed, when it does. http://crbug.com/404809. | |
| 3328 'AdditionalOptions': [ | |
| 3329 '/verbose:incr', | |
| 3330 ], | |
| 3331 }], | |
| 3332 ], | |
| 3333 }, | 3322 }, |
| 3334 }, | 3323 }, |
| 3335 'conditions': [ | 3324 'conditions': [ |
| 3336 ['msvs_use_common_release', { | 3325 ['msvs_use_common_release', { |
| 3337 'includes': ['release.gypi'], | 3326 'includes': ['release.gypi'], |
| 3338 }], | 3327 }], |
| 3339 ['release_valgrind_build==0 and tsan==0', { | 3328 ['release_valgrind_build==0 and tsan==0', { |
| 3340 'defines': [ | 3329 'defines': [ |
| 3341 'NVALGRIND', | 3330 'NVALGRIND', |
| 3342 'DYNAMIC_ANNOTATIONS_ENABLED=0', | 3331 'DYNAMIC_ANNOTATIONS_ENABLED=0', |
| (...skipping 2373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5716 # settings in target dicts. SYMROOT is a special case, because many other | 5705 # settings in target dicts. SYMROOT is a special case, because many other |
| 5717 # Xcode variables depend on it, including variables such as | 5706 # Xcode variables depend on it, including variables such as |
| 5718 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5707 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5719 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5708 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5720 # files to appear (when present) in the UI as actual files and not red | 5709 # files to appear (when present) in the UI as actual files and not red |
| 5721 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5710 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5722 # and therefore SYMROOT, needs to be set at the project level. | 5711 # and therefore SYMROOT, needs to be set at the project level. |
| 5723 'SYMROOT': '<(DEPTH)/xcodebuild', | 5712 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5724 }, | 5713 }, |
| 5725 } | 5714 } |
| OLD | NEW |