Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: tools/gyp/configurations.gypi

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 'abstract': 1, 136 'abstract': 1,
137 }, 137 },
138 138
139 'Dart_Release': { 139 'Dart_Release': {
140 'abstract': 1, 140 'abstract': 1,
141 'defines': [ 141 'defines': [
142 'NDEBUG', 142 'NDEBUG',
143 ], 143 ],
144 }, 144 },
145 145
146 'Dart_Product' : {
147 'abstract': 1,
148 'defines' : [
149 'NDEBUG',
150 'PRODUCT',
151 ]
152 },
146 153
147 # Configurations 154 # Configurations
148 'DebugIA32': { 155 'DebugIA32': {
149 'inherit_from': [ 156 'inherit_from': [
150 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug', 157 'Dart_Base', 'Dart_ia32_Base', 'Dart_Debug',
151 'Dart_<(dart_target_os)_Base', 158 'Dart_<(dart_target_os)_Base',
152 'Dart_<(dart_target_os)_ia32_Base', 159 'Dart_<(dart_target_os)_ia32_Base',
153 'Dart_<(dart_target_os)_Debug', 160 'Dart_<(dart_target_os)_Debug',
154 ], 161 ],
155 }, 162 },
156 163
157 'ReleaseIA32': { 164 'ReleaseIA32': {
158 'inherit_from': [ 165 'inherit_from': [
159 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release', 166 'Dart_Base', 'Dart_ia32_Base', 'Dart_Release',
160 'Dart_<(dart_target_os)_Base', 167 'Dart_<(dart_target_os)_Base',
161 'Dart_<(dart_target_os)_ia32_Base', 168 'Dart_<(dart_target_os)_ia32_Base',
162 'Dart_<(dart_target_os)_Release', 169 'Dart_<(dart_target_os)_Release',
163 ], 170 ],
164 }, 171 },
165 172
173 'ProductIA32': {
174 'inherit_from': [
175 'Dart_Base', 'Dart_ia32_Base', 'Dart_Product',
176 'Dart_<(dart_target_os)_Base',
177 'Dart_<(dart_target_os)_ia32_Base',
178 'Dart_<(dart_target_os)_Product',
179 ],
180 },
181
166 'DebugX64': { 182 'DebugX64': {
167 'inherit_from': [ 183 'inherit_from': [
168 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug', 184 'Dart_Base', 'Dart_x64_Base', 'Dart_Debug',
169 'Dart_<(dart_target_os)_Base', 185 'Dart_<(dart_target_os)_Base',
170 'Dart_<(dart_target_os)_x64_Base', 186 'Dart_<(dart_target_os)_x64_Base',
171 'Dart_<(dart_target_os)_Debug', 187 'Dart_<(dart_target_os)_Debug',
172 ], 188 ],
173 }, 189 },
174 190
175 'ReleaseX64': { 191 'ReleaseX64': {
176 'inherit_from': [ 192 'inherit_from': [
177 'Dart_Base', 'Dart_x64_Base', 'Dart_Release', 193 'Dart_Base', 'Dart_x64_Base', 'Dart_Release',
178 'Dart_<(dart_target_os)_Base', 194 'Dart_<(dart_target_os)_Base',
179 'Dart_<(dart_target_os)_x64_Base', 195 'Dart_<(dart_target_os)_x64_Base',
180 'Dart_<(dart_target_os)_Release', 196 'Dart_<(dart_target_os)_Release',
181 ], 197 ],
182 }, 198 },
183 199
Florian Schneider 2016/02/03 18:00:21 Add ProductX64, ProductXARM, ProductXARM64, etc?
184 'DebugSIMARM': { 200 'DebugSIMARM': {
185 'inherit_from': [ 201 'inherit_from': [
186 'Dart_Base', 'Dart_simarm_Base', 'Dart_Debug', 202 'Dart_Base', 'Dart_simarm_Base', 'Dart_Debug',
187 'Dart_<(dart_target_os)_Base', 203 'Dart_<(dart_target_os)_Base',
188 'Dart_<(dart_target_os)_simarm_Base', 204 'Dart_<(dart_target_os)_simarm_Base',
189 'Dart_<(dart_target_os)_Debug', 205 'Dart_<(dart_target_os)_Debug',
190 ], 206 ],
191 'defines': [ 207 'defines': [
192 'DEBUG', 208 'DEBUG',
193 ], 209 ],
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 }, 563 },
548 564
549 'ReleaseX64_x64': { 565 'ReleaseX64_x64': {
550 'inherit_from': [ 'ReleaseX64' ] 566 'inherit_from': [ 'ReleaseX64' ]
551 }, 567 },
552 }], 568 }],
553 ], 569 ],
554 }, 570 },
555 }, 571 },
556 } 572 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698