| Index: tools/gyp/configurations_xcode.gypi
|
| diff --git a/tools/gyp/configurations_xcode.gypi b/tools/gyp/configurations_xcode.gypi
|
| index 1bb9d6e6807c7c51fa598c7bbdb678a7cdfe3cb5..1549da945c6509e2b7df4d3d5e961ae1f6228737 100644
|
| --- a/tools/gyp/configurations_xcode.gypi
|
| +++ b/tools/gyp/configurations_xcode.gypi
|
| @@ -3,6 +3,9 @@
|
| # BSD-style license that can be found in the LICENSE file.
|
|
|
| {
|
| + 'variables': {
|
| + 'dart_debug_optimization_level%': '2',
|
| + },
|
| 'target_defaults': {
|
| 'configurations': {
|
| 'Dart_Base': {
|
| @@ -67,7 +70,7 @@
|
|
|
| 'Dart_Debug': {
|
| 'xcode_settings': {
|
| - 'GCC_OPTIMIZATION_LEVEL': '2',
|
| + 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
|
| },
|
| },
|
|
|
|
|