| 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 import("runtime_args.gni") | 5 import("runtime_args.gni") |
| 6 | 6 |
| 7 config("dart_public_config") { | 7 config("dart_public_config") { |
| 8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 99 } |
| 100 | 100 |
| 101 include_dirs = [] | 101 include_dirs = [] |
| 102 if (dart_use_tcmalloc) { | 102 if (dart_use_tcmalloc) { |
| 103 defines += [ "DART_USE_TCMALLOC" ] | 103 defines += [ "DART_USE_TCMALLOC" ] |
| 104 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ] | 104 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ] |
| 105 } | 105 } |
| 106 | 106 |
| 107 if (is_fuchsia) { | 107 if (is_fuchsia) { |
| 108 defines += [ "DART_USE_JEMALLOC" ] | 108 defines += [ "DART_USE_JEMALLOC" ] |
| 109 include_dirs += [ "//magenta/third_party/ulib/jemalloc/include" ] | 109 include_dirs += [ |
| 110 "//magenta/system/ulib/mx/include", |
| 111 "//magenta/third_party/ulib/jemalloc/include", |
| 112 ] |
| 110 } | 113 } |
| 111 | 114 |
| 112 if (!is_win) { | 115 if (!is_win) { |
| 113 cflags = [ | 116 cflags = [ |
| 114 "-Werror", | 117 "-Werror", |
| 115 "-Wall", | 118 "-Wall", |
| 116 "-Wextra", # Also known as -W. | 119 "-Wextra", # Also known as -W. |
| 117 "-Wno-unused-parameter", | 120 "-Wno-unused-parameter", |
| 118 "-Wnon-virtual-dtor", | 121 "-Wnon-virtual-dtor", |
| 119 "-Wvla", | 122 "-Wvla", |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 252 |
| 250 script = "../tools/make_version.py" | 253 script = "../tools/make_version.py" |
| 251 args = [ | 254 args = [ |
| 252 "--quiet", | 255 "--quiet", |
| 253 "--output", | 256 "--output", |
| 254 rebase_path(output, root_build_dir), | 257 rebase_path(output, root_build_dir), |
| 255 "--input", | 258 "--input", |
| 256 rebase_path("vm/version_in.cc", root_build_dir), | 259 rebase_path("vm/version_in.cc", root_build_dir), |
| 257 ] | 260 ] |
| 258 } | 261 } |
| OLD | NEW |