Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Side by Side Diff: SConstruct

Issue 5998001: 1. Added support for object printing for release mode using the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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 | src/SConscript » ('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 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
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
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
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()
OLDNEW
« no previous file with comments | « no previous file | src/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698