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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 import sys | 28 import sys |
29 from os.path import join, dirname, abspath | 29 from os.path import join, dirname, abspath |
30 root_dir = dirname(File('SConstruct').rfile().abspath) | 30 root_dir = dirname(File('SConstruct').rfile().abspath) |
31 sys.path.append(join(root_dir, 'tools')) | 31 sys.path.append(join(root_dir, 'tools')) |
32 Import('context object_files') | 32 Import('context object_files') |
33 | 33 |
34 | 34 |
35 SOURCES = { | 35 SOURCES = { |
36 'all': [ | 36 'all': [ |
| 37 'test-accessors.cc', |
37 'test-alloc.cc', | 38 'test-alloc.cc', |
38 'test-api.cc', | 39 'test-api.cc', |
39 'test-ast.cc', | 40 'test-ast.cc', |
40 'test-compiler.cc', | 41 'test-compiler.cc', |
41 'test-conversions.cc', | 42 'test-conversions.cc', |
42 'test-debug.cc', | 43 'test-debug.cc', |
43 'test-decls.cc', | 44 'test-decls.cc', |
44 'test-flags.cc', | 45 'test-flags.cc', |
45 'test-func-name-inference.cc', | 46 'test-func-name-inference.cc', |
46 'test-hashmap.cc', | 47 'test-hashmap.cc', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 context.ApplyEnvOverrides(env) | 85 context.ApplyEnvOverrides(env) |
85 # There seems to be a glitch in the way scons decides where to put | 86 # There seems to be a glitch in the way scons decides where to put |
86 # PDB files when compiling using MSVC so we specify it manually. | 87 # PDB files when compiling using MSVC so we specify it manually. |
87 # This should not affect any other platforms. | 88 # This should not affect any other platforms. |
88 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], | 89 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], |
89 PDB='cctest.exe.pdb') | 90 PDB='cctest.exe.pdb') |
90 | 91 |
91 | 92 |
92 program = Build() | 93 program = Build() |
93 Return('program') | 94 Return('program') |
OLD | NEW |