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 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 'win_debug_InlineFunctionExpansion%': '', # empty = default, 0 = off, | 1779 'win_debug_InlineFunctionExpansion%': '', # empty = default, 0 = off, |
1780 'win_release_InlineFunctionExpansion%': '2', # 1 = only __inline, 2 = max | 1780 'win_release_InlineFunctionExpansion%': '2', # 1 = only __inline, 2 = max |
1781 | 1781 |
1782 # VS inserts quite a lot of extra checks to algorithms like | 1782 # VS inserts quite a lot of extra checks to algorithms like |
1783 # std::partial_sort in Debug build which make them O(N^2) | 1783 # std::partial_sort in Debug build which make them O(N^2) |
1784 # instead of O(N*logN). This is particularly slow under memory | 1784 # instead of O(N*logN). This is particularly slow under memory |
1785 # tools like ThreadSanitizer so we want it to be disablable. | 1785 # tools like ThreadSanitizer so we want it to be disablable. |
1786 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx | 1786 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx |
1787 'win_debug_disable_iterator_debugging%': '0', | 1787 'win_debug_disable_iterator_debugging%': '0', |
1788 | 1788 |
| 1789 # An application manifest fragment to declare compatibility settings for |
| 1790 # 'executable' targets. Ignored in other target type. |
| 1791 'win_exe_compatibility_manifest%': |
| 1792 '<(DEPTH)\\build\\win\\compatibility.manifest', |
| 1793 |
| 1794 # Set to 1 to generate external manifest instead of embedding it for |
| 1795 # 'executable' target. Does nothing for other target type. This flag is |
| 1796 # used to make mini_installer compatible with the component build. |
| 1797 # See http://crbug.com/127233 |
| 1798 'win_use_external_manifest%': 0, |
| 1799 |
1789 'release_extra_cflags%': '', | 1800 'release_extra_cflags%': '', |
1790 'debug_extra_cflags%': '', | 1801 'debug_extra_cflags%': '', |
1791 | 1802 |
1792 'release_valgrind_build%': '<(release_valgrind_build)', | 1803 'release_valgrind_build%': '<(release_valgrind_build)', |
1793 | 1804 |
1794 # the non-qualified versions are widely assumed to be *nix-only | 1805 # the non-qualified versions are widely assumed to be *nix-only |
1795 'win_release_extra_cflags%': '', | 1806 'win_release_extra_cflags%': '', |
1796 'win_debug_extra_cflags%': '', | 1807 'win_debug_extra_cflags%': '', |
1797 | 1808 |
1798 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 | 1809 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 |
(...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4454 'InterfaceIdentifierFileName': '$(InputName)_i.c', | 4465 'InterfaceIdentifierFileName': '$(InputName)_i.c', |
4455 'ProxyFileName': '$(InputName)_p.c', | 4466 'ProxyFileName': '$(InputName)_p.c', |
4456 }, | 4467 }, |
4457 'VCResourceCompilerTool': { | 4468 'VCResourceCompilerTool': { |
4458 'Culture' : '1033', | 4469 'Culture' : '1033', |
4459 'AdditionalIncludeDirectories': [ | 4470 'AdditionalIncludeDirectories': [ |
4460 '<(DEPTH)', | 4471 '<(DEPTH)', |
4461 '<(SHARED_INTERMEDIATE_DIR)', | 4472 '<(SHARED_INTERMEDIATE_DIR)', |
4462 ], | 4473 ], |
4463 }, | 4474 }, |
| 4475 'target_conditions': [ |
| 4476 ['_type=="executable" and ">(win_exe_compatibility_manifest)"!=""',
{ |
| 4477 'VCManifestTool': { |
| 4478 'AdditionalManifestFiles': [ |
| 4479 '>(win_exe_compatibility_manifest)', |
| 4480 ], |
| 4481 }, |
| 4482 }], |
| 4483 ['_type=="executable" and >(win_use_external_manifest)==0', { |
| 4484 'VCManifestTool': { |
| 4485 'EmbedManifest': 'true', |
| 4486 } |
| 4487 }], |
| 4488 ['_type=="executable" and >(win_use_external_manifest)==1', { |
| 4489 'VCManifestTool': { |
| 4490 'EmbedManifest': 'false', |
| 4491 } |
| 4492 }], |
| 4493 ], |
4464 }, | 4494 }, |
4465 }, | 4495 }, |
4466 }], | 4496 }], |
4467 ['disable_nacl==1', { | 4497 ['disable_nacl==1', { |
4468 'target_defaults': { | 4498 'target_defaults': { |
4469 'defines': [ | 4499 'defines': [ |
4470 'DISABLE_NACL', | 4500 'DISABLE_NACL', |
4471 ], | 4501 ], |
4472 }, | 4502 }, |
4473 }], | 4503 }], |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4638 # settings in target dicts. SYMROOT is a special case, because many other | 4668 # settings in target dicts. SYMROOT is a special case, because many other |
4639 # Xcode variables depend on it, including variables such as | 4669 # Xcode variables depend on it, including variables such as |
4640 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4670 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4641 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4671 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4642 # files to appear (when present) in the UI as actual files and not red | 4672 # files to appear (when present) in the UI as actual files and not red |
4643 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4673 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4644 # and therefore SYMROOT, needs to be set at the project level. | 4674 # and therefore SYMROOT, needs to be set at the project level. |
4645 'SYMROOT': '<(DEPTH)/xcodebuild', | 4675 'SYMROOT': '<(DEPTH)/xcodebuild', |
4646 }, | 4676 }, |
4647 } | 4677 } |
OLD | NEW |