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

Side by Side Diff: build/toolchain.gypi

Issue 133443009: A64: Synchronize with r17441. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « build/standalone.gypi ('k') | include/v8.h » ('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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 'v8_can_use_fpu_instructions%': 'true', 53 'v8_can_use_fpu_instructions%': 'true',
54 54
55 # Similar to the ARM hard float ABI but on MIPS. 55 # Similar to the ARM hard float ABI but on MIPS.
56 'v8_use_mips_abi_hardfloat%': 'true', 56 'v8_use_mips_abi_hardfloat%': 'true',
57 57
58 # Default arch variant for MIPS. 58 # Default arch variant for MIPS.
59 'mips_arch_variant%': 'mips32r2', 59 'mips_arch_variant%': 'mips32r2',
60 60
61 'v8_enable_backtrace%': 0, 61 'v8_enable_backtrace%': 0,
62 62
63 # Speeds up Debug builds:
64 # 0 - Compiler optimizations off (debuggable) (default). This may
65 # be 5x slower than Release (or worse).
66 # 1 - Turn on compiler optimizations. This may be hard or impossible to
67 # debug. This may still be 2x slower than Release (or worse).
68 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG
69 # (but leave V8_ENABLE_CHECKS and most other assertions enabled.
70 # This may cause some v8 tests to fail in the Debug configuration.
71 # This roughly matches the performance of a Release build and can
72 # be used by embedders that need to build their own code as debug
73 # but don't want or need a debug version of V8. This should produce
74 # near-release speeds.
75 'v8_optimized_debug%': 0,
76
77 # Enable profiling support. Only required on Windows. 63 # Enable profiling support. Only required on Windows.
78 'v8_enable_prof%': 0, 64 'v8_enable_prof%': 0,
79 65
80 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. 66 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing.
81 'v8_no_strict_aliasing%': 0, 67 'v8_no_strict_aliasing%': 0,
82 68
83 # Chrome needs this definition unconditionally. For standalone V8 builds, 69 # Chrome needs this definition unconditionally. For standalone V8 builds,
84 # it's handled in build/standalone.gypi. 70 # it's handled in build/standalone.gypi.
85 'want_separate_host_toolset%': 1, 71 'want_separate_host_toolset%': 1,
86 72
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 'cflags': [ '-I/usr/pkg/include' ], 435 'cflags': [ '-I/usr/pkg/include' ],
450 }], 436 }],
451 ], # conditions 437 ], # conditions
452 'configurations': { 438 'configurations': {
453 'Debug': { 439 'Debug': {
454 'defines': [ 440 'defines': [
455 'ENABLE_DISASSEMBLER', 441 'ENABLE_DISASSEMBLER',
456 'V8_ENABLE_CHECKS', 442 'V8_ENABLE_CHECKS',
457 'OBJECT_PRINT', 443 'OBJECT_PRINT',
458 'VERIFY_HEAP', 444 'VERIFY_HEAP',
445 'DEBUG'
459 ], 446 ],
460 'msvs_settings': { 447 'msvs_settings': {
461 'VCCLCompilerTool': { 448 'VCCLCompilerTool': {
462 'conditions': [ 449 'conditions': [
463 ['v8_optimized_debug==0', { 450 ['v8_optimized_debug==0', {
464 'Optimization': '0', 451 'Optimization': '0',
465 'conditions': [ 452 'conditions': [
466 ['component=="shared_library"', { 453 ['component=="shared_library"', {
467 'RuntimeLibrary': '3', # /MDd 454 'RuntimeLibrary': '3', # /MDd
468 }, { 455 }, {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 }], 503 }],
517 ['v8_optimized_debug==2', { 504 ['v8_optimized_debug==2', {
518 'LinkIncremental': '1', 505 'LinkIncremental': '1',
519 'OptimizeReferences': '2', 506 'OptimizeReferences': '2',
520 'EnableCOMDATFolding': '2', 507 'EnableCOMDATFolding': '2',
521 }], 508 }],
522 ], 509 ],
523 }, 510 },
524 }, 511 },
525 'conditions': [ 512 'conditions': [
526 ['v8_optimized_debug==2', {
527 'defines': [
528 'NDEBUG',
529 ],
530 }, {
531 'defines': [
532 'DEBUG',
533 ],
534 }],
535 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 513 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
536 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 514 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
537 '-Wnon-virtual-dtor', '-Woverloaded-virtual', 515 '-Wnon-virtual-dtor', '-Woverloaded-virtual',
538 '<(wno_array_bounds)', 516 '<(wno_array_bounds)',
539 # Hide some GCC 4.8 warnings: 517 # Hide some GCC 4.8 warnings:
540 # TODO(jbramley): Only enable these on GCC 4.8. 518 # TODO(jbramley): Only enable these on GCC 4.8.
541 '-Wno-unused-local-typedefs', 519 '-Wno-unused-local-typedefs',
542 '-Wno-maybe-uninitialized' ], 520 '-Wno-maybe-uninitialized' ],
543 'conditions': [ 521 'conditions': [
544 ['v8_optimized_debug==0', { 522 ['v8_optimized_debug==0', {
(...skipping 25 matching lines...) Expand all
570 ['v8_optimized_debug==2', { 548 ['v8_optimized_debug==2', {
571 'cflags!': [ 549 'cflags!': [
572 '-O0', 550 '-O0',
573 '-O1', 551 '-O1',
574 '-Os', 552 '-Os',
575 ], 553 ],
576 'cflags': [ 554 'cflags': [
577 '-fdata-sections', 555 '-fdata-sections',
578 '-ffunction-sections', 556 '-ffunction-sections',
579 ], 557 ],
558 'defines': [
559 'OPTIMIZED_DEBUG'
560 ],
580 'conditions': [ 561 'conditions': [
581 # TODO(crbug.com/272548): Avoid -O3 in NaCl 562 # TODO(crbug.com/272548): Avoid -O3 in NaCl
582 ['nacl_target_arch=="none"', { 563 ['nacl_target_arch=="none"', {
583 'cflags': ['-O3'], 564 'cflags': ['-O3'],
584 'cflags!': ['-O2'], 565 'cflags!': ['-O2'],
585 }, { 566 }, {
586 'cflags': ['-O2'], 567 'cflags': ['-O2'],
587 'cflags!': ['-O3'], 568 'cflags!': ['-O3'],
588 }], 569 }],
589 ], 570 ],
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 'OptimizeReferences': '2', 696 'OptimizeReferences': '2',
716 'EnableCOMDATFolding': '2', 697 'EnableCOMDATFolding': '2',
717 }, 698 },
718 }, 699 },
719 }], # OS=="win" 700 }], # OS=="win"
720 ], # conditions 701 ], # conditions
721 }, # Release 702 }, # Release
722 }, # configurations 703 }, # configurations
723 }, # target_defaults 704 }, # target_defaults
724 } 705 }
OLDNEW
« no previous file with comments | « build/standalone.gypi ('k') | include/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698