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 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 'incremental_chrome_dll%': 1, | 1584 'incremental_chrome_dll%': 1, |
1585 }], | 1585 }], |
1586 # Don't do incremental linking for large modules on 32-bit or when | 1586 # Don't do incremental linking for large modules on 32-bit or when |
1587 # component=static_library as the toolchain fails due to the size of | 1587 # component=static_library as the toolchain fails due to the size of |
1588 # the .ilk files. | 1588 # the .ilk files. |
1589 ['MSVS_OS_BITS==32 or component=="static_library"', { | 1589 ['MSVS_OS_BITS==32 or component=="static_library"', { |
1590 'msvs_large_module_debug_link_mode%': '1', # No | 1590 'msvs_large_module_debug_link_mode%': '1', # No |
1591 },{ | 1591 },{ |
1592 'msvs_large_module_debug_link_mode%': '2', # Yes | 1592 'msvs_large_module_debug_link_mode%': '2', # Yes |
1593 }], | 1593 }], |
1594 ['MSVS_VERSION=="2012e" or MSVS_VERSION=="2010e"', { | 1594 ['MSVS_VERSION=="2013e" or MSVS_VERSION=="2012e" or MSVS_VERSION=="201
0e"', { |
1595 'msvs_express%': 1, | 1595 'msvs_express%': 1, |
1596 'secure_atl%': 0, | 1596 'secure_atl%': 0, |
1597 },{ | 1597 },{ |
1598 'msvs_express%': 0, | 1598 'msvs_express%': 0, |
1599 'secure_atl%': 1, | 1599 'secure_atl%': 1, |
1600 }], | 1600 }], |
1601 ], | 1601 ], |
1602 'nacl_win64_defines': [ | 1602 'nacl_win64_defines': [ |
1603 # This flag is used to minimize dependencies when building | 1603 # This flag is used to minimize dependencies when building |
1604 # Native Client loader for 64-bit Windows. | 1604 # Native Client loader for 64-bit Windows. |
(...skipping 2919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4524 # - warning LNK4078: multiple 'ATL' sections found with | 4524 # - warning LNK4078: multiple 'ATL' sections found with |
4525 # different attributes | 4525 # different attributes |
4526 'AdditionalOptions': ['/ignore:4254', '/ignore:4078'], | 4526 'AdditionalOptions': ['/ignore:4254', '/ignore:4078'], |
4527 }, | 4527 }, |
4528 }, | 4528 }, |
4529 'msvs_system_include_dirs': [ | 4529 'msvs_system_include_dirs': [ |
4530 '<(windows_driver_kit_path)/inc/atl71', | 4530 '<(windows_driver_kit_path)/inc/atl71', |
4531 '<(windows_driver_kit_path)/inc/mfc42', | 4531 '<(windows_driver_kit_path)/inc/mfc42', |
4532 ], | 4532 ], |
4533 'target_conditions': [ | 4533 'target_conditions': [ |
4534 ['chromium_code', { | 4534 ['chromium_code and MSVS_VERSION=="2010e"', { |
4535 # Workaround for intsafe in 2010 Express + WDK. | 4535 # Workaround for intsafe in 2010 Express + WDK. |
4536 # ATL code uses intsafe.h and both intsafe.h and stdint.h | 4536 # ATL code uses intsafe.h and both intsafe.h and stdint.h |
4537 # define INT8_MIN et al. | 4537 # define INT8_MIN et al. |
4538 # We can't use this workaround in third_party code because | 4538 # We can't use this workaround in third_party code because |
4539 # it has various levels of intolerance for including stdint.h. | 4539 # it has various levels of intolerance for including stdint.h. |
| 4540 # This is not necessary in 2013e, and should be removed once |
| 4541 # mainline is switched: http://crbug.com/340358. |
4540 'msvs_system_include_dirs': [ | 4542 'msvs_system_include_dirs': [ |
4541 '<(DEPTH)/build', | 4543 '<(DEPTH)/build', |
4542 ], | 4544 ], |
4543 'msvs_settings': { | 4545 'msvs_settings': { |
4544 'VCCLCompilerTool': { | 4546 'VCCLCompilerTool': { |
4545 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ], | 4547 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ], |
4546 }, | 4548 }, |
4547 }, | 4549 }, |
4548 }], | 4550 }], |
4549 ], | 4551 ], |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4880 # settings in target dicts. SYMROOT is a special case, because many other | 4882 # settings in target dicts. SYMROOT is a special case, because many other |
4881 # Xcode variables depend on it, including variables such as | 4883 # Xcode variables depend on it, including variables such as |
4882 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4884 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4883 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4885 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4884 # files to appear (when present) in the UI as actual files and not red | 4886 # files to appear (when present) in the UI as actual files and not red |
4885 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4887 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4886 # and therefore SYMROOT, needs to be set at the project level. | 4888 # and therefore SYMROOT, needs to be set at the project level. |
4887 'SYMROOT': '<(DEPTH)/xcodebuild', | 4889 'SYMROOT': '<(DEPTH)/xcodebuild', |
4888 }, | 4890 }, |
4889 } | 4891 } |
OLD | NEW |