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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 mksnapshot_env = env.Copy() | 257 mksnapshot_env = env.Copy() |
258 mksnapshot_env.Replace(**context.flags['mksnapshot']) | 258 mksnapshot_env.Replace(**context.flags['mksnapshot']) |
259 mksnapshot_src = 'mksnapshot.cc' | 259 mksnapshot_src = 'mksnapshot.cc' |
260 mksnapshot = mksnapshot_env.Program('mksnapshot', [mksnapshot_src, libraries_o
bj, non_snapshot_files, empty_snapshot_obj], PDB='mksnapshot.exe.pdb') | 260 mksnapshot = mksnapshot_env.Program('mksnapshot', [mksnapshot_src, libraries_o
bj, non_snapshot_files, empty_snapshot_obj], PDB='mksnapshot.exe.pdb') |
261 if context.use_snapshot: | 261 if context.use_snapshot: |
262 if context.build_snapshot: | 262 if context.build_snapshot: |
263 snapshot_cc = env.Snapshot('snapshot.cc', mksnapshot, LOGFILE=File('snapsh
ot.log').abspath) | 263 snapshot_cc = env.Snapshot('snapshot.cc', mksnapshot, LOGFILE=File('snapsh
ot.log').abspath) |
264 else: | 264 else: |
265 snapshot_cc = Command('snapshot.cc', [], []) | 265 snapshot_cc = Command('snapshot.cc', [], []) |
266 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) | 266 snapshot_obj = context.ConfigureObject(env, snapshot_cc, CPPPATH=['.']) |
267 libraries_obj = context.ConfigureObject(env, libraries_empty_src, CPPPATH=['
.']) | |
268 else: | 267 else: |
269 snapshot_obj = empty_snapshot_obj | 268 snapshot_obj = empty_snapshot_obj |
270 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] | 269 library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
271 return (library_objs, d8_objs, [mksnapshot]) | 270 return (library_objs, d8_objs, [mksnapshot]) |
272 | 271 |
273 | 272 |
274 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() | 273 (library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() |
275 Return('library_objs d8_objs mksnapshot') | 274 Return('library_objs d8_objs mksnapshot') |
OLD | NEW |