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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 1029 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
1030 # (it disables debug info for fastest compilation - only for use | 1030 # (it disables debug info for fastest compilation - only for use |
1031 # on compile-only bots). | 1031 # on compile-only bots). |
1032 'fastbuild%': 0, | 1032 'fastbuild%': 0, |
1033 }, { | 1033 }, { |
1034 # With instrumentation enabled, debug info puts libchrome.so over 4gb, | 1034 # With instrumentation enabled, debug info puts libchrome.so over 4gb, |
1035 # which causes the linker to produce an invalid ELF. | 1035 # which causes the linker to produce an invalid ELF. |
1036 # http://crbug.com/574476 | 1036 # http://crbug.com/574476 |
1037 'fastbuild%': 2, | 1037 'fastbuild%': 2, |
1038 }], | 1038 }], |
1039 # Enable hang report capture. Capture can only be enabled for 32bit | |
1040 # Windows. | |
1041 ['OS=="win" and target_arch=="ia32" and branding=="Chrome"', { | |
1042 # Enable hang reports from the watcher process. | |
1043 'kasko_hang_reports%': 0, | |
1044 # Enable failed rendez-vous reports. | |
1045 'kasko_failed_rdv_reports%': 0, | |
1046 }, { | |
1047 # Enable hang reports from the watcher process. | |
1048 'kasko_hang_reports%': 0, | |
1049 # Enable failed rendez-vous reports. | |
1050 'kasko_failed_rdv_reports%': 0, | |
1051 }], | |
1052 ], | 1039 ], |
1053 | 1040 |
1054 # Kasko reporting is disabled by default, but may get enabled below. | 1041 # Kasko reporting is disabled by default, but may get enabled below. |
1055 'kasko%': 0, | 1042 'kasko%': 0, |
1056 | 1043 |
1057 # Setting this to '0' will cause V8's startup snapshot to be | 1044 # Setting this to '0' will cause V8's startup snapshot to be |
1058 # embedded in the binary instead of being a external files. | 1045 # embedded in the binary instead of being a external files. |
1059 'v8_use_external_startup_data%': 1, | 1046 'v8_use_external_startup_data%': 1, |
1060 | 1047 |
1061 # Set this to 1 to enable use of concatenated impulse responses | 1048 # Set this to 1 to enable use of concatenated impulse responses |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 'notifications%': '<(notifications)', | 1183 'notifications%': '<(notifications)', |
1197 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 1184 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
1198 'mac_want_real_dsym%': '<(mac_want_real_dsym)', | 1185 'mac_want_real_dsym%': '<(mac_want_real_dsym)', |
1199 'asan%': '<(asan)', | 1186 'asan%': '<(asan)', |
1200 'asan_blacklist%': '<(asan_blacklist)', | 1187 'asan_blacklist%': '<(asan_blacklist)', |
1201 'sanitizer_coverage%': '<(sanitizer_coverage)', | 1188 'sanitizer_coverage%': '<(sanitizer_coverage)', |
1202 'asan_field_padding%': '<(asan_field_padding)', | 1189 'asan_field_padding%': '<(asan_field_padding)', |
1203 'use_sanitizer_options%': '<(use_sanitizer_options)', | 1190 'use_sanitizer_options%': '<(use_sanitizer_options)', |
1204 'syzyasan%': '<(syzyasan)', | 1191 'syzyasan%': '<(syzyasan)', |
1205 'kasko%': '<(kasko)', | 1192 'kasko%': '<(kasko)', |
1206 'kasko_hang_reports%': '<(kasko_hang_reports)', | |
1207 'kasko_failed_rdv_reports%': '<(kasko_failed_rdv_reports)', | |
1208 'syzygy_optimize%': '<(syzygy_optimize)', | 1193 'syzygy_optimize%': '<(syzygy_optimize)', |
1209 'lsan%': '<(lsan)', | 1194 'lsan%': '<(lsan)', |
1210 'msan%': '<(msan)', | 1195 'msan%': '<(msan)', |
1211 'msan_blacklist%': '<(msan_blacklist)', | 1196 'msan_blacklist%': '<(msan_blacklist)', |
1212 'msan_track_origins%': '<(msan_track_origins)', | 1197 'msan_track_origins%': '<(msan_track_origins)', |
1213 'tsan%': '<(tsan)', | 1198 'tsan%': '<(tsan)', |
1214 'tsan_blacklist%': '<(tsan_blacklist)', | 1199 'tsan_blacklist%': '<(tsan_blacklist)', |
1215 'ubsan%': '<(ubsan)', | 1200 'ubsan%': '<(ubsan)', |
1216 'ubsan_blacklist%': '<(ubsan_blacklist)', | 1201 'ubsan_blacklist%': '<(ubsan_blacklist)', |
1217 'ubsan_security%': '<(ubsan_security)', | 1202 'ubsan_security%': '<(ubsan_security)', |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 ['asan==1 or syzyasan==1', { | 1992 ['asan==1 or syzyasan==1', { |
2008 'win_use_allocator_shim%': 0, | 1993 'win_use_allocator_shim%': 0, |
2009 }], | 1994 }], |
2010 # The AddressSanitizer build should be a console program as it prints | 1995 # The AddressSanitizer build should be a console program as it prints |
2011 # out stuff on stderr. | 1996 # out stuff on stderr. |
2012 ['asan==1', { | 1997 ['asan==1', { |
2013 'win_console_app%': 1, | 1998 'win_console_app%': 1, |
2014 }, { | 1999 }, { |
2015 'win_console_app%': 0, | 2000 'win_console_app%': 0, |
2016 }], | 2001 }], |
2017 # Disable hang reporting for syzyasan builds. | 2002 # Enable the Kasko reporter for syzyasan builds. |
2018 ['syzyasan==1', { | 2003 ['syzyasan==1', { |
2019 # Note: override. | |
2020 'kasko_hang_reports': 0, | |
2021 'kasko_failed_rdv_reports': 0, | |
2022 }], | |
2023 # Enable the Kasko reporter for syzyasan builds and hang reporting. | |
2024 ['syzyasan==1 or kasko_hang_reports==1 or kasko_failed_rdv_reports==1'
, { | |
2025 'kasko': 1, | 2004 'kasko': 1, |
2026 }], | 2005 }], |
2027 ['component=="shared_library"', { | 2006 ['component=="shared_library"', { |
2028 # Not enabled for component=static_library because some targets | 2007 # Not enabled for component=static_library because some targets |
2029 # are too large and the toolchain fails due to the size of the | 2008 # are too large and the toolchain fails due to the size of the |
2030 # .obj files. | 2009 # .obj files. |
2031 'incremental_chrome_dll%': 1, | 2010 'incremental_chrome_dll%': 1, |
2032 }], | 2011 }], |
2033 # Don't do incremental linking for large modules on 32-bit or when | 2012 # Don't do incremental linking for large modules on 32-bit or when |
2034 # component=static_library as the toolchain fails due to the size of | 2013 # component=static_library as the toolchain fails due to the size of |
(...skipping 4310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6345 # settings in target dicts. SYMROOT is a special case, because many other | 6324 # settings in target dicts. SYMROOT is a special case, because many other |
6346 # Xcode variables depend on it, including variables such as | 6325 # Xcode variables depend on it, including variables such as |
6347 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6326 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6348 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6327 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6349 # files to appear (when present) in the UI as actual files and not red | 6328 # files to appear (when present) in the UI as actual files and not red |
6350 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6329 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6351 # and therefore SYMROOT, needs to be set at the project level. | 6330 # and therefore SYMROOT, needs to be set at the project level. |
6352 'SYMROOT': '<(DEPTH)/xcodebuild', | 6331 'SYMROOT': '<(DEPTH)/xcodebuild', |
6353 }, | 6332 }, |
6354 } | 6333 } |
OLD | NEW |