| OLD | NEW |
| 1 # Copyright 2010 the V8 project authors. All rights reserved. | 1 # Copyright 2010 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 'LINKFLAGS': ['-m32'] | 516 'LINKFLAGS': ['-m32'] |
| 517 }, | 517 }, |
| 518 'simulator:mips': { | 518 'simulator:mips': { |
| 519 'CCFLAGS': ['-m32'], | 519 'CCFLAGS': ['-m32'], |
| 520 'LINKFLAGS': ['-m32'] | 520 'LINKFLAGS': ['-m32'] |
| 521 }, | 521 }, |
| 522 'mode:release': { | 522 'mode:release': { |
| 523 'CCFLAGS': ['-O2'] | 523 'CCFLAGS': ['-O2'] |
| 524 }, | 524 }, |
| 525 'mode:debug': { | 525 'mode:debug': { |
| 526 'CCFLAGS': ['-g', '-O0'] | 526 'CCFLAGS': ['-g', '-O0'], |
| 527 'CPPDEFINES': ['DEBUG'] |
| 527 }, | 528 }, |
| 528 'prof:oprofile': { | 529 'prof:oprofile': { |
| 529 'LIBPATH': ['/usr/lib32', '/usr/lib32/oprofile'], | 530 'LIBPATH': ['/usr/lib32', '/usr/lib32/oprofile'], |
| 530 'LIBS': ['opagent'] | 531 'LIBS': ['opagent'] |
| 531 } | 532 } |
| 532 }, | 533 }, |
| 533 'msvc': { | 534 'msvc': { |
| 534 'all': { | 535 'all': { |
| 535 'LIBS': ['winmm', 'ws2_32'] | 536 'LIBS': ['winmm', 'ws2_32'] |
| 536 }, | 537 }, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 }, | 572 }, |
| 572 'arch:ia32': { | 573 'arch:ia32': { |
| 573 'CPPDEFINES': ['V8_TARGET_ARCH_IA32'], | 574 'CPPDEFINES': ['V8_TARGET_ARCH_IA32'], |
| 574 'LINKFLAGS': ['/MACHINE:X86'] | 575 'LINKFLAGS': ['/MACHINE:X86'] |
| 575 }, | 576 }, |
| 576 'arch:x64': { | 577 'arch:x64': { |
| 577 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], | 578 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], |
| 578 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2091752'] | 579 'LINKFLAGS': ['/MACHINE:X64', '/STACK:2091752'] |
| 579 }, | 580 }, |
| 580 'mode:debug': { | 581 'mode:debug': { |
| 581 'CCFLAGS': ['/Od'], | 582 'CCFLAGS': ['/Od'], |
| 582 'LINKFLAGS': ['/DEBUG'], | 583 'LINKFLAGS': ['/DEBUG'], |
| 584 'CPPDEFINES': ['DEBUG'], |
| 583 'msvcrt:static': { | 585 'msvcrt:static': { |
| 584 'CCFLAGS': ['/MTd'] | 586 'CCFLAGS': ['/MTd'] |
| 585 }, | 587 }, |
| 586 'msvcrt:shared': { | 588 'msvcrt:shared': { |
| 587 'CCFLAGS': ['/MDd'] | 589 'CCFLAGS': ['/MDd'] |
| 588 } | 590 } |
| 589 } | 591 } |
| 590 } | 592 } |
| 591 } | 593 } |
| 592 | 594 |
| 593 | 595 |
| 594 D8_FLAGS = { | 596 D8_FLAGS = { |
| 595 'gcc': { | 597 'gcc': { |
| 596 'console:readline': { | 598 'console:readline': { |
| 597 'LIBS': ['readline'] | 599 'LIBS': ['readline'] |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 # version of scons. Also, there's a bug in some revisions that | 1148 # version of scons. Also, there's a bug in some revisions that |
| 1147 # doesn't allow this flag to be set, so we swallow any exceptions. | 1149 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1148 # Lovely. | 1150 # Lovely. |
| 1149 try: | 1151 try: |
| 1150 SetOption('warn', 'no-deprecated') | 1152 SetOption('warn', 'no-deprecated') |
| 1151 except: | 1153 except: |
| 1152 pass | 1154 pass |
| 1153 | 1155 |
| 1154 | 1156 |
| 1155 Build() | 1157 Build() |
| OLD | NEW |