| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 219 |
| 220 LIBRARY_FILES = ''' | 220 LIBRARY_FILES = ''' |
| 221 runtime.js | 221 runtime.js |
| 222 v8natives.js | 222 v8natives.js |
| 223 array.js | 223 array.js |
| 224 string.js | 224 string.js |
| 225 uri.js | 225 uri.js |
| 226 math.js | 226 math.js |
| 227 messages.js | 227 messages.js |
| 228 apinatives.js | 228 apinatives.js |
| 229 debug-delay.js | 229 date.js |
| 230 mirror-delay.js | 230 regexp.js |
| 231 date-delay.js | 231 json.js |
| 232 regexp-delay.js | 232 mirror-debugger.js |
| 233 json-delay.js | 233 debug-debugger.js |
| 234 '''.split() | 234 '''.split() |
| 235 | 235 |
| 236 | 236 |
| 237 def Abort(message): | 237 def Abort(message): |
| 238 print message | 238 print message |
| 239 sys.exit(1) | 239 sys.exit(1) |
| 240 | 240 |
| 241 | 241 |
| 242 def ConfigureObjectFiles(): | 242 def ConfigureObjectFiles(): |
| 243 env = Environment() | 243 env = Environment() |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 snapshot_cc = Command('snapshot.cc', [], []) | 283 snapshot_cc = Command('snapshot.cc', [], []) |
| 284 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) | 284 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) |
| 285 else: | 285 else: |
| 286 snapshot_obj = empty_snapshot_obj | 286 snapshot_obj = empty_snapshot_obj |
| 287 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] | 287 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
| 288 return (library_objs, d8_objs, [mksnapshot]) | 288 return (library_objs, d8_objs, [mksnapshot]) |
| 289 | 289 |
| 290 | 290 |
| 291 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() | 291 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() |
| 292 Return('library_objs d8_objs mksnapshot') | 292 Return('library_objs d8_objs mksnapshot') |
| OLD | NEW |