| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0
/lib/gcc/arm-eabi/4.4.0/interwork/libgcc.a', | 101 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0
/lib/gcc/arm-eabi/4.4.0/interwork/libgcc.a', |
| 102 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; | 102 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; |
| 103 | 103 |
| 104 LIBRARY_FLAGS = { | 104 LIBRARY_FLAGS = { |
| 105 'all': { | 105 'all': { |
| 106 'CPPPATH': [join(root_dir, 'src')], | 106 'CPPPATH': [join(root_dir, 'src')], |
| 107 'regexp:interpreted': { | 107 'regexp:interpreted': { |
| 108 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] | 108 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] |
| 109 }, | 109 }, |
| 110 'mode:debug': { | 110 'mode:debug': { |
| 111 'CPPDEFINES': ['V8_ENABLE_CHECKS'] | 111 'CPPDEFINES': ['V8_ENABLE_CHECKS', 'OBJECT_PRINT'] |
| 112 }, | 112 }, |
| 113 'vmstate:on': { | 113 'vmstate:on': { |
| 114 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], | 114 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], |
| 115 }, | 115 }, |
| 116 'objectprint:on': { |
| 117 'CPPDEFINES': ['OBJECT_PRINT'], |
| 118 }, |
| 116 'protectheap:on': { | 119 'protectheap:on': { |
| 117 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], | 120 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], |
| 118 }, | 121 }, |
| 119 'profilingsupport:on': { | 122 'profilingsupport:on': { |
| 120 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING'
], | 123 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_LOGGING_AND_PROFILING'
], |
| 121 }, | 124 }, |
| 122 'debuggersupport:on': { | 125 'debuggersupport:on': { |
| 123 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 126 'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], |
| 124 } | 127 } |
| 125 }, | 128 }, |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 'library': { | 707 'library': { |
| 705 'values': ['static', 'shared'], | 708 'values': ['static', 'shared'], |
| 706 'default': 'static', | 709 'default': 'static', |
| 707 'help': 'the type of library to produce' | 710 'help': 'the type of library to produce' |
| 708 }, | 711 }, |
| 709 'vmstate': { | 712 'vmstate': { |
| 710 'values': ['on', 'off'], | 713 'values': ['on', 'off'], |
| 711 'default': 'off', | 714 'default': 'off', |
| 712 'help': 'enable VM state tracking' | 715 'help': 'enable VM state tracking' |
| 713 }, | 716 }, |
| 717 'objectprint': { |
| 718 'values': ['on', 'off'], |
| 719 'default': 'off', |
| 720 'help': 'enable object printing' |
| 721 }, |
| 714 'protectheap': { | 722 'protectheap': { |
| 715 'values': ['on', 'off'], | 723 'values': ['on', 'off'], |
| 716 'default': 'off', | 724 'default': 'off', |
| 717 'help': 'enable heap protection' | 725 'help': 'enable heap protection' |
| 718 }, | 726 }, |
| 719 'profilingsupport': { | 727 'profilingsupport': { |
| 720 'values': ['on', 'off'], | 728 'values': ['on', 'off'], |
| 721 'default': 'on', | 729 'default': 'on', |
| 722 'help': 'enable profiling of JavaScript code' | 730 'help': 'enable profiling of JavaScript code' |
| 723 }, | 731 }, |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1148 # version of scons. Also, there's a bug in some revisions that | 1156 # version of scons. Also, there's a bug in some revisions that |
| 1149 # doesn't allow this flag to be set, so we swallow any exceptions. | 1157 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1150 # Lovely. | 1158 # Lovely. |
| 1151 try: | 1159 try: |
| 1152 SetOption('warn', 'no-deprecated') | 1160 SetOption('warn', 'no-deprecated') |
| 1153 except: | 1161 except: |
| 1154 pass | 1162 pass |
| 1155 | 1163 |
| 1156 | 1164 |
| 1157 Build() | 1165 Build() |
| OLD | NEW |