Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 53 | 53 |
| 54 LIBRARY_FLAGS = { | 54 LIBRARY_FLAGS = { |
| 55 'all': { | 55 'all': { |
| 56 'CPPPATH': [join(root_dir, 'src')], | 56 'CPPPATH': [join(root_dir, 'src')], |
| 57 'regexp:interpreted': { | 57 'regexp:interpreted': { |
| 58 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] | 58 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] |
| 59 }, | 59 }, |
| 60 'mode:debug': { | 60 'mode:debug': { |
| 61 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT'] | 61 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT'] |
| 62 }, | 62 }, |
| 63 'vmstate:on': { | |
| 64 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], | |
| 65 }, | |
| 66 'objectprint:on': { | 63 'objectprint:on': { |
| 67 'CPPDEFINES': ['OBJECT_PRINT'], | 64 'CPPDEFINES': ['OBJECT_PRINT'], |
| 68 }, | 65 }, |
| 69 'protectheap:on': { | 66 'protectheap:on': { |
|
Mads Ager (chromium)
2011/07/13 08:50:28
Ooop. My mistake. I removed all usages of the ENAB
Søren Thygesen Gjesse
2011/07/13 10:00:55
Done.
| |
| 70 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], | 67 'CPPDEFINES': ['ENABLE_HEAP_PROTECTION'], |
| 71 }, | |
| 72 'profilingsupport:on': { | |
| 73 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING' ], | |
| 74 }, | 68 }, |
| 75 'debuggersupport:on': { | 69 'debuggersupport:on': { |
| 76 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 70 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], |
| 77 }, | 71 }, |
| 78 'inspector:on': { | 72 'inspector:on': { |
| 79 'CPPDEFINES': ['INSPECTOR'], | 73 'CPPDEFINES': ['INSPECTOR'], |
| 80 }, | 74 }, |
| 81 'fasttls:on': { | 75 'fasttls:on': { |
| 82 'CPPDEFINES': ['V8_FAST_TLS'], | 76 'CPPDEFINES': ['V8_FAST_TLS'], |
| 83 }, | 77 }, |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 922 'gdbjit': { | 916 'gdbjit': { |
| 923 'values': ['on', 'off'], | 917 'values': ['on', 'off'], |
| 924 'default': 'off', | 918 'default': 'off', |
| 925 'help': 'enable GDB JIT interface' | 919 'help': 'enable GDB JIT interface' |
| 926 }, | 920 }, |
| 927 'library': { | 921 'library': { |
| 928 'values': ['static', 'shared'], | 922 'values': ['static', 'shared'], |
| 929 'default': 'static', | 923 'default': 'static', |
| 930 'help': 'the type of library to produce' | 924 'help': 'the type of library to produce' |
| 931 }, | 925 }, |
| 932 'vmstate': { | |
| 933 'values': ['on', 'off'], | |
| 934 'default': 'off', | |
| 935 'help': 'enable VM state tracking' | |
| 936 }, | |
| 937 'objectprint': { | 926 'objectprint': { |
| 938 'values': ['on', 'off'], | 927 'values': ['on', 'off'], |
| 939 'default': 'off', | 928 'default': 'off', |
| 940 'help': 'enable object printing' | 929 'help': 'enable object printing' |
| 941 }, | 930 }, |
| 942 'protectheap': { | 931 'protectheap': { |
| 943 'values': ['on', 'off'], | 932 'values': ['on', 'off'], |
| 944 'default': 'off', | 933 'default': 'off', |
| 945 'help': 'enable heap protection' | 934 'help': 'enable heap protection' |
| 946 }, | 935 }, |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1483 # version of scons. Also, there's a bug in some revisions that | 1472 # version of scons. Also, there's a bug in some revisions that |
| 1484 # doesn't allow this flag to be set, so we swallow any exceptions. | 1473 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1485 # Lovely. | 1474 # Lovely. |
| 1486 try: | 1475 try: |
| 1487 SetOption('warn', 'no-deprecated') | 1476 SetOption('warn', 'no-deprecated') |
| 1488 except: | 1477 except: |
| 1489 pass | 1478 pass |
| 1490 | 1479 |
| 1491 | 1480 |
| 1492 Build() | 1481 Build() |
| OLD | NEW |