| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |