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

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

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, 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 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'configurations': { 10 'configurations': {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 }, 250 },
251 251
252 # ARM64 native build 252 # ARM64 native build
253 'Dart_Linux_arm64_Base': { 253 'Dart_Linux_arm64_Base': {
254 'abstract': 1, 254 'abstract': 1,
255 'cflags': [ 255 'cflags': [
256 '-O3', 256 '-O3',
257 ], 257 ],
258 }, 258 },
259 259
260 'Dart_Linux_simmips_Base': {
261 'abstract': 1,
262 'cflags': [
263 '-O3',
264 '-m32',
265 '-msse2',
266 '-mfpmath=sse',
267 ],
268 'ldflags': [
269 '-m32',
270 ],
271 },
272
273 # MIPS cross-build
274 'Dart_Linux_xmips_Base': {
275 'abstract': 1,
276 'target_conditions': [
277 ['_toolset=="target"', {
278 'cflags': [
279 '-EL',
280 '-march=mips32',
281 '-mhard-float',
282 '-fno-strict-overflow',
283 ],
284 'ldflags': [
285 '-EL',
286 ],
287 }],
288 ['_toolset=="host"',{
289 'cflags': [
290 '-O3',
291 '-m32',
292 '-msse2',
293 '-mfpmath=sse',
294 ],
295 'ldflags': [
296 '-m32',
297 ],
298 }]]
299 },
300
301 # These flags are needed for tcmalloc to be able to collect stack traces
302 # for heap profiling on mips.
303 'Dart_Linux_xmips_Debug': {
304 'abstract': 1,
305 'target_conditions': [
306 ['_toolset=="target"', {
307 'cflags!': [
308 '-fno-exceptions',
309 ],
310 'cflags': [
311 '-fexceptions',
312 '-funwind-tables',
313 ],
314 }],
315 ],
316 },
317
318 # These flags are needed for tcmalloc to be able to collect stack traces
319 # for heap profiling on mips.
320 'Dart_Linux_xmips_Release': {
321 'abstract': 1,
322 'target_conditions': [
323 ['_toolset=="target"', {
324 'cflags!': [
325 '-fno-exceptions',
326 ],
327 'cflags': [
328 '-fexceptions',
329 '-funwind-tables',
330 ],
331 }],
332 ],
333 },
334
335 # MIPS native build
336 'Dart_Linux_mips_Base': {
337 'abstract': 1,
338 'cflags': [
339 '-march=mips32',
340 '-mhard-float',
341 '-fno-strict-overflow',
342 ],
343 },
344
345 'Dart_Linux_Debug': { 260 'Dart_Linux_Debug': {
346 'abstract': 1, 261 'abstract': 1,
347 'cflags': [ 262 'cflags': [
348 '-O<(dart_debug_optimization_level)', 263 '-O<(dart_debug_optimization_level)',
349 '-fno-omit-frame-pointer', 264 '-fno-omit-frame-pointer',
350 # Clang on Linux will still omit frame pointers from leaf 265 # Clang on Linux will still omit frame pointers from leaf
351 # functions unless told otherwise: 266 # functions unless told otherwise:
352 # (note this flag only works on recent GCC versions.) 267 # (note this flag only works on recent GCC versions.)
353 #'-mno-omit-leaf-frame-pointer', 268 #'-mno-omit-leaf-frame-pointer',
354 ], 269 ],
(...skipping 22 matching lines...) Expand all
377 '-ffunction-sections', 292 '-ffunction-sections',
378 '-fomit-frame-pointer', 293 '-fomit-frame-pointer',
379 ], 294 ],
380 'ldflags': [ 295 'ldflags': [
381 '-Wl,--gc-sections', 296 '-Wl,--gc-sections',
382 ], 297 ],
383 }, 298 },
384 }, 299 },
385 }, 300 },
386 } 301 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698