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

Side by Side Diff: build/common.gypi

Issue 15821014: Merged r15071 into trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « build/android.gypi ('k') | src/version.cc » ('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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 ], 521 ],
522 }, # Debug 522 }, # Debug
523 'Release': { 523 'Release': {
524 'variables': { 524 'variables': {
525 'v8_enable_extra_checks%': 0, 525 'v8_enable_extra_checks%': 0,
526 }, 526 },
527 'conditions': [ 527 'conditions': [
528 ['v8_enable_extra_checks==1', { 528 ['v8_enable_extra_checks==1', {
529 'defines': ['ENABLE_EXTRA_CHECKS',], 529 'defines': ['ENABLE_EXTRA_CHECKS',],
530 }], 530 }],
531 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ 531 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
532 or OS=="android"', {
533 'cflags!': [ 532 'cflags!': [
534 '-O2', 533 '-O2',
535 '-Os', 534 '-Os',
536 ], 535 ],
537 'cflags': [ 536 'cflags': [
538 '-fdata-sections', 537 '-fdata-sections',
539 '-ffunction-sections', 538 '-ffunction-sections',
540 '-O3', 539 '-O3',
541 ], 540 ],
542 'conditions': [ 541 'conditions': [
543 [ 'gcc_version==44 and clang==0', { 542 [ 'gcc_version==44 and clang==0', {
544 'cflags': [ 543 'cflags': [
545 # Avoid crashes with gcc 4.4 in the v8 test suite. 544 # Avoid crashes with gcc 4.4 in the v8 test suite.
546 '-fno-tree-vrp', 545 '-fno-tree-vrp',
547 ], 546 ],
548 }], 547 }],
549 ], 548 ],
550 }], 549 }],
550 ['OS=="android"', {
551 'cflags!': [
552 '-O3',
553 '-Os',
554 ],
555 'cflags': [
556 '-fdata-sections',
557 '-ffunction-sections',
558 '-O2',
559 ],
560 'conditions': [
561 [ 'gcc_version==44 and clang==0', {
562 'cflags': [
563 # Avoid crashes with gcc 4.4 in the v8 test suite.
564 '-fno-tree-vrp',
565 ],
566 }],
567 ],
568 }],
551 ['OS=="mac"', { 569 ['OS=="mac"', {
552 'xcode_settings': { 570 'xcode_settings': {
553 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 571 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
554 572
555 # -fstrict-aliasing. Mainline gcc 573 # -fstrict-aliasing. Mainline gcc
556 # enables this at -O2 and above, 574 # enables this at -O2 and above,
557 # but Apple gcc does not unless it 575 # but Apple gcc does not unless it
558 # is specified explicitly. 576 # is specified explicitly.
559 'GCC_STRICT_ALIASING': 'YES', 577 'GCC_STRICT_ALIASING': 'YES',
560 }, 578 },
(...skipping 23 matching lines...) Expand all
584 'OptimizeReferences': '2', 602 'OptimizeReferences': '2',
585 'EnableCOMDATFolding': '2', 603 'EnableCOMDATFolding': '2',
586 }, 604 },
587 }, 605 },
588 }], # OS=="win" 606 }], # OS=="win"
589 ], # conditions 607 ], # conditions
590 }, # Release 608 }, # Release
591 }, # configurations 609 }, # configurations
592 }, # target_defaults 610 }, # target_defaults
593 } 611 }
OLDNEW
« no previous file with comments | « build/android.gypi ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698