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