OLD | NEW |
1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'all': { | 98 'all': { |
99 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], | 99 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], |
100 'CPPPATH': [join(root_dir, 'src')], | 100 'CPPPATH': [join(root_dir, 'src')], |
101 'regexp:native': { | 101 'regexp:native': { |
102 'arch:ia32' : { | 102 'arch:ia32' : { |
103 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 103 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
104 }, | 104 }, |
105 'arch:x64' : { | 105 'arch:x64' : { |
106 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 106 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
107 } | 107 } |
| 108 }, |
| 109 'mode:debug': { |
| 110 'CPPDEFINES': ['V8_ENABLE_CHECKS'] |
108 } | 111 } |
109 }, | 112 }, |
110 'gcc': { | 113 'gcc': { |
111 'all': { | 114 'all': { |
112 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 115 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
113 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 116 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
114 }, | 117 }, |
115 'mode:debug': { | 118 'mode:debug': { |
116 'CCFLAGS': ['-g', '-O0'], | 119 'CCFLAGS': ['-g', '-O0'], |
117 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], | 120 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 # version of scons. Also, there's a bug in some revisions that | 920 # version of scons. Also, there's a bug in some revisions that |
918 # doesn't allow this flag to be set, so we swallow any exceptions. | 921 # doesn't allow this flag to be set, so we swallow any exceptions. |
919 # Lovely. | 922 # Lovely. |
920 try: | 923 try: |
921 SetOption('warn', 'no-deprecated') | 924 SetOption('warn', 'no-deprecated') |
922 except: | 925 except: |
923 pass | 926 pass |
924 | 927 |
925 | 928 |
926 Build() | 929 Build() |
OLD | NEW |