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

Side by Side Diff: runtime/BUILD.gn

Issue 2848943003: [infra] Assembles the SDK using GN rather than create_sdk.py (Closed)
Patch Set: Move copy_dev_compiler_tools out of the default full SDK build Created 3 years, 7 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/toolchain/win/BUILD.gn ('k') | 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") 5 import("runtime_args.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Instead of using is_debug, we introduce a different flag for specifying a 8 # 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 9 # Debug build of Dart so that clients can still use a Release build of Dart
10 # while themselves doing a Debug build. 10 # while themselves doing a Debug build.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } else { 128 } else {
129 defines += [ "NDEBUG" ] 129 defines += [ "NDEBUG" ]
130 } 130 }
131 131
132 include_dirs = [] 132 include_dirs = []
133 if (dart_use_tcmalloc) { 133 if (dart_use_tcmalloc) {
134 defines += [ "DART_USE_TCMALLOC" ] 134 defines += [ "DART_USE_TCMALLOC" ]
135 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ] 135 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ]
136 } 136 }
137 137
138 if (defined(is_fuchsia) && is_fuchsia) { 138 if (is_fuchsia) {
139 defines += [ "DART_USE_JEMALLOC" ] 139 defines += [ "DART_USE_JEMALLOC" ]
140 include_dirs += [ "//magenta/third_party/ulib/jemalloc/include" ] 140 include_dirs += [ "//magenta/third_party/ulib/jemalloc/include" ]
141 } 141 }
142 142
143 if (!is_win) { 143 if (!is_win) {
144 cflags = [ 144 cflags = [
145 "-Werror", 145 "-Werror",
146 "-Wall", 146 "-Wall",
147 "-Wextra", # Also known as -W. 147 "-Wextra", # Also known as -W.
148 "-Wno-unused-parameter", 148 "-Wno-unused-parameter",
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 "third_party/double-conversion/src:libdouble_conversion", 290 "third_party/double-conversion/src:libdouble_conversion",
291 "vm:libdart_lib_jit", 291 "vm:libdart_lib_jit",
292 "vm:libdart_lib_nosnapshot_with_precompiler", 292 "vm:libdart_lib_nosnapshot_with_precompiler",
293 "vm:libdart_vm_jit", 293 "vm:libdart_vm_jit",
294 "vm:libdart_vm_nosnapshot_with_precompiler", 294 "vm:libdart_vm_nosnapshot_with_precompiler",
295 ] 295 ]
296 sources = [ 296 sources = [
297 "vm/libdart_dependency_helper.cc", 297 "vm/libdart_dependency_helper.cc",
298 ] 298 ]
299 } 299 }
OLDNEW
« no previous file with comments | « build/toolchain/win/BUILD.gn ('k') | runtime/bin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698