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

Side by Side Diff: runtime/BUILD.gn

Issue 2647793005: Revert "Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Ex… (Closed)
Patch Set: Created 3 years, 11 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 | runtime/bin/BUILD.gn » ('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 import("runtime_args.gni")
6
7 declare_args() { 5 declare_args() {
8 # 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
9 # 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
10 # while themselves doing a Debug build. 8 # while themselves doing a Debug build.
11 dart_debug = false 9 dart_debug = false
12 10
13 # Set the runtime mode. This affects how the runtime is built and what 11 # Set the runtime mode. This affects how the runtime is built and what
14 # features it has. Valid values are: 12 # features it has. Valid values are:
15 # 'develop' (the default) - VM is built to run as a JIT with all development 13 # 'develop' (the default) - VM is built to run as a JIT with all development
16 # features enabled. 14 # features enabled.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 assert(false) 139 assert(false)
142 } 140 }
143 } 141 }
144 142
145 if (dart_debug) { 143 if (dart_debug) {
146 defines += [ "DEBUG" ] 144 defines += [ "DEBUG" ]
147 } else { 145 } else {
148 defines += [ "NDEBUG" ] 146 defines += [ "NDEBUG" ]
149 } 147 }
150 148
151 include_dirs = []
152 if (dart_use_tcmalloc) {
153 defines += [ "DART_USE_TCMALLOC" ]
154 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ]
155 }
156
157 if (!is_win) { 149 if (!is_win) {
158 cflags = [ 150 cflags = [
159 "-Werror", 151 "-Werror",
160 "-Wall", 152 "-Wall",
161 "-Wextra", # Also known as -W. 153 "-Wextra", # Also known as -W.
162 "-Wno-unused-parameter", 154 "-Wno-unused-parameter",
163 "-Wnon-virtual-dtor", 155 "-Wnon-virtual-dtor",
164 "-Wvla", 156 "-Wvla",
165 "-Wno-conversion-null", 157 "-Wno-conversion-null",
166 "-Woverloaded-virtual", 158 "-Woverloaded-virtual",
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "third_party/double-conversion/src:libdouble_conversion", 290 "third_party/double-conversion/src:libdouble_conversion",
299 "vm:libdart_lib", 291 "vm:libdart_lib",
300 "vm:libdart_lib_nosnapshot", 292 "vm:libdart_lib_nosnapshot",
301 "vm:libdart_vm", 293 "vm:libdart_vm",
302 "vm:libdart_vm_nosnapshot", 294 "vm:libdart_vm_nosnapshot",
303 ] 295 ]
304 sources = [ 296 sources = [
305 "vm/libdart_dependency_helper.cc", 297 "vm/libdart_dependency_helper.cc",
306 ] 298 ]
307 } 299 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698