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