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

Side by Side Diff: build/common.gypi

Issue 143003013: Initial patch for a64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Makefile ('k') | build/standalone.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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 }], 301 }],
302 ], 302 ],
303 'defines': [ 303 'defines': [
304 'ARM_TEST', 304 'ARM_TEST',
305 ], 305 ],
306 }], 306 }],
307 ], 307 ],
308 }], # _toolset=="target" 308 }], # _toolset=="target"
309 ], 309 ],
310 }], # v8_target_arch=="arm" 310 }], # v8_target_arch=="arm"
311 ['v8_target_arch=="a64"', {
312 'defines': [
313 'V8_TARGET_ARCH_A64',
314 ],
315 }],
311 ['v8_target_arch=="ia32"', { 316 ['v8_target_arch=="ia32"', {
312 'defines': [ 317 'defines': [
313 'V8_TARGET_ARCH_IA32', 318 'V8_TARGET_ARCH_IA32',
314 ], 319 ],
315 }], # v8_target_arch=="ia32" 320 }], # v8_target_arch=="ia32"
316 ['v8_target_arch=="mipsel"', { 321 ['v8_target_arch=="mipsel"', {
317 'defines': [ 322 'defines': [
318 'V8_TARGET_ARCH_MIPS', 323 'V8_TARGET_ARCH_MIPS',
319 ], 324 ],
320 'variables': { 325 'variables': {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 'VCLinkerTool': { 491 'VCLinkerTool': {
487 'LinkIncremental': '2', 492 'LinkIncremental': '2',
488 }, 493 },
489 }, 494 },
490 'conditions': [ 495 'conditions': [
491 ['v8_enable_extra_checks==1', { 496 ['v8_enable_extra_checks==1', {
492 'defines': ['ENABLE_EXTRA_CHECKS',], 497 'defines': ['ENABLE_EXTRA_CHECKS',],
493 }], 498 }],
494 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 499 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
495 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 500 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
496 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], 501 '-Wnon-virtual-dtor', '-Woverloaded-virtual',
502 # Hide some GCC 4.8 warnings:
503 # TODO(jbramley): Only enable these on GCC 4.8.
504 '-Wno-unused-local-typedefs',
505 '-Wno-maybe-uninitialized' ],
497 }], 506 }],
498 ['OS=="linux" and v8_enable_backtrace==1', { 507 ['OS=="linux" and v8_enable_backtrace==1', {
499 # Support for backtrace_symbols. 508 # Support for backtrace_symbols.
500 'ldflags': [ '-rdynamic' ], 509 'ldflags': [ '-rdynamic' ],
501 }], 510 }],
502 ['OS=="android"', { 511 ['OS=="android"', {
503 'variables': { 512 'variables': {
504 'android_full_debug%': 1, 513 'android_full_debug%': 1,
505 }, 514 },
506 'conditions': [ 515 'conditions': [
(...skipping 23 matching lines...) Expand all
530 }], 539 }],
531 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 540 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
532 'cflags!': [ 541 'cflags!': [
533 '-O2', 542 '-O2',
534 '-Os', 543 '-Os',
535 ], 544 ],
536 'cflags': [ 545 'cflags': [
537 '-fdata-sections', 546 '-fdata-sections',
538 '-ffunction-sections', 547 '-ffunction-sections',
539 '-O3', 548 '-O3',
549 # Hide some GCC 4.8 warnings:
550 # TODO(jbramley): Only enable these on GCC 4.8.
551 '-Wno-unused-local-typedefs',
552 '-Wno-maybe-uninitialized',
540 ], 553 ],
541 'conditions': [ 554 'conditions': [
542 [ 'gcc_version==44 and clang==0', { 555 [ 'gcc_version==44 and clang==0', {
543 'cflags': [ 556 'cflags': [
544 # Avoid crashes with gcc 4.4 in the v8 test suite. 557 # Avoid crashes with gcc 4.4 in the v8 test suite.
545 '-fno-tree-vrp', 558 '-fno-tree-vrp',
546 ], 559 ],
547 }], 560 }],
548 ], 561 ],
549 }], 562 }],
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 'OptimizeReferences': '2', 615 'OptimizeReferences': '2',
603 'EnableCOMDATFolding': '2', 616 'EnableCOMDATFolding': '2',
604 }, 617 },
605 }, 618 },
606 }], # OS=="win" 619 }], # OS=="win"
607 ], # conditions 620 ], # conditions
608 }, # Release 621 }, # Release
609 }, # configurations 622 }, # configurations
610 }, # target_defaults 623 }, # target_defaults
611 } 624 }
OLDNEW
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698