OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 | |
6 config("dart_config") { | |
7 defines = [] | |
8 if (is_debug) { | |
9 defines += ["DEBUG"] | |
10 } else { | |
11 defines += ["NDEBUG"] | |
12 } | |
13 | |
14 cflags = [ | |
15 "-Werror", | |
16 "-Wall", | |
17 "-Wextra", # Also known as -W. | |
18 "-Wno-unused-parameter", | |
19 "-Wnon-virtual-dtor", | |
20 "-Wvla", | |
21 "-Wno-conversion-null", | |
22 "-Woverloaded-virtual", | |
23 "-g3", | |
24 "-ggdb3", | |
25 "-fno-rtti", | |
26 "-fno-exceptions", | |
27 ] | |
28 } | |
OLD | NEW |