Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: build/common.gypi

Issue 327803005: Update the default GYP flags for sanitizer tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after
2023 ['enable_mdns==1 or OS=="mac"', { 2023 ['enable_mdns==1 or OS=="mac"', {
2024 'grit_defines': ['-D', 'enable_service_discovery'], 2024 'grit_defines': ['-D', 'enable_service_discovery'],
2025 'enable_service_discovery%': 1 2025 'enable_service_discovery%': 1
2026 }], 2026 }],
2027 ['clang_use_chrome_plugins==1 and OS!="win"', { 2027 ['clang_use_chrome_plugins==1 and OS!="win"', {
2028 'clang_chrome_plugins_flags': [ 2028 'clang_chrome_plugins_flags': [
2029 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 2029 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
2030 ], 2030 ],
2031 }], 2031 }],
2032 2032
2033 ['asan==1', { 2033 ['asan==1 or msan==1 or lsan==1 or tsan==1', {
2034 'clang%': 1, 2034 'clang%': 1,
2035 'use_allocator%': 'none', 2035 'use_allocator%': 'none',
2036 }], 2036 }],
2037 ['ubsan==1', { 2037 ['ubsan==1', {
2038 'clang%': 1, 2038 'clang%': 1,
2039 }], 2039 }],
2040 ['asan==1 and OS=="mac"', { 2040 ['asan==1 and OS=="mac"', {
2041 # TODO(glider): we do not strip ASan binaries until the dynamic ASan 2041 # TODO(glider): we do not strip ASan binaries until the dynamic ASan
2042 # runtime is fully adopted. See http://crbug.com/242503. 2042 # runtime is fully adopted. See http://crbug.com/242503.
2043 'mac_strip_release': 0, 2043 'mac_strip_release': 0,
2044 }], 2044 }],
2045 ['lsan==1', {
2046 'clang%': 1,
2047 }],
2048 ['tsan==1', { 2045 ['tsan==1', {
2049 'clang%': 1,
2050 'use_custom_libcxx%': 1, 2046 'use_custom_libcxx%': 1,
2051 }], 2047 }],
2052 ['msan==1', { 2048 ['msan==1', {
2053 'clang%': 1, 2049 'use_custom_libcxx%': 1,
2050 # Running the V8-generated code on an ARM simulator is a powerful hack
2051 # that allows the tool to see the memory accesses from JITted code.
Alexander Potapenko 2014/06/16 10:40:43 Is this required to avoid false positives? If so,
2052 'v8_target_arch': 'arm64',
2054 }], 2053 }],
2055 2054
2056 ['OS=="linux" and clang_type_profiler==1', { 2055 ['OS=="linux" and clang_type_profiler==1', {
2057 'clang%': 1, 2056 'clang%': 1,
2058 'clang_use_chrome_plugins%': 0, 2057 'clang_use_chrome_plugins%': 0,
2059 'conditions': [ 2058 'conditions': [
2060 ['host_arch=="x64"', { 2059 ['host_arch=="x64"', {
2061 'make_clang_dir%': 'third_party/llvm-allocated-type/Linux_x64', 2060 'make_clang_dir%': 'third_party/llvm-allocated-type/Linux_x64',
2062 }], 2061 }],
2063 ['host_arch=="ia32"', { 2062 ['host_arch=="ia32"', {
(...skipping 3365 matching lines...) Expand 10 before | Expand all | Expand 10 after
5429 # settings in target dicts. SYMROOT is a special case, because many other 5428 # settings in target dicts. SYMROOT is a special case, because many other
5430 # Xcode variables depend on it, including variables such as 5429 # Xcode variables depend on it, including variables such as
5431 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5430 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5432 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5431 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5433 # files to appear (when present) in the UI as actual files and not red 5432 # files to appear (when present) in the UI as actual files and not red
5434 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5433 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5435 # and therefore SYMROOT, needs to be set at the project level. 5434 # and therefore SYMROOT, needs to be set at the project level.
5436 'SYMROOT': '<(DEPTH)/xcodebuild', 5435 'SYMROOT': '<(DEPTH)/xcodebuild',
5437 }, 5436 },
5438 } 5437 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698