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