| 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 config("dart_config") { |
| 6 defines = [] |
| 7 if (is_debug) { |
| 8 defines += ["DEBUG"] |
| 9 } else { |
| 10 defines += ["NDEBUG"] |
| 11 } |
| 12 |
| 13 cflags = [ |
| 14 "-Werror", |
| 15 "-Wall", |
| 16 "-Wextra", # Also known as -W. |
| 17 "-Wno-unused-parameter", |
| 18 "-Wnon-virtual-dtor", |
| 19 "-Wvla", |
| 20 "-Wno-conversion-null", |
| 21 "-Woverloaded-virtual", |
| 22 "-g3", |
| 23 "-ggdb3", |
| 24 "-fno-rtti", |
| 25 "-fno-exceptions", |
| 26 ] |
| 27 } |
| 28 |
| 29 |
| 5 static_library("libdart") { | 30 static_library("libdart") { |
| 6 configs += ["..:dart_config"] | 31 configs += [":dart_config"] |
| 7 deps = [ | 32 deps = [ |
| 8 "vm:libdart_lib", | 33 "vm:libdart_lib", |
| 9 "vm:libdart_vm", | 34 "vm:libdart_vm", |
| 10 "third_party/jscre:libjscre", | 35 "third_party/jscre:libjscre", |
| 11 "third_party/double-conversion/src:libdouble_conversion", | 36 "third_party/double-conversion/src:libdouble_conversion", |
| 12 ":generate_version_cc_file", | 37 ":generate_version_cc_file", |
| 13 ] | 38 ] |
| 14 include_dirs = [ | 39 include_dirs = [ |
| 15 ".", | 40 ".", |
| 16 ] | 41 ] |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 "vm:libdart_lib", | 85 "vm:libdart_lib", |
| 61 "vm:libdart_vm", | 86 "vm:libdart_vm", |
| 62 "vm:libdart_platform", | 87 "vm:libdart_platform", |
| 63 "third_party/jscre:libjscre", | 88 "third_party/jscre:libjscre", |
| 64 "third_party/double-conversion/src:libdouble_conversion", | 89 "third_party/double-conversion/src:libdouble_conversion", |
| 65 ] | 90 ] |
| 66 sources = [ | 91 sources = [ |
| 67 "vm/libdart_dependency_helper.cc", | 92 "vm/libdart_dependency_helper.cc", |
| 68 ] | 93 ] |
| 69 } | 94 } |
| OLD | NEW |