OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'dart_debug_optimization_level%': '2', | 7 'dart_debug_optimization_level%': '2', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'configurations': { | 10 'configurations': { |
11 'Dart_Linux_Base': { | 11 'Dart_Linux_Base': { |
12 'abstract': 1, | 12 'abstract': 1, |
13 'defines': [ | 13 'defines': [ |
14 '_FORTIFY_SOURCE=2', | 14 '_FORTIFY_SOURCE=2', |
15 ], | 15 ], |
16 'cflags': [ | 16 'cflags': [ |
17 '-Werror', | |
18 '<@(common_gcc_warning_flags)', | 17 '<@(common_gcc_warning_flags)', |
19 '-Wnon-virtual-dtor', | 18 '-Wnon-virtual-dtor', |
20 '-Wvla', | 19 '-Wvla', |
21 '-Woverloaded-virtual', | 20 '-Woverloaded-virtual', |
22 '-g3', | 21 '-g3', |
23 '-ggdb3', | 22 '-ggdb3', |
24 '-fno-rtti', | 23 '-fno-rtti', |
25 '-fno-exceptions', | 24 '-fno-exceptions', |
26 '-fstack-protector', | 25 '-fstack-protector', |
27 '-Wa,--noexecstack', | 26 '-Wa,--noexecstack', |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 '-ffunction-sections', | 377 '-ffunction-sections', |
379 '-fomit-frame-pointer', | 378 '-fomit-frame-pointer', |
380 ], | 379 ], |
381 'ldflags': [ | 380 'ldflags': [ |
382 '-Wl,--gc-sections', | 381 '-Wl,--gc-sections', |
383 ], | 382 ], |
384 }, | 383 }, |
385 }, | 384 }, |
386 }, | 385 }, |
387 } | 386 } |
OLD | NEW |