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': { | |
70 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], | |
71 }, | |
72 'profilingsupport:on': { | |
73 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING'
], | |
74 }, | |
75 'debuggersupport:on': { | 66 'debuggersupport:on': { |
76 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 67 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], |
77 }, | 68 }, |
78 'inspector:on': { | 69 'inspector:on': { |
79 'CPPDEFINES': ['INSPECTOR'], | 70 'CPPDEFINES': ['INSPECTOR'], |
80 }, | 71 }, |
81 'fasttls:on': { | 72 'fasttls:on': { |
82 'CPPDEFINES': ['V8_FAST_TLS'], | 73 'CPPDEFINES': ['V8_FAST_TLS'], |
83 }, | 74 }, |
84 'liveobjectlist:on': { | 75 'liveobjectlist:on': { |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 'gdbjit': { | 913 'gdbjit': { |
923 'values': ['on', 'off'], | 914 'values': ['on', 'off'], |
924 'default': 'off', | 915 'default': 'off', |
925 'help': 'enable GDB JIT interface' | 916 'help': 'enable GDB JIT interface' |
926 }, | 917 }, |
927 'library': { | 918 'library': { |
928 'values': ['static', 'shared'], | 919 'values': ['static', 'shared'], |
929 'default': 'static', | 920 'default': 'static', |
930 'help': 'the type of library to produce' | 921 'help': 'the type of library to produce' |
931 }, | 922 }, |
932 'vmstate': { | |
933 'values': ['on', 'off'], | |
934 'default': 'off', | |
935 'help': 'enable VM state tracking' | |
936 }, | |
937 'objectprint': { | 923 'objectprint': { |
938 'values': ['on', 'off'], | 924 'values': ['on', 'off'], |
939 'default': 'off', | 925 'default': 'off', |
940 'help': 'enable object printing' | 926 'help': 'enable object printing' |
941 }, | 927 }, |
942 'protectheap': { | |
943 'values': ['on', 'off'], | |
944 'default': 'off', | |
945 'help': 'enable heap protection' | |
946 }, | |
947 'profilingsupport': { | 928 'profilingsupport': { |
948 'values': ['on', 'off'], | 929 'values': ['on', 'off'], |
949 'default': 'on', | 930 'default': 'on', |
950 'help': 'enable profiling of JavaScript code' | 931 'help': 'enable profiling of JavaScript code' |
951 }, | 932 }, |
952 'debuggersupport': { | 933 'debuggersupport': { |
953 'values': ['on', 'off'], | 934 'values': ['on', 'off'], |
954 'default': 'on', | 935 'default': 'on', |
955 'help': 'enable debugging of JavaScript code' | 936 'help': 'enable debugging of JavaScript code' |
956 }, | 937 }, |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 # version of scons. Also, there's a bug in some revisions that | 1464 # 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. | 1465 # doesn't allow this flag to be set, so we swallow any exceptions. |
1485 # Lovely. | 1466 # Lovely. |
1486 try: | 1467 try: |
1487 SetOption('warn', 'no-deprecated') | 1468 SetOption('warn', 'no-deprecated') |
1488 except: | 1469 except: |
1489 pass | 1470 pass |
1490 | 1471 |
1491 | 1472 |
1492 Build() | 1473 Build() |
OLD | NEW |