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': { |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 'cflags': [ | 229 'cflags': [ |
230 '-fno-omit-frame-pointer', | 230 '-fno-omit-frame-pointer', |
231 ], | 231 ], |
232 'defines': [ | 232 'defines': [ |
233 'NATIVE_CODE_HAS_FRAME_POINTERS' | 233 'NATIVE_CODE_HAS_FRAME_POINTERS' |
234 ], | 234 ], |
235 }], | 235 }], |
236 ], | 236 ], |
237 'cflags': [ | 237 'cflags': [ |
238 '-O3', | 238 '-O3', |
239 '-fdata-sections', | |
240 '-ffunction-sections', | |
241 ], | |
242 'ldflags': [ | |
243 '-Wl,--gc-sections', | |
rmacnak
2015/11/17 20:51:18
Do we need to add flags for Mac too?
Florian Schneider
2015/11/18 11:44:09
Possibly - I don't have a Mac at hand yet to test
| |
239 ], | 244 ], |
240 }, | 245 }, |
241 }, | 246 }, |
242 }, | 247 }, |
243 } | 248 } |
OLD | NEW |