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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'common_gcc_warning_flags': [ | 7 'common_gcc_warning_flags': [ |
8 '-Wall', | 8 '-Wall', |
9 '-Wextra', # Also known as -W. | 9 '-Wextra', # Also known as -W. |
10 '-Wno-unused-parameter', | 10 '-Wno-unused-parameter', |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 # Should not inherit from Dart_Debug because Dart_simarm_Base defines | 107 # Should not inherit from Dart_Debug because Dart_simarm_Base defines |
108 # the optimization level to be -O3, as the simulator runs too slow | 108 # the optimization level to be -O3, as the simulator runs too slow |
109 # otherwise. | 109 # otherwise. |
110 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'], | 110 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'], |
111 'defines': [ | 111 'defines': [ |
112 'DEBUG', | 112 'DEBUG', |
113 ], | 113 ], |
114 }, | 114 }, |
115 | 115 |
116 'ReleaseSIMARM': { | 116 'ReleaseSIMARM': { |
117 # Should not inherit from Dart_Release (see DebugSIMARM). | 117 'inherit_from': ['Dart_Base', 'Dart_simarm_Base', 'Dart_Release'], |
118 'inherit_from': ['Dart_Base', 'Dart_simarm_Base'], | |
119 'defines': [ | |
120 'NDEBUG', | |
121 ], | |
122 }, | 118 }, |
123 | 119 |
124 'DebugARM': { | 120 'DebugARM': { |
125 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'], | 121 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'], |
126 }, | 122 }, |
127 | 123 |
128 'ReleaseARM': { | 124 'ReleaseARM': { |
129 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'], | 125 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'], |
130 }, | 126 }, |
131 | 127 |
132 'DebugSIMMIPS': { | 128 'DebugSIMMIPS': { |
133 # Should not inherit from Dart_Debug because Dart_simmips_Base defines | 129 # Should not inherit from Dart_Debug because Dart_simmips_Base defines |
134 # the optimization level to be -O3, as the simulator runs too slow | 130 # the optimization level to be -O3, as the simulator runs too slow |
135 # otherwise. | 131 # otherwise. |
136 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'], | 132 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'], |
137 'defines': [ | 133 'defines': [ |
138 'DEBUG', | 134 'DEBUG', |
139 ], | 135 ], |
140 }, | 136 }, |
141 | 137 |
142 'ReleaseSIMMIPS': { | 138 'ReleaseSIMMIPS': { |
143 # Should not inherit from Dart_Release (see DebugSIMMIPS). | 139 'inherit_from': ['Dart_Base', 'Dart_simmips_Base', 'Dart_Release'], |
144 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'], | |
145 'defines': [ | |
146 'NDEBUG', | |
147 ], | |
148 }, | 140 }, |
149 | 141 |
150 'DebugMIPS': { | 142 'DebugMIPS': { |
151 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Debug'], | 143 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Debug'], |
152 }, | 144 }, |
153 | 145 |
154 'ReleaseMIPS': { | 146 'ReleaseMIPS': { |
155 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Release'], | 147 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Release'], |
156 }, | 148 }, |
157 | 149 |
158 # These targets assume that target_arch is passed in explicitly | 150 # These targets assume that target_arch is passed in explicitly |
159 # by the containing project (e.g., chromium). | 151 # by the containing project (e.g., chromium). |
160 'Debug': { | 152 'Debug': { |
161 'inherit_from': ['Debug<(dart_target_arch)'] | 153 'inherit_from': ['Debug<(dart_target_arch)'] |
162 }, | 154 }, |
163 | 155 |
164 'Release': { | 156 'Release': { |
165 'inherit_from': ['Release<(dart_target_arch)'] | 157 'inherit_from': ['Release<(dart_target_arch)'] |
166 }, | 158 }, |
167 }, | 159 }, |
168 }, | 160 }, |
169 } | 161 } |
OLD | NEW |