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

Side by Side Diff: runtime/BUILD.gn

Issue 2392403002: Enable GN ASAN builds for Linux (Closed)
Patch Set: Fix mac compile Created 4 years, 2 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 | « build/config/compiler/BUILD.gn ('k') | tools/gn.py » ('j') | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 declare_args() { 5 declare_args() {
6 # Instead of using is_debug, we introduce a different flag for specifying a 6 # Instead of using is_debug, we introduce a different flag for specifying a
7 # Debug build of Dart so that clients can still use a Release build of Dart 7 # Debug build of Dart so that clients can still use a Release build of Dart
8 # while themselves doing a Debug build. 8 # while themselves doing a Debug build.
9 dart_debug = false 9 dart_debug = false
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 "-O1", 174 "-O1",
175 ] 175 ]
176 } else { 176 } else {
177 cflags += [ 177 cflags += [
178 "-O3", 178 "-O3",
179 ] 179 ]
180 } 180 }
181 181
182 if (defined(is_asan) && is_asan) { 182 if (defined(is_asan) && is_asan) {
183 ldflags = [ 183 ldflags = [
184 "-Wl,-u_sanitizer_options_link_helper",
185 "-fsanitize=address", 184 "-fsanitize=address",
186 ] 185 ]
187 } 186 }
188 } 187 }
189 } 188 }
190 189
191 template("libdart_library") { 190 template("libdart_library") {
192 extra_configs = [] 191 extra_configs = []
193 if (defined(invoker.extra_configs)) { 192 if (defined(invoker.extra_configs)) {
194 extra_configs += invoker.extra_configs 193 extra_configs += invoker.extra_configs
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "vm:libdart_lib_nosnapshot", 321 "vm:libdart_lib_nosnapshot",
323 "vm:libdart_lib", 322 "vm:libdart_lib",
324 "vm:libdart_vm", 323 "vm:libdart_vm",
325 "vm:libdart_platform", 324 "vm:libdart_platform",
326 "third_party/double-conversion/src:libdouble_conversion", 325 "third_party/double-conversion/src:libdouble_conversion",
327 ] 326 ]
328 sources = [ 327 sources = [
329 "vm/libdart_dependency_helper.cc", 328 "vm/libdart_dependency_helper.cc",
330 ] 329 ]
331 } 330 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698