OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 # std::partial_sort in Debug build which make them O(N^2) | 875 # std::partial_sort in Debug build which make them O(N^2) |
876 # instead of O(N*logN). This is particularly slow under memory | 876 # instead of O(N*logN). This is particularly slow under memory |
877 # tools like ThreadSanitizer so we want it to be disablable. | 877 # tools like ThreadSanitizer so we want it to be disablable. |
878 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx | 878 # See http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx |
879 'win_debug_disable_iterator_debugging%': '0', | 879 'win_debug_disable_iterator_debugging%': '0', |
880 | 880 |
881 'release_extra_cflags%': '', | 881 'release_extra_cflags%': '', |
882 'debug_extra_cflags%': '', | 882 'debug_extra_cflags%': '', |
883 'release_valgrind_build%': 0, | 883 'release_valgrind_build%': 0, |
884 | 884 |
| 885 # Only used by Windows build for now. Can be used to build into a |
| 886 # differet output directory, e.g., a build_dir_prefix of VS2010_ would |
| 887 # output files in src/build/VS2010_{Debug,Release}. |
| 888 'build_dir_prefix%': '', |
| 889 |
885 'conditions': [ | 890 'conditions': [ |
886 ['OS=="win" and component=="shared_library"', { | 891 ['OS=="win" and component=="shared_library"', { |
887 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 892 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
888 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL) | 893 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL) |
889 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL) | 894 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL) |
890 }, { | 895 }, { |
891 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 896 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
892 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) | 897 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) |
893 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) | 898 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) |
894 }], | 899 }], |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] | 1230 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] |
1226 }], | 1231 }], |
1227 ['use_aura==0', { | 1232 ['use_aura==0', { |
1228 'sources/': [ ['exclude', '_aura\\.(h|cc)$'] ] | 1233 'sources/': [ ['exclude', '_aura\\.(h|cc)$'] ] |
1229 }], | 1234 }], |
1230 ], | 1235 ], |
1231 }], | 1236 }], |
1232 ], # target_conditions for 'target_defaults' | 1237 ], # target_conditions for 'target_defaults' |
1233 'default_configuration': 'Debug', | 1238 'default_configuration': 'Debug', |
1234 'configurations': { | 1239 'configurations': { |
1235 'variables' : { | |
1236 # Only used by Windows build for now. Can be used to build into a | |
1237 # differet output directory, e.g., a build_dir_prefix of VS2010_ would | |
1238 # output files in src/build/VS2010_{Debug,Release}. | |
1239 'build_dir_prefix%': '', | |
1240 }, | |
1241 # VCLinkerTool LinkIncremental values below: | 1240 # VCLinkerTool LinkIncremental values below: |
1242 # 0 == default | 1241 # 0 == default |
1243 # 1 == /INCREMENTAL:NO | 1242 # 1 == /INCREMENTAL:NO |
1244 # 2 == /INCREMENTAL | 1243 # 2 == /INCREMENTAL |
1245 # Debug links incremental, Release does not. | 1244 # Debug links incremental, Release does not. |
1246 # | 1245 # |
1247 # Abstract base configurations to cover common attributes. | 1246 # Abstract base configurations to cover common attributes. |
1248 # | 1247 # |
1249 'Common_Base': { | 1248 'Common_Base': { |
1250 'abstract': 1, | 1249 'abstract': 1, |
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2492 # settings in target dicts. SYMROOT is a special case, because many other | 2491 # settings in target dicts. SYMROOT is a special case, because many other |
2493 # Xcode variables depend on it, including variables such as | 2492 # Xcode variables depend on it, including variables such as |
2494 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2493 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2495 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2494 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2496 # files to appear (when present) in the UI as actual files and not red | 2495 # files to appear (when present) in the UI as actual files and not red |
2497 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2496 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2498 # and therefore SYMROOT, needs to be set at the project level. | 2497 # and therefore SYMROOT, needs to be set at the project level. |
2499 'SYMROOT': '<(DEPTH)/xcodebuild', | 2498 'SYMROOT': '<(DEPTH)/xcodebuild', |
2500 }, | 2499 }, |
2501 } | 2500 } |
OLD | NEW |