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 'gay-fixed.cc', | |
38 'gay-shortest.cc', | 37 'gay-shortest.cc', |
39 'test-accessors.cc', | 38 'test-accessors.cc', |
40 'test-alloc.cc', | 39 'test-alloc.cc', |
41 'test-api.cc', | 40 'test-api.cc', |
42 'test-ast.cc', | 41 'test-ast.cc', |
43 'test-circular-queue.cc', | 42 'test-circular-queue.cc', |
44 'test-compiler.cc', | 43 'test-compiler.cc', |
45 'test-conversions.cc', | 44 'test-conversions.cc', |
46 'test-cpu-profiler.cc', | 45 'test-cpu-profiler.cc', |
47 'test-dataflow.cc', | 46 'test-dataflow.cc', |
48 'test-debug.cc', | 47 'test-debug.cc', |
49 'test-decls.cc', | 48 'test-decls.cc', |
50 'test-diy-fp.cc', | 49 'test-diy-fp.cc', |
51 'test-double.cc', | 50 'test-double.cc', |
52 'test-fast-dtoa.cc', | 51 'test-fast-dtoa.cc', |
53 'test-fixed-dtoa.cc', | |
54 'test-flags.cc', | 52 'test-flags.cc', |
55 'test-func-name-inference.cc', | 53 'test-func-name-inference.cc', |
56 'test-hashmap.cc', | 54 'test-hashmap.cc', |
57 'test-heap.cc', | 55 'test-heap.cc', |
58 'test-heap-profiler.cc', | 56 'test-heap-profiler.cc', |
59 'test-list.cc', | 57 'test-list.cc', |
60 'test-liveedit.cc', | 58 'test-liveedit.cc', |
61 'test-lock.cc', | 59 'test-lock.cc', |
62 'test-log.cc', | 60 'test-log.cc', |
63 'test-log-utils.cc', | 61 'test-log-utils.cc', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 context.ApplyEnvOverrides(env) | 99 context.ApplyEnvOverrides(env) |
102 # There seems to be a glitch in the way scons decides where to put | 100 # There seems to be a glitch in the way scons decides where to put |
103 # PDB files when compiling using MSVC so we specify it manually. | 101 # PDB files when compiling using MSVC so we specify it manually. |
104 # This should not affect any other platforms. | 102 # This should not affect any other platforms. |
105 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], | 103 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], |
106 PDB='cctest.exe.pdb') | 104 PDB='cctest.exe.pdb') |
107 | 105 |
108 | 106 |
109 program = Build() | 107 program = Build() |
110 Return('program') | 108 Return('program') |
OLD | NEW |