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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 # setting this to NO. | 48 # setting this to NO. |
49 'ALWAYS_SEARCH_USER_PATHS': 'NO', | 49 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
50 | 50 |
51 # Attempt to remove compiler options that Xcode adds by default. | 51 # Attempt to remove compiler options that Xcode adds by default. |
52 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. | 52 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. |
53 | 53 |
54 'GCC_ENABLE_PASCAL_STRINGS': 'NO', | 54 'GCC_ENABLE_PASCAL_STRINGS': 'NO', |
55 'GCC_ENABLE_TRIGRAPHS': 'NO', | 55 'GCC_ENABLE_TRIGRAPHS': 'NO', |
56 'COMBINE_HIDPI_IMAGES': 'YES', | 56 'COMBINE_HIDPI_IMAGES': 'YES', |
57 }, | 57 }, |
58 'conditions': [ | |
59 ['c_frame_pointers==1', { | |
60 'xcode_settings': { | |
61 'OTHER_CFLAGS': [ | |
62 '-fno-omit-frame-pointer', | |
63 '-mno-omit-leaf-frame-pointer', | |
64 ], | |
65 }, | |
66 'defines': [ | |
67 'NATIVE_CODE_HAS_FRAME_POINTERS', | |
68 ], | |
69 }], | |
70 ], | |
71 }, | 58 }, |
72 'Dart_Macos_ia32_Base': { | 59 'Dart_Macos_ia32_Base': { |
73 'abstract': 1, | 60 'abstract': 1, |
74 }, | 61 }, |
75 'Dart_Macos_x64_Base': { | 62 'Dart_Macos_x64_Base': { |
76 'abstract': 1, | 63 'abstract': 1, |
77 }, | 64 }, |
78 'Dart_Macos_simarm_Base': { | 65 'Dart_Macos_simarm_Base': { |
79 'abstract': 1, | 66 'abstract': 1, |
80 }, | 67 }, |
81 'Dart_Macos_simarmv6_Base': { | 68 'Dart_Macos_simarmv6_Base': { |
82 'abstract': 1, | 69 'abstract': 1, |
83 }, | 70 }, |
84 'Dart_Macos_simarmv5te_Base': { | 71 'Dart_Macos_simarmv5te_Base': { |
85 'abstract': 1, | 72 'abstract': 1, |
86 }, | 73 }, |
87 'Dart_Macos_simarm64_Base': { | 74 'Dart_Macos_simarm64_Base': { |
88 'abstract': 1, | 75 'abstract': 1, |
89 }, | 76 }, |
90 'Dart_Macos_simmips_Base': { | 77 'Dart_Macos_simmips_Base': { |
91 'abstract': 1, | 78 'abstract': 1, |
92 }, | 79 }, |
93 'Dart_Macos_Debug': { | 80 'Dart_Macos_Debug': { |
94 'abstract': 1, | 81 'abstract': 1, |
| 82 'xcode_settings': { |
| 83 'OTHER_CFLAGS': [ |
| 84 '-fno-omit-frame-pointer', |
| 85 '-mno-omit-leaf-frame-pointer', |
| 86 ], |
| 87 }, |
95 }, | 88 }, |
96 'Dart_Macos_Release': { | 89 'Dart_Macos_Release': { |
97 'abstract': 1, | 90 'abstract': 1, |
| 91 'xcode_settings': { |
| 92 'OTHER_CFLAGS': [ |
| 93 '-fno-omit-frame-pointer', |
| 94 '-mno-omit-leaf-frame-pointer', |
| 95 ], |
| 96 }, |
| 97 }, |
| 98 'Dart_Macos_Product': { |
| 99 'abstract': 1, |
| 100 'xcode_settings': { |
| 101 'OTHER_CFLAGS': [ |
| 102 '-fomit-frame-pointer', |
| 103 '-momit-leaf-frame-pointer', |
| 104 ], |
| 105 }, |
98 }, | 106 }, |
99 }, | 107 }, |
100 }, | 108 }, |
101 } | 109 } |
OLD | NEW |