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 js2c | 32 import js2c |
33 Import('context') | 33 Import('context') |
34 | 34 |
35 | 35 |
36 SOURCES = { | 36 SOURCES = { |
37 'all': [ | 37 'all': [ |
38 'accessors.cc', 'allocation.cc', 'api.cc', 'assembler.cc', | 38 'accessors.cc', 'allocation.cc', 'api.cc', 'assembler.cc', 'ast.cc', |
39 'assembler-irregexp.cc', 'ast.cc', 'bootstrapper.cc', 'builtins.cc', | 39 'bootstrapper.cc', 'builtins.cc', 'checks.cc', 'code-stubs.cc', |
40 'checks.cc', 'code-stubs.cc', 'codegen.cc', 'compilation-cache.cc', | 40 'codegen.cc', 'compilation-cache.cc', 'compiler.cc', 'contexts.cc', |
41 'compiler.cc', 'contexts.cc', 'conversions.cc', 'counters.cc', | 41 'conversions.cc', 'counters.cc', 'dateparser.cc', 'debug.cc', |
42 'dateparser.cc', 'debug.cc', 'disassembler.cc', 'execution.cc', | 42 'disassembler.cc', 'execution.cc', 'factory.cc', 'flags.cc', 'frames.cc', |
43 'factory.cc', 'flags.cc', 'frames.cc', 'global-handles.cc', | 43 'global-handles.cc', 'handles.cc', 'hashmap.cc', 'heap.cc', 'ic.cc', |
44 'handles.cc', 'hashmap.cc', 'heap.cc', 'ic.cc', 'interpreter-irregexp.cc', | 44 'interpreter-irregexp.cc', 'jsregexp.cc', 'log.cc', 'mark-compact.cc', |
45 'jsregexp.cc', 'log.cc', 'mark-compact.cc', 'messages.cc', | 45 'messages.cc', 'objects.cc', 'parser.cc', 'property.cc', |
46 'objects.cc', 'parser.cc', 'property.cc', 'regexp-macro-assembler.cc', | 46 'regexp-macro-assembler.cc', 'regexp-macro-assembler-irregexp.cc', |
47 'regexp-macro-assembler-irregexp.cc', 'rewriter.cc', 'runtime.cc', 'scanner.
cc', | 47 'rewriter.cc', 'runtime.cc', 'scanner.cc', 'scopeinfo.cc', 'scopes.cc', |
48 'scopeinfo.cc', 'scopes.cc', 'serialize.cc', 'snapshot-common.cc', | 48 'serialize.cc', 'snapshot-common.cc', 'spaces.cc', 'string-stream.cc', |
49 'spaces.cc', 'string-stream.cc', 'stub-cache.cc', 'token.cc', 'top.cc', | 49 'stub-cache.cc', 'token.cc', 'top.cc', 'unicode.cc', 'usage-analyzer.cc', |
50 'unicode.cc', 'usage-analyzer.cc', 'utils.cc', 'v8-counters.cc', | 50 'utils.cc', 'v8-counters.cc', 'v8.cc', 'v8threads.cc', 'variables.cc', |
51 'v8.cc', 'v8threads.cc', 'variables.cc', 'zone.cc' | 51 'zone.cc' |
52 ], | 52 ], |
53 'arch:arm': ['assembler-arm.cc', 'builtins-arm.cc', 'codegen-arm.cc', | 53 'arch:arm': ['assembler-arm.cc', 'builtins-arm.cc', 'codegen-arm.cc', |
54 'cpu-arm.cc', 'disasm-arm.cc', 'frames-arm.cc', 'ic-arm.cc', | 54 'cpu-arm.cc', 'disasm-arm.cc', 'frames-arm.cc', 'ic-arm.cc', |
55 'macro-assembler-arm.cc', 'regexp-macro-assembler-arm.cc', | 55 'macro-assembler-arm.cc', 'regexp-macro-assembler-arm.cc', |
56 'stub-cache-arm.cc'], | 56 'stub-cache-arm.cc'], |
57 'arch:ia32': ['assembler-ia32.cc', 'builtins-ia32.cc', 'codegen-ia32.cc', | 57 'arch:ia32': ['assembler-ia32.cc', 'builtins-ia32.cc', 'codegen-ia32.cc', |
58 'cpu-ia32.cc', 'disasm-ia32.cc', 'frames-ia32.cc', 'ic-ia32.cc', | 58 'cpu-ia32.cc', 'disasm-ia32.cc', 'frames-ia32.cc', 'ic-ia32.cc', |
59 'macro-assembler-ia32.cc', 'regexp-macro-assembler-ia32.cc', | 59 'macro-assembler-ia32.cc', 'regexp-macro-assembler-ia32.cc', |
60 'stub-cache-ia32.cc'], | 60 'stub-cache-ia32.cc'], |
61 'simulator:arm': ['simulator-arm.cc'], | 61 'simulator:arm': ['simulator-arm.cc'], |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=['
.']) | 158 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=['
.']) |
159 else: | 159 else: |
160 snapshot_obj = empty_snapshot_obj | 160 snapshot_obj = empty_snapshot_obj |
161 | 161 |
162 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] | 162 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
163 return (library_objs, d8_objs) | 163 return (library_objs, d8_objs) |
164 | 164 |
165 | 165 |
166 (library_objs, d8_objs) = ConfigureObjectFiles() | 166 (library_objs, d8_objs) = ConfigureObjectFiles() |
167 Return('library_objs d8_objs') | 167 Return('library_objs d8_objs') |
OLD | NEW |