| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 # The purpose of this file and others in this directory is to simulate | 5 # The purpose of this file and others in this directory is to simulate |
| 6 # the Chromium build enviroment. This file is included in all GYP | 6 # the Chromium build enviroment. This file is included in all GYP |
| 7 # files that are used by the Dart project. | 7 # files that are used by the Dart project. |
| 8 | 8 |
| 9 # READ BEFORE EDITING: | 9 # READ BEFORE EDITING: |
| 10 # Do not add Dart VM specific configuration to this file. Instead, | 10 # Do not add Dart VM specific configuration to this file. Instead, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 'GCC_VERSION': '<(xcode_gcc_version)', | 22 'GCC_VERSION': '<(xcode_gcc_version)', |
| 23 'GCC_C_LANGUAGE_STANDARD': 'ansi', | 23 'GCC_C_LANGUAGE_STANDARD': 'ansi', |
| 24 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 24 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 25 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 25 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 26 'GCC_DEBUGGING_SYMBOLS': 'default', # -g | 26 'GCC_DEBUGGING_SYMBOLS': 'default', # -g |
| 27 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols | 27 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols |
| 28 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 28 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 29 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden | 29 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden |
| 30 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor | 30 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |
| 31 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 31 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 32 'OTHER_CFLAGS': [ # Disable frame pointers by default. |
| 33 '-fomit-frame-pointer', |
| 34 '-momit-leaf-frame-pointer', |
| 35 ], |
| 32 'WARNING_CFLAGS': [ | 36 'WARNING_CFLAGS': [ |
| 33 '<@(common_gcc_warning_flags)', | 37 '<@(common_gcc_warning_flags)', |
| 34 '-Wtrigraphs', # Disable Xcode default. | 38 '-Wtrigraphs', # Disable Xcode default. |
| 35 '-Wreturn-type', | 39 '-Wreturn-type', |
| 36 '-Werror=return-type', | 40 '-Werror=return-type', |
| 37 # TODO(15922): Enable this flag by default. | 41 # TODO(15922): Enable this flag by default. |
| 38 # '-Wshorten-64-to-32', | 42 # '-Wshorten-64-to-32', |
| 39 ], | 43 ], |
| 40 | 44 |
| 41 # Generate PIC code as Chrome is switching to this. | 45 # Generate PIC code as Chrome is switching to this. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 72 }, | 76 }, |
| 73 'Dart_Macos_Debug': { | 77 'Dart_Macos_Debug': { |
| 74 'abstract': 1, | 78 'abstract': 1, |
| 75 }, | 79 }, |
| 76 'Dart_Macos_Release': { | 80 'Dart_Macos_Release': { |
| 77 'abstract': 1, | 81 'abstract': 1, |
| 78 }, | 82 }, |
| 79 }, | 83 }, |
| 80 }, | 84 }, |
| 81 } | 85 } |
| OLD | NEW |