OLD | NEW |
---|---|
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
294 '../../src/snapshot/natives-external.cc', | 294 '../../src/snapshot/natives-external.cc', |
295 '../../src/snapshot/snapshot-external.cc', | 295 '../../src/snapshot/snapshot-external.cc', |
296 ], | 296 ], |
297 'actions': [ | 297 'actions': [ |
298 { | 298 { |
299 'action_name': 'run_mksnapshot (external)', | 299 'action_name': 'run_mksnapshot (external)', |
300 'inputs': [ | 300 'inputs': [ |
301 '<(mksnapshot_exec)', | 301 '<(mksnapshot_exec)', |
302 ], | 302 ], |
303 'variables': { | 303 'variables': { |
304 'mksnapshot_flags': [ | 304 'mksnapshot_flags': [ |
Michael Achenbach
2016/02/03 15:48:06
Hmm, my suspicion is that these mksnapshot_flags a
| |
305 '--log-snapshot-positions', | 305 '--log-snapshot-positions', |
306 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | 306 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
307 ], | 307 ], |
308 'conditions': [ | 308 'conditions': [ |
309 ['v8_random_seed!=0', { | 309 ['v8_random_seed!=0', { |
310 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 310 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
311 }], | 311 }], |
312 ['v8_vector_stores!=0', { | 312 ['v8_vector_stores!=0', { |
313 'mksnapshot_flags': ['--vector-stores'], | 313 'mksnapshot_flags': ['--vector-stores'], |
314 }], | 314 }], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
346 'action': [ | 346 'action': [ |
347 '<(mksnapshot_exec)', | 347 '<(mksnapshot_exec)', |
348 '<@(mksnapshot_flags)', | 348 '<@(mksnapshot_flags)', |
349 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', | 349 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', |
350 '<(embed_script)', | 350 '<(embed_script)', |
351 ], | 351 ], |
352 }], | 352 }], |
353 ], | 353 ], |
354 }, | 354 }, |
355 ], | 355 ], |
356 # Extra snapshot blob for ignition. Separate host toolset is not | |
357 # supported. | |
358 'conditions': [ | |
359 ['v8_separate_ignition_snapshot==1', { | |
360 # This is concatenated to the other actions list of | |
361 # v8_external_snapshot. | |
362 'actions': [ | |
363 { | |
364 'action_name': 'run_mksnapshot (ignition)', | |
365 'inputs': [ | |
366 '<(mksnapshot_exec)', | |
367 ], | |
368 'variables': { | |
369 # TODO: Extract common mksnapshot_flags to a separate | |
370 # variable. | |
371 'mksnapshot_flags': [ | |
372 '--ignition', | |
373 '--log-snapshot-positions', | |
374 '--logfile', '<(INTERMEDIATE_DIR)/snapshot_ignition.log', | |
375 ], | |
376 'conditions': [ | |
377 ['v8_random_seed!=0', { | |
378 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed) '], | |
379 }], | |
380 ['v8_vector_stores!=0', { | |
381 'mksnapshot_flags': ['--vector-stores'], | |
382 }], | |
383 ], | |
384 }, | |
385 'outputs': [ | |
386 '<(PRODUCT_DIR)/snapshot_blob_ignition.bin', | |
387 ], | |
388 'action': [ | |
389 '<(mksnapshot_exec)', | |
390 '<@(mksnapshot_flags)', | |
391 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_ignition.bin ', | |
392 '<(embed_script)', | |
393 ], | |
394 }, | |
395 ], | |
396 }], | |
397 ], | |
356 }], | 398 }], |
357 ], | 399 ], |
358 }, | 400 }, |
359 { | 401 { |
360 'target_name': 'v8_base', | 402 'target_name': 'v8_base', |
361 'type': 'static_library', | 403 'type': 'static_library', |
362 'dependencies': [ | 404 'dependencies': [ |
363 'v8_libbase', | 405 'v8_libbase', |
364 ], | 406 ], |
365 'variables': { | 407 'variables': { |
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2135 }], | 2177 }], |
2136 ['want_separate_host_toolset==1', { | 2178 ['want_separate_host_toolset==1', { |
2137 'toolsets': ['host'], | 2179 'toolsets': ['host'], |
2138 }, { | 2180 }, { |
2139 'toolsets': ['target'], | 2181 'toolsets': ['target'], |
2140 }], | 2182 }], |
2141 ], | 2183 ], |
2142 }, | 2184 }, |
2143 ], | 2185 ], |
2144 } | 2186 } |
OLD | NEW |