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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 'asan_field_padding%': 0, | 480 'asan_field_padding%': 0, |
481 | 481 |
482 # Enable Chromium overrides of the default configurations for various | 482 # Enable Chromium overrides of the default configurations for various |
483 # dynamic tools (like ASan). | 483 # dynamic tools (like ASan). |
484 'use_sanitizer_options%': 0, | 484 'use_sanitizer_options%': 0, |
485 | 485 |
486 # Enable building with SyzyAsan. | 486 # Enable building with SyzyAsan. |
487 # See https://github.com/google/syzygy/wiki/SyzyASanHowTo | 487 # See https://github.com/google/syzygy/wiki/SyzyASanHowTo |
488 'syzyasan%': 0, | 488 'syzyasan%': 0, |
489 | 489 |
490 # Enable crash reporting via Kasko. | |
491 'kasko%': 0, | |
492 | |
493 # Enable hang reports in Kasko. Requires Kasko to be enabled. | |
494 'kasko_hang_reports%': 0, | |
495 | |
496 # Enable building with LSan (Clang's -fsanitize=leak option). | 490 # Enable building with LSan (Clang's -fsanitize=leak option). |
497 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1 | 491 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1 |
498 # See https://sites.google.com/a/chromium.org/dev/developers/testing/leaks
anitizer | 492 # See https://sites.google.com/a/chromium.org/dev/developers/testing/leaks
anitizer |
499 'lsan%': 0, | 493 'lsan%': 0, |
500 | 494 |
501 # Enable building with TSan (Clang's -fsanitize=thread option). | 495 # Enable building with TSan (Clang's -fsanitize=thread option). |
502 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1 | 496 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1 |
503 # See http://clang.llvm.org/docs/ThreadSanitizer.html | 497 # See http://clang.llvm.org/docs/ThreadSanitizer.html |
504 'tsan%': 0, | 498 'tsan%': 0, |
505 'tsan_blacklist%': '<(PRODUCT_DIR)/../../tools/memory/tsan_v2/ignores.txt'
, | 499 'tsan_blacklist%': '<(PRODUCT_DIR)/../../tools/memory/tsan_v2/ignores.txt'
, |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 1043 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
1050 # (it disables debug info for fastest compilation - only for use | 1044 # (it disables debug info for fastest compilation - only for use |
1051 # on compile-only bots). | 1045 # on compile-only bots). |
1052 'fastbuild%': 0, | 1046 'fastbuild%': 0, |
1053 }, { | 1047 }, { |
1054 # With instrumentation enabled, debug info puts libchrome.so over 4gb, | 1048 # With instrumentation enabled, debug info puts libchrome.so over 4gb, |
1055 # which causes the linker to produce an invalid ELF. | 1049 # which causes the linker to produce an invalid ELF. |
1056 # http://crbug.com/574476 | 1050 # http://crbug.com/574476 |
1057 'fastbuild%': 2, | 1051 'fastbuild%': 2, |
1058 }], | 1052 }], |
| 1053 |
| 1054 # Enable crash reporting via Kasko. |
| 1055 # TODO(pmonette): Remove browser hang reports within a day (2/19/2016). |
| 1056 ['OS=="win" and target_arch=="ia32" and branding=="Chrome"', { |
| 1057 'kasko%': 1, |
| 1058 }, { |
| 1059 'kasko%': 0, |
| 1060 }], |
1059 ], | 1061 ], |
1060 | 1062 |
| 1063 # Enable hang reports in Kasko. Requires Kasko to be enabled. |
| 1064 'kasko_hang_reports%': 1, |
| 1065 |
1061 # Setting this to '0' will cause V8's startup snapshot to be | 1066 # Setting this to '0' will cause V8's startup snapshot to be |
1062 # embedded in the binary instead of being a external files. | 1067 # embedded in the binary instead of being a external files. |
1063 'v8_use_external_startup_data%': 1, | 1068 'v8_use_external_startup_data%': 1, |
1064 | 1069 |
1065 # Set this to 1 to enable use of concatenated impulse responses | 1070 # Set this to 1 to enable use of concatenated impulse responses |
1066 # for the HRTF panner in WebAudio. | 1071 # for the HRTF panner in WebAudio. |
1067 'use_concatenated_impulse_responses': 1, | 1072 'use_concatenated_impulse_responses': 1, |
1068 | 1073 |
1069 # You can set the variable 'use_official_google_api_keys' to 1 | 1074 # You can set the variable 'use_official_google_api_keys' to 1 |
1070 # to use the Google-internal file containing official API keys | 1075 # to use the Google-internal file containing official API keys |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2000 }], | 2005 }], |
2001 # The AddressSanitizer build should be a console program as it prints | 2006 # The AddressSanitizer build should be a console program as it prints |
2002 # out stuff on stderr. | 2007 # out stuff on stderr. |
2003 ['asan==1', { | 2008 ['asan==1', { |
2004 'win_console_app%': 1, | 2009 'win_console_app%': 1, |
2005 }, { | 2010 }, { |
2006 'win_console_app%': 0, | 2011 'win_console_app%': 0, |
2007 }], | 2012 }], |
2008 ['syzyasan==1', { | 2013 ['syzyasan==1', { |
2009 'kasko%': 1, | 2014 'kasko%': 1, |
| 2015 # Disable hang reports for SyzyASAN builds. |
| 2016 'kasko_hang_reports': 0, |
2010 }], | 2017 }], |
2011 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { | 2018 ['component=="shared_library" and "<(GENERATOR)"=="ninja"', { |
2012 # Only enabled by default for ninja because it's buggy in VS. | 2019 # Only enabled by default for ninja because it's buggy in VS. |
2013 # Not enabled for component=static_library because some targets | 2020 # Not enabled for component=static_library because some targets |
2014 # are too large and the toolchain fails due to the size of the | 2021 # are too large and the toolchain fails due to the size of the |
2015 # .obj files. | 2022 # .obj files. |
2016 'incremental_chrome_dll%': 1, | 2023 'incremental_chrome_dll%': 1, |
2017 }], | 2024 }], |
2018 # Don't do incremental linking for large modules on 32-bit or when | 2025 # Don't do incremental linking for large modules on 32-bit or when |
2019 # component=static_library as the toolchain fails due to the size of | 2026 # component=static_library as the toolchain fails due to the size of |
(...skipping 4343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6363 # settings in target dicts. SYMROOT is a special case, because many other | 6370 # settings in target dicts. SYMROOT is a special case, because many other |
6364 # Xcode variables depend on it, including variables such as | 6371 # Xcode variables depend on it, including variables such as |
6365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6372 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6373 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6367 # files to appear (when present) in the UI as actual files and not red | 6374 # files to appear (when present) in the UI as actual files and not red |
6368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6375 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6369 # and therefore SYMROOT, needs to be set at the project level. | 6376 # and therefore SYMROOT, needs to be set at the project level. |
6370 'SYMROOT': '<(DEPTH)/xcodebuild', | 6377 'SYMROOT': '<(DEPTH)/xcodebuild', |
6371 }, | 6378 }, |
6372 } | 6379 } |
OLD | NEW |