Chromium Code Reviews| 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', 'ast.cc', | 38 'accessors.cc', 'allocation.cc', 'api.cc', 'assembler.cc', |
| 39 'bootstrapper.cc', 'builtins.cc', 'checks.cc', 'code-stubs.cc', | 39 'assembler-irregexp.cc', 'ast.cc', 'bootstrapper.cc', 'builtins.cc', |
| 40 'codegen.cc', 'compilation-cache.cc', 'compiler.cc', 'contexts.cc', | 40 'checks.cc', 'code-stubs.cc', 'codegen.cc', 'compilation-cache.cc', |
| 41 'conversions.cc', 'counters.cc', 'dateparser.cc', 'debug.cc', | 41 'compiler.cc', 'contexts.cc', 'conversions.cc', 'counters.cc', |
| 42 'disassembler.cc', 'execution.cc', 'factory.cc', 'flags.cc', 'frames.cc', | 42 'dateparser.cc', 'debug.cc', 'disassembler.cc', 'execution.cc', |
| 43 'global-handles.cc', 'handles.cc', 'hashmap.cc', 'heap.cc', 'ic.cc', | 43 'factory.cc', 'flags.cc', 'frames.cc', 'global-handles.cc', |
| 44 'jsregexp.cc', 'log.cc', 'mark-compact.cc', 'messages.cc', 'objects.cc', | 44 'handles.cc', 'hashmap.cc', 'heap.cc', 'ic.cc', 'interpreter-irregexp.cc', |
| 45 'parser.cc', 'property.cc', 'rewriter.cc', 'runtime.cc', 'scanner.cc', | 45 'jsregexp.cc', 'log.cc', 'mark-compact.cc', 'messages.cc', |
| 46 'scopeinfo.cc', 'scopes.cc', 'serialize.cc', 'snapshot-common.cc', | 46 'objects.cc', 'parser.cc', 'property.cc', 'regexp-macro-assembler.cc', |
| 47 'regexp-macro-assembler-irregexp.cc', 'rewriter.cc', 'runtime.cc', 'scanner. cc', | |
| 48 'scopeinfo.cc', 'scopes.cc', 'serialize.cc', 'snapshot-common.cc', | |
|
Erik Corry
2008/11/25 11:03:52
This line has a trailing space.
Christian Plesner Hansen
2008/11/26 06:49:56
Fixed
| |
| 47 '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', |
| 48 'unicode.cc', 'usage-analyzer.cc', 'utils.cc', 'v8-counters.cc', | 50 'unicode.cc', 'usage-analyzer.cc', 'utils.cc', 'v8-counters.cc', |
| 49 'v8.cc', 'v8threads.cc', 'variables.cc', 'zone.cc' | 51 'v8.cc', 'v8threads.cc', 'variables.cc', 'zone.cc' |
| 50 ], | 52 ], |
| 51 'arch:arm': ['assembler-arm.cc', 'builtins-arm.cc', 'codegen-arm.cc', | 53 'arch:arm': ['assembler-arm.cc', 'builtins-arm.cc', 'codegen-arm.cc', |
|
Mads Ager (chromium)
2008/11/25 21:09:41
As pointed out by Ivan, there should be a new ARM
| |
| 52 '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', |
| 53 'macro-assembler-arm.cc', 'stub-cache-arm.cc'], | 55 'macro-assembler-arm.cc', 'stub-cache-arm.cc'], |
| 54 'arch:ia32': ['assembler-ia32.cc', 'builtins-ia32.cc', 'codegen-ia32.cc', | 56 'arch:ia32': ['assembler-ia32.cc', 'builtins-ia32.cc', 'codegen-ia32.cc', |
| 55 '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', |
| 56 'macro-assembler-ia32.cc', 'stub-cache-ia32.cc'], | 58 'macro-assembler-ia32.cc', 'regexp-macro-assembler-ia32.cc', |
|
Erik Corry
2008/11/25 11:03:52
This line has a trailing space.
Christian Plesner Hansen
2008/11/26 06:49:56
Fixed
| |
| 59 'stub-cache-ia32.cc'], | |
| 57 'simulator:arm': ['simulator-arm.cc'], | 60 'simulator:arm': ['simulator-arm.cc'], |
| 58 'os:freebsd': ['platform-freebsd.cc'], | 61 'os:freebsd': ['platform-freebsd.cc'], |
| 59 'os:linux': ['platform-linux.cc'], | 62 'os:linux': ['platform-linux.cc'], |
| 60 'os:macos': ['platform-macos.cc'], | 63 'os:macos': ['platform-macos.cc'], |
| 61 'os:nullos': ['platform-nullos.cc'], | 64 'os:nullos': ['platform-nullos.cc'], |
| 62 'os:win32': ['platform-win32.cc'], | 65 'os:win32': ['platform-win32.cc'], |
| 63 'mode:release': [], | 66 'mode:release': [], |
| 64 'mode:debug': ['objects-debug.cc', 'prettyprinter.cc'] | 67 'mode:debug': ['objects-debug.cc', 'prettyprinter.cc'] |
| 65 } | 68 } |
| 66 | 69 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=[' .']) | 155 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=[' .']) |
| 153 else: | 156 else: |
| 154 snapshot_obj = empty_snapshot_obj | 157 snapshot_obj = empty_snapshot_obj |
| 155 | 158 |
| 156 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] | 159 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
| 157 return (library_objs, d8_objs) | 160 return (library_objs, d8_objs) |
| 158 | 161 |
| 159 | 162 |
| 160 (library_objs, d8_objs) = ConfigureObjectFiles() | 163 (library_objs, d8_objs) = ConfigureObjectFiles() |
| 161 Return('library_objs d8_objs') | 164 Return('library_objs d8_objs') |
| OLD | NEW |