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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 1058 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
1059 # (it disables debug info for fastest compilation - only for use | 1059 # (it disables debug info for fastest compilation - only for use |
1060 # on compile-only bots). | 1060 # on compile-only bots). |
1061 'fastbuild%': 0, | 1061 'fastbuild%': 0, |
1062 }, { | 1062 }, { |
1063 # With instrumentation enabled, debug info puts libchrome.so over 4gb, | 1063 # With instrumentation enabled, debug info puts libchrome.so over 4gb, |
1064 # which causes the linker to produce an invalid ELF. | 1064 # which causes the linker to produce an invalid ELF. |
1065 # http://crbug.com/574476 | 1065 # http://crbug.com/574476 |
1066 'fastbuild%': 2, | 1066 'fastbuild%': 2, |
1067 }], | 1067 }], |
1068 | 1068 # Enable hang report capture. Capture can only be enabled for 32bit |
1069 # Enable crash reporting via Kasko. | 1069 # Windows. |
1070 ['OS=="win" and target_arch=="ia32" and branding=="Chrome"', { | 1070 ['OS=="win" and target_arch=="ia32" and branding=="Chrome"', { |
1071 # This needs to be enabled with kasko_hang_reports. | 1071 # Enable hang reports from the watcher process. |
1072 'kasko%': 0, | 1072 'kasko_hang_reports%': 0, |
| 1073 # Enable failed rendez-vous reports. |
| 1074 'kasko_failed_rdv_reports%': 0, |
1073 }, { | 1075 }, { |
1074 'kasko%': 0, | 1076 # Enable hang reports from the watcher process. |
| 1077 'kasko_hang_reports%': 0, |
| 1078 # Enable failed rendez-vous reports. |
| 1079 'kasko_failed_rdv_reports%': 0, |
1075 }], | 1080 }], |
1076 ], | 1081 ], |
1077 | 1082 |
1078 # Enable hang reports in Kasko. Requires Kasko to be enabled. | 1083 # Kasko reporting is disabled by default, but may get enabled below. |
1079 'kasko_hang_reports%': 0, | 1084 'kasko%': 0, |
1080 | 1085 |
1081 # Setting this to '0' will cause V8's startup snapshot to be | 1086 # Setting this to '0' will cause V8's startup snapshot to be |
1082 # embedded in the binary instead of being a external files. | 1087 # embedded in the binary instead of being a external files. |
1083 'v8_use_external_startup_data%': 1, | 1088 'v8_use_external_startup_data%': 1, |
1084 | 1089 |
1085 # Set this to 1 to enable use of concatenated impulse responses | 1090 # Set this to 1 to enable use of concatenated impulse responses |
1086 # for the HRTF panner in WebAudio. | 1091 # for the HRTF panner in WebAudio. |
1087 'use_concatenated_impulse_responses': 1, | 1092 'use_concatenated_impulse_responses': 1, |
1088 | 1093 |
1089 # You can set the variable 'use_official_google_api_keys' to 1 | 1094 # You can set the variable 'use_official_google_api_keys' to 1 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 1226 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
1222 'mac_want_real_dsym%': '<(mac_want_real_dsym)', | 1227 'mac_want_real_dsym%': '<(mac_want_real_dsym)', |
1223 'asan%': '<(asan)', | 1228 'asan%': '<(asan)', |
1224 'asan_blacklist%': '<(asan_blacklist)', | 1229 'asan_blacklist%': '<(asan_blacklist)', |
1225 'sanitizer_coverage%': '<(sanitizer_coverage)', | 1230 'sanitizer_coverage%': '<(sanitizer_coverage)', |
1226 'asan_field_padding%': '<(asan_field_padding)', | 1231 'asan_field_padding%': '<(asan_field_padding)', |
1227 'use_sanitizer_options%': '<(use_sanitizer_options)', | 1232 'use_sanitizer_options%': '<(use_sanitizer_options)', |
1228 'syzyasan%': '<(syzyasan)', | 1233 'syzyasan%': '<(syzyasan)', |
1229 'kasko%': '<(kasko)', | 1234 'kasko%': '<(kasko)', |
1230 'kasko_hang_reports%': '<(kasko_hang_reports)', | 1235 'kasko_hang_reports%': '<(kasko_hang_reports)', |
| 1236 'kasko_failed_rdv_reports%': '<(kasko_failed_rdv_reports)', |
1231 'syzygy_optimize%': '<(syzygy_optimize)', | 1237 'syzygy_optimize%': '<(syzygy_optimize)', |
1232 'lsan%': '<(lsan)', | 1238 'lsan%': '<(lsan)', |
1233 'msan%': '<(msan)', | 1239 'msan%': '<(msan)', |
1234 'msan_blacklist%': '<(msan_blacklist)', | 1240 'msan_blacklist%': '<(msan_blacklist)', |
1235 'msan_track_origins%': '<(msan_track_origins)', | 1241 'msan_track_origins%': '<(msan_track_origins)', |
1236 'tsan%': '<(tsan)', | 1242 'tsan%': '<(tsan)', |
1237 'tsan_blacklist%': '<(tsan_blacklist)', | 1243 'tsan_blacklist%': '<(tsan_blacklist)', |
1238 'ubsan%': '<(ubsan)', | 1244 'ubsan%': '<(ubsan)', |
1239 'ubsan_blacklist%': '<(ubsan_blacklist)', | 1245 'ubsan_blacklist%': '<(ubsan_blacklist)', |
1240 'ubsan_vptr_blacklist%': '<(ubsan_vptr_blacklist)', | 1246 'ubsan_vptr_blacklist%': '<(ubsan_vptr_blacklist)', |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2016 ['asan==1 or syzyasan==1', { | 2022 ['asan==1 or syzyasan==1', { |
2017 'win_use_allocator_shim%': 0, | 2023 'win_use_allocator_shim%': 0, |
2018 }], | 2024 }], |
2019 # The AddressSanitizer build should be a console program as it prints | 2025 # The AddressSanitizer build should be a console program as it prints |
2020 # out stuff on stderr. | 2026 # out stuff on stderr. |
2021 ['asan==1', { | 2027 ['asan==1', { |
2022 'win_console_app%': 1, | 2028 'win_console_app%': 1, |
2023 }, { | 2029 }, { |
2024 'win_console_app%': 0, | 2030 'win_console_app%': 0, |
2025 }], | 2031 }], |
| 2032 # Disable hang reporting for syzyasan builds. |
2026 ['syzyasan==1', { | 2033 ['syzyasan==1', { |
2027 'kasko%': 1, | 2034 # Note: override. |
2028 # Disable hang reports for SyzyASAN builds. | |
2029 'kasko_hang_reports': 0, | 2035 'kasko_hang_reports': 0, |
| 2036 'kasko_failed_rdv_reports': 0, |
| 2037 }], |
| 2038 # Enable the Kasko reporter for syzyasan builds and hang reporting. |
| 2039 ['syzyasan==1 or kasko_hang_reports==1 or kasko_failed_rdv_reports==1'
, { |
| 2040 'kasko': 1, |
2030 }], | 2041 }], |
2031 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { | 2042 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { |
2032 # Only enabled by default for ninja because it's buggy in VS. | 2043 # Only enabled by default for ninja because it's buggy in VS. |
2033 # Not enabled for component=static_library because some targets | 2044 # Not enabled for component=static_library because some targets |
2034 # are too large and the toolchain fails due to the size of the | 2045 # are too large and the toolchain fails due to the size of the |
2035 # .obj files. | 2046 # .obj files. |
2036 'incremental_chrome_dll%': 1, | 2047 'incremental_chrome_dll%': 1, |
2037 }], | 2048 }], |
2038 # Don't do incremental linking for large modules on 32-bit or when | 2049 # Don't do incremental linking for large modules on 32-bit or when |
2039 # component=static_library as the toolchain fails due to the size of | 2050 # component=static_library as the toolchain fails due to the size of |
(...skipping 4325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6365 # settings in target dicts. SYMROOT is a special case, because many other | 6376 # settings in target dicts. SYMROOT is a special case, because many other |
6366 # Xcode variables depend on it, including variables such as | 6377 # Xcode variables depend on it, including variables such as |
6367 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6378 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6368 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6379 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6369 # files to appear (when present) in the UI as actual files and not red | 6380 # files to appear (when present) in the UI as actual files and not red |
6370 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6381 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6371 # and therefore SYMROOT, needs to be set at the project level. | 6382 # and therefore SYMROOT, needs to be set at the project level. |
6372 'SYMROOT': '<(DEPTH)/xcodebuild', | 6383 'SYMROOT': '<(DEPTH)/xcodebuild', |
6373 }, | 6384 }, |
6374 } | 6385 } |
OLD | NEW |