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

Side by Side Diff: build/standalone.gypi

Issue 1089393004: Let asan imply clang and use_allocator=none. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« 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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 'host_arch%': 'ia32', 59 'host_arch%': 'ia32',
60 }], 60 }],
61 ], 61 ],
62 }, 62 },
63 'host_arch%': '<(host_arch)', 63 'host_arch%': '<(host_arch)',
64 'target_arch%': '<(host_arch)', 64 'target_arch%': '<(host_arch)',
65 }, 65 },
66 'host_arch%': '<(host_arch)', 66 'host_arch%': '<(host_arch)',
67 'target_arch%': '<(target_arch)', 67 'target_arch%': '<(target_arch)',
68 'v8_target_arch%': '<(target_arch)', 68 'v8_target_arch%': '<(target_arch)',
69 'asan%': 0,
70 'lsan%': 0,
71 'msan%': 0,
72 'tsan%': 0,
69 73
70 # goma settings. 74 # goma settings.
71 # 1 to use goma. 75 # 1 to use goma.
72 # If no gomadir is set, it uses the default gomadir. 76 # If no gomadir is set, it uses the default gomadir.
73 'use_goma%': 0, 77 'use_goma%': 0,
74 'gomadir%': '', 78 'gomadir%': '',
75 'conditions': [ 79 'conditions': [
76 # Set default gomadir. 80 # Set default gomadir.
77 ['OS=="win"', { 81 ['OS=="win"', {
78 'gomadir': 'c:\\goma\\goma-win', 82 'gomadir': 'c:\\goma\\goma-win',
79 }, { 83 }, {
80 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', 84 'gomadir': '<!(/bin/echo -n ${HOME}/goma)',
81 }], 85 }],
82 ], 86 ],
83 }, 87 },
84 'host_arch%': '<(host_arch)', 88 'host_arch%': '<(host_arch)',
85 'target_arch%': '<(target_arch)', 89 'target_arch%': '<(target_arch)',
86 'v8_target_arch%': '<(v8_target_arch)', 90 'v8_target_arch%': '<(v8_target_arch)',
87 'werror%': '-Werror', 91 'werror%': '-Werror',
88 'use_goma%': '<(use_goma)', 92 'use_goma%': '<(use_goma)',
89 'gomadir%': '<(gomadir)', 93 'gomadir%': '<(gomadir)',
94 'asan%': '<(asan)',
95 'lsan%': '<(lsan)',
96 'msan%': '<(msan)',
97 'tsan%': '<(tsan)',
90 98
91 # .gyp files or targets should set v8_code to 1 if they build V8 specific 99 # .gyp files or targets should set v8_code to 1 if they build V8 specific
92 # code, as opposed to external code. This variable is used to control such 100 # code, as opposed to external code. This variable is used to control such
93 # things as the set of warnings to enable, and whether warnings are treated 101 # things as the set of warnings to enable, and whether warnings are treated
94 # as errors. 102 # as errors.
95 'v8_code%': 0, 103 'v8_code%': 0,
96 104
97 # Speeds up Debug builds: 105 # Speeds up Debug builds:
98 # 0 - Compiler optimizations off (debuggable) (default). This may 106 # 0 - Compiler optimizations off (debuggable) (default). This may
99 # be 5x slower than Release (or worse). 107 # be 5x slower than Release (or worse).
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 (v8_target_arch!="x87")', { 159 (v8_target_arch!="x87")', {
152 'clang%': 1, 160 'clang%': 1,
153 }, { 161 }, {
154 'clang%': 0, 162 'clang%': 0,
155 }], 163 }],
156 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le"', { 164 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le"', {
157 'host_clang%': '1', 165 'host_clang%': '1',
158 }, { 166 }, {
159 'host_clang%': '0', 167 'host_clang%': '0',
160 }], 168 }],
169 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
170 'clang%': 1,
171 'use_allocator%': 'none',
172 }],
161 ], 173 ],
162 # Default ARM variable settings. 174 # Default ARM variable settings.
163 'arm_version%': 'default', 175 'arm_version%': 'default',
164 'arm_fpu%': 'vfpv3', 176 'arm_fpu%': 'vfpv3',
165 'arm_float_abi%': 'default', 177 'arm_float_abi%': 'default',
166 'arm_thumb': 'default', 178 'arm_thumb': 'default',
167 179
168 # Default MIPS variable settings. 180 # Default MIPS variable settings.
169 'mips_arch_variant%': 'r2', 181 'mips_arch_variant%': 'r2',
170 # Possible values fp32, fp64, fpxx. 182 # Possible values fp32, fp64, fpxx.
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 596 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
585 'make_global_settings': [ 597 'make_global_settings': [
586 ['CC_wrapper', '<(gomadir)/gomacc'], 598 ['CC_wrapper', '<(gomadir)/gomacc'],
587 ['CXX_wrapper', '<(gomadir)/gomacc'], 599 ['CXX_wrapper', '<(gomadir)/gomacc'],
588 ['CC.host_wrapper', '<(gomadir)/gomacc'], 600 ['CC.host_wrapper', '<(gomadir)/gomacc'],
589 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 601 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
590 ], 602 ],
591 }], 603 }],
592 ], 604 ],
593 } 605 }
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