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: SConstruct

Issue 7574008: Specify stack size for win64 when linking d8. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed changed concerning d8 in gyp build. Created 9 years, 4 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 | « no previous file | build/common.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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 'msvc': { 429 'msvc': {
430 'all': { 430 'all': {
431 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], 431 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'],
432 'LIBS': ['winmm', 'ws2_32'] 432 'LIBS': ['winmm', 'ws2_32']
433 }, 433 },
434 'arch:ia32': { 434 'arch:ia32': {
435 'CPPDEFINES': ['V8_TARGET_ARCH_IA32'] 435 'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
436 }, 436 },
437 'arch:x64': { 437 'arch:x64': {
438 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], 438 'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
439 'LINKFLAGS': ['/STACK:2091752'] 439 'LINKFLAGS': ['/STACK:2097152']
440 }, 440 },
441 } 441 }
442 } 442 }
443 443
444 444
445 SAMPLE_FLAGS = { 445 SAMPLE_FLAGS = {
446 'all': { 446 'all': {
447 'CPPPATH': [join(abspath('.'), 'include')], 447 'CPPPATH': [join(abspath('.'), 'include')],
448 'library:shared': { 448 'library:shared': {
449 'CPPDEFINES': ['USING_V8_SHARED'] 449 'CPPDEFINES': ['USING_V8_SHARED']
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 'pgo:optimize': { 594 'pgo:optimize': {
595 'LINKFLAGS': ['/LTCG:PGO'] 595 'LINKFLAGS': ['/LTCG:PGO']
596 } 596 }
597 }, 597 },
598 'arch:ia32': { 598 'arch:ia32': {
599 'CPPDEFINES': ['V8_TARGET_ARCH_IA32', 'WIN32'], 599 'CPPDEFINES': ['V8_TARGET_ARCH_IA32', 'WIN32'],
600 'LINKFLAGS': ['/MACHINE:X86'] 600 'LINKFLAGS': ['/MACHINE:X86']
601 }, 601 },
602 'arch:x64': { 602 'arch:x64': {
603 'CPPDEFINES': ['V8_TARGET_ARCH_X64', 'WIN32'], 603 'CPPDEFINES': ['V8_TARGET_ARCH_X64', 'WIN32'],
604 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2091752'] 604 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2097152']
605 }, 605 },
606 'mode:debug': { 606 'mode:debug': {
607 'CCFLAGS': ['/Od'], 607 'CCFLAGS': ['/Od'],
608 'LINKFLAGS': ['/DEBUG'], 608 'LINKFLAGS': ['/DEBUG'],
609 'CPPDEFINES': ['DEBUG'], 609 'CPPDEFINES': ['DEBUG'],
610 'msvcrt:static': { 610 'msvcrt:static': {
611 'CCFLAGS': ['/MTd'] 611 'CCFLAGS': ['/MTd']
612 }, 612 },
613 'msvcrt:shared': { 613 'msvcrt:shared': {
614 'CCFLAGS': ['/MDd'] 614 'CCFLAGS': ['/MDd']
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 'pgo:optimize': { 749 'pgo:optimize': {
750 'LINKFLAGS': ['/LTCG:PGO'] 750 'LINKFLAGS': ['/LTCG:PGO']
751 } 751 }
752 }, 752 },
753 'arch:ia32': { 753 'arch:ia32': {
754 'CPPDEFINES': ['V8_TARGET_ARCH_IA32', 'WIN32'], 754 'CPPDEFINES': ['V8_TARGET_ARCH_IA32', 'WIN32'],
755 'LINKFLAGS': ['/MACHINE:X86'] 755 'LINKFLAGS': ['/MACHINE:X86']
756 }, 756 },
757 'arch:x64': { 757 'arch:x64': {
758 'CPPDEFINES': ['V8_TARGET_ARCH_X64', 'WIN32'], 758 'CPPDEFINES': ['V8_TARGET_ARCH_X64', 'WIN32'],
759 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2091752'] 759 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2097152']
760 }, 760 },
761 'mode:debug': { 761 'mode:debug': {
762 'CCFLAGS': ['/Od'], 762 'CCFLAGS': ['/Od'],
763 'LINKFLAGS': ['/DEBUG'], 763 'LINKFLAGS': ['/DEBUG'],
764 'CPPDEFINES': ['DEBUG'], 764 'CPPDEFINES': ['DEBUG'],
765 'msvcrt:static': { 765 'msvcrt:static': {
766 'CCFLAGS': ['/MTd'] 766 'CCFLAGS': ['/MTd']
767 }, 767 },
768 'msvcrt:shared': { 768 'msvcrt:shared': {
769 'CCFLAGS': ['/MDd'] 769 'CCFLAGS': ['/MDd']
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 'compress_startup_data:bz2': { 815 'compress_startup_data:bz2': {
816 'CPPDEFINES': ['COMPRESS_STARTUP_DATA_BZ2'], 816 'CPPDEFINES': ['COMPRESS_STARTUP_DATA_BZ2'],
817 'os:linux': { 817 'os:linux': {
818 'LIBS': ['bz2'] 818 'LIBS': ['bz2']
819 } 819 }
820 } 820 }
821 }, 821 },
822 'msvc': { 822 'msvc': {
823 'all': { 823 'all': {
824 'LIBS': ['winmm', 'ws2_32'] 824 'LIBS': ['winmm', 'ws2_32']
825 },
826 'verbose:off': {
827 'CCFLAGS': ['/nologo'],
828 'LINKFLAGS': ['/NOLOGO']
829 },
830 'verbose:on': {
831 'LINKFLAGS': ['/VERBOSE']
832 },
833 'prof:on': {
834 'LINKFLAGS': ['/MAP']
835 },
836 'mode:release': {
837 'CCFLAGS': ['/O2'],
838 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF'],
839 'msvcrt:static': {
840 'CCFLAGS': ['/MT']
841 },
842 'msvcrt:shared': {
843 'CCFLAGS': ['/MD']
844 },
845 'msvcltcg:on': {
846 'CCFLAGS': ['/GL'],
847 'pgo:off': {
848 'LINKFLAGS': ['/LTCG'],
849 },
850 },
851 'pgo:instrument': {
852 'LINKFLAGS': ['/LTCG:PGI']
853 },
854 'pgo:optimize': {
855 'LINKFLAGS': ['/LTCG:PGO']
856 }
857 },
858 'arch:ia32': {
859 'CPPDEFINES': ['V8_TARGET_ARCH_IA32', 'WIN32'],
860 'LINKFLAGS': ['/MACHINE:X86']
861 },
862 'arch:x64': {
863 'CPPDEFINES': ['V8_TARGET_ARCH_X64', 'WIN32'],
864 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2097152']
865 },
866 'mode:debug': {
867 'CCFLAGS': ['/Od'],
868 'LINKFLAGS': ['/DEBUG'],
869 'CPPDEFINES': ['DEBUG'],
870 'msvcrt:static': {
871 'CCFLAGS': ['/MTd']
872 },
873 'msvcrt:shared': {
874 'CCFLAGS': ['/MDd']
875 }
825 } 876 }
826 } 877 }
827 } 878 }
828 879
829 880
830 SUFFIXES = { 881 SUFFIXES = {
831 'release': '', 882 'release': '',
832 'debug': '_g' 883 'debug': '_g'
833 } 884 }
834 885
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 # version of scons. Also, there's a bug in some revisions that 1527 # version of scons. Also, there's a bug in some revisions that
1477 # doesn't allow this flag to be set, so we swallow any exceptions. 1528 # doesn't allow this flag to be set, so we swallow any exceptions.
1478 # Lovely. 1529 # Lovely.
1479 try: 1530 try:
1480 SetOption('warn', 'no-deprecated') 1531 SetOption('warn', 'no-deprecated')
1481 except: 1532 except:
1482 pass 1533 pass
1483 1534
1484 1535
1485 Build() 1536 Build()
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698