OLD | NEW |
| (Empty) |
1 # Copyright (c) 2015, 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 # This file is included to modify the configurations to build third-party | |
6 # code from BoringSSL. | |
7 { | |
8 'target_defaults': { | |
9 'conditions': [ | |
10 ['OS == "linux" or OS == "android"', { | |
11 'cflags_c': [ | |
12 '-std=c99', | |
13 ], | |
14 'defines': [ | |
15 '_XOPEN_SOURCE=700', | |
16 ], | |
17 }], | |
18 ], | |
19 # Removes these flags from the list cflags. | |
20 'cflags!': [ | |
21 '-ansi', | |
22 # Not supported for C, only for C++. | |
23 '-Wnon-virtual-dtor', | |
24 '-Wno-conversion-null', | |
25 '-fno-rtti', | |
26 '-fvisibility-inlines-hidden', | |
27 '-Woverloaded-virtual', | |
28 ], | |
29 }, | |
30 } | |
OLD | NEW |