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 4833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4844 '_WIN32_WINNT=0x0602', | 4844 '_WIN32_WINNT=0x0602', |
4845 'WINVER=0x0602', | 4845 'WINVER=0x0602', |
4846 'WIN32', | 4846 'WIN32', |
4847 '_WINDOWS', | 4847 '_WINDOWS', |
4848 'NOMINMAX', | 4848 'NOMINMAX', |
4849 'PSAPI_VERSION=1', | 4849 'PSAPI_VERSION=1', |
4850 '_CRT_RAND_S', | 4850 '_CRT_RAND_S', |
4851 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 4851 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
4852 'WIN32_LEAN_AND_MEAN', | 4852 'WIN32_LEAN_AND_MEAN', |
4853 '_ATL_NO_OPENGL', | 4853 '_ATL_NO_OPENGL', |
4854 '_HAS_EXCEPTIONS=0', | |
4855 ], | 4854 ], |
4856 'conditions': [ | 4855 'conditions': [ |
4857 ['buildtype=="Official"', { | 4856 ['buildtype=="Official"', { |
4858 # In official builds, targets can self-select an optimization | 4857 # In official builds, targets can self-select an optimization |
4859 # level by defining a variable named 'optimize', and setting it | 4858 # level by defining a variable named 'optimize', and setting it |
4860 # to one of | 4859 # to one of |
4861 # - "size", optimizes for minimal code size - the default. | 4860 # - "size", optimizes for minimal code size - the default. |
4862 # - "speed", optimizes for speed over code size. | 4861 # - "speed", optimizes for speed over code size. |
4863 # - "max", whole program optimization and link-time code | 4862 # - "max", whole program optimization and link-time code |
4864 # generation. This is very expensive and should be used | 4863 # generation. This is very expensive and should be used |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4904 'FavorSizeOrSpeed': '1', | 4903 'FavorSizeOrSpeed': '1', |
4905 # This implies link time code generation. | 4904 # This implies link time code generation. |
4906 'WholeProgramOptimization': 'true', | 4905 'WholeProgramOptimization': 'true', |
4907 }, | 4906 }, |
4908 }, | 4907 }, |
4909 }, | 4908 }, |
4910 ], | 4909 ], |
4911 ], | 4910 ], |
4912 }, | 4911 }, |
4913 ], | 4912 ], |
| 4913 ['component=="static_library"', { |
| 4914 'defines': [ |
| 4915 '_HAS_EXCEPTIONS=0', |
| 4916 ], |
| 4917 }], |
4914 ['secure_atl', { | 4918 ['secure_atl', { |
4915 'defines': [ | 4919 'defines': [ |
4916 '_SECURE_ATL', | 4920 '_SECURE_ATL', |
4917 ], | 4921 ], |
4918 }], | 4922 }], |
4919 ['msvs_express', { | 4923 ['msvs_express', { |
4920 'configurations': { | 4924 'configurations': { |
4921 'x86_Base': { | 4925 'x86_Base': { |
4922 'msvs_settings': { | 4926 'msvs_settings': { |
4923 'VCLinkerTool': { | 4927 'VCLinkerTool': { |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5347 # settings in target dicts. SYMROOT is a special case, because many other | 5351 # settings in target dicts. SYMROOT is a special case, because many other |
5348 # Xcode variables depend on it, including variables such as | 5352 # Xcode variables depend on it, including variables such as |
5349 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5353 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5350 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5354 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5351 # files to appear (when present) in the UI as actual files and not red | 5355 # files to appear (when present) in the UI as actual files and not red |
5352 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5356 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5353 # and therefore SYMROOT, needs to be set at the project level. | 5357 # and therefore SYMROOT, needs to be set at the project level. |
5354 'SYMROOT': '<(DEPTH)/xcodebuild', | 5358 'SYMROOT': '<(DEPTH)/xcodebuild', |
5355 }, | 5359 }, |
5356 } | 5360 } |
OLD | NEW |