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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'mode:debug': [ | 76 'mode:debug': [ |
77 'objects-debug.cc', 'prettyprinter.cc', 'regexp-macro-assembler-tracer.cc' | 77 'objects-debug.cc', 'prettyprinter.cc', 'regexp-macro-assembler-tracer.cc' |
78 ] | 78 ] |
79 } | 79 } |
80 | 80 |
81 | 81 |
82 D8_FILES = { | 82 D8_FILES = { |
83 'all': [ | 83 'all': [ |
84 'd8.cc', 'd8-debug.cc' | 84 'd8.cc', 'd8-debug.cc' |
85 ], | 85 ], |
| 86 'os:linux': [ |
| 87 'd8-posix.cc' |
| 88 ], |
| 89 'os:macos': [ |
| 90 'd8-posix.cc' |
| 91 ], |
| 92 'os:android': [ |
| 93 'd8-posix.cc' |
| 94 ], |
| 95 'os:freebsd': [ |
| 96 'd8-posix.cc' |
| 97 ], |
| 98 'os:windows': [ |
| 99 'd8-windows.cc' |
| 100 ], |
| 101 'os:nullos': [ |
| 102 'd8-windows.cc' # Empty implementation at the moment. |
| 103 ], |
86 'console:readline': [ | 104 'console:readline': [ |
87 'd8-readline.cc' | 105 'd8-readline.cc' |
88 ] | 106 ] |
89 } | 107 } |
90 | 108 |
91 | 109 |
92 LIBRARY_FILES = ''' | 110 LIBRARY_FILES = ''' |
93 runtime.js | 111 runtime.js |
94 v8natives.js | 112 v8natives.js |
95 array.js | 113 array.js |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) | 173 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) |
156 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=['
.']) | 174 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=['
.']) |
157 else: | 175 else: |
158 snapshot_obj = empty_snapshot_obj | 176 snapshot_obj = empty_snapshot_obj |
159 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] | 177 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
160 return (library_objs, d8_objs, [mksnapshot]) | 178 return (library_objs, d8_objs, [mksnapshot]) |
161 | 179 |
162 | 180 |
163 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() | 181 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() |
164 Return('library_objs d8_objs mksnapshot') | 182 Return('library_objs d8_objs mksnapshot') |
OLD | NEW |