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 17 matching lines...) Expand all Loading... |
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', | 37 'gay-fixed.cc', |
| 38 'gay-precision.cc', |
38 'gay-shortest.cc', | 39 'gay-shortest.cc', |
39 'test-accessors.cc', | 40 'test-accessors.cc', |
40 'test-alloc.cc', | 41 'test-alloc.cc', |
41 'test-api.cc', | 42 'test-api.cc', |
42 'test-ast.cc', | 43 'test-ast.cc', |
43 'test-circular-queue.cc', | 44 'test-circular-queue.cc', |
44 'test-compiler.cc', | 45 'test-compiler.cc', |
45 'test-conversions.cc', | 46 'test-conversions.cc', |
46 'test-cpu-profiler.cc', | 47 'test-cpu-profiler.cc', |
47 'test-dataflow.cc', | 48 'test-dataflow.cc', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 context.ApplyEnvOverrides(env) | 102 context.ApplyEnvOverrides(env) |
102 # There seems to be a glitch in the way scons decides where to put | 103 # 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. | 104 # PDB files when compiling using MSVC so we specify it manually. |
104 # This should not affect any other platforms. | 105 # This should not affect any other platforms. |
105 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], | 106 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], |
106 PDB='cctest.exe.pdb') | 107 PDB='cctest.exe.pdb') |
107 | 108 |
108 | 109 |
109 program = Build() | 110 program = Build() |
110 Return('program') | 111 Return('program') |
OLD | NEW |