| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 'sources': [ | 267 'sources': [ |
| 268 '../../src/natives-external.cc', | 268 '../../src/natives-external.cc', |
| 269 '../../src/snapshot-external.cc', | 269 '../../src/snapshot-external.cc', |
| 270 ], | 270 ], |
| 271 'actions': [ | 271 'actions': [ |
| 272 { | 272 { |
| 273 'action_name': 'run_mksnapshot (external)', | 273 'action_name': 'run_mksnapshot (external)', |
| 274 'inputs': [ | 274 'inputs': [ |
| 275 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFI
X)', | 275 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFI
X)', |
| 276 ], | 276 ], |
| 277 'variables': { |
| 278 'mksnapshot_flags': [ |
| 279 '--log-snapshot-positions', |
| 280 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', |
| 281 ], |
| 282 'conditions': [ |
| 283 ['v8_random_seed!=0', { |
| 284 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
| 285 }], |
| 286 ], |
| 287 }, |
| 277 'conditions': [ | 288 'conditions': [ |
| 278 ['want_separate_host_toolset==1', { | 289 ['want_separate_host_toolset==1', { |
| 279 'target_conditions': [ | 290 'target_conditions': [ |
| 280 ['_toolset=="host"', { | 291 ['_toolset=="host"', { |
| 281 'outputs': [ | 292 'outputs': [ |
| 282 '<(INTERMEDIATE_DIR)/snapshot.cc', | 293 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 283 '<(PRODUCT_DIR)/snapshot_blob_host.bin', | 294 '<(PRODUCT_DIR)/snapshot_blob_host.bin', |
| 284 ], | 295 ], |
| 296 'action': [ |
| 297 '<@(_inputs)', |
| 298 '<@(mksnapshot_flags)', |
| 299 '<@(INTERMEDIATE_DIR)/snapshot.cc', |
| 300 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_host.bin
', |
| 301 ], |
| 285 }, { | 302 }, { |
| 286 'outputs': [ | 303 'outputs': [ |
| 287 '<(INTERMEDIATE_DIR)/snapshot.cc', | 304 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 288 '<(PRODUCT_DIR)/snapshot_blob.bin', | 305 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 289 ], | 306 ], |
| 307 'action': [ |
| 308 '<@(_inputs)', |
| 309 '<@(mksnapshot_flags)', |
| 310 '<@(INTERMEDIATE_DIR)/snapshot.cc', |
| 311 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 312 ], |
| 290 }], | 313 }], |
| 291 ], | 314 ], |
| 292 }, { | 315 }, { |
| 293 'outputs': [ | 316 'outputs': [ |
| 294 '<(INTERMEDIATE_DIR)/snapshot.cc', | 317 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 295 '<(PRODUCT_DIR)/snapshot_blob.bin', | 318 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 296 ], | 319 ], |
| 320 'action': [ |
| 321 '<@(_inputs)', |
| 322 '<@(mksnapshot_flags)', |
| 323 '<@(INTERMEDIATE_DIR)/snapshot.cc', |
| 324 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 325 ], |
| 297 }], | 326 }], |
| 298 ], | 327 ], |
| 299 'variables': { | |
| 300 'mksnapshot_flags': [ | |
| 301 '--log-snapshot-positions', | |
| 302 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | |
| 303 ], | |
| 304 'conditions': [ | |
| 305 ['v8_random_seed!=0', { | |
| 306 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | |
| 307 }], | |
| 308 ], | |
| 309 }, | |
| 310 'action': [ | |
| 311 '<@(_inputs)', | |
| 312 '<@(mksnapshot_flags)', | |
| 313 '<@(INTERMEDIATE_DIR)/snapshot.cc', | |
| 314 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', | |
| 315 ], | |
| 316 }, | 328 }, |
| 317 ], | 329 ], |
| 318 }], | 330 }], |
| 319 ], | 331 ], |
| 320 }, | 332 }, |
| 321 { | 333 { |
| 322 'target_name': 'v8_base', | 334 'target_name': 'v8_base', |
| 323 'type': 'static_library', | 335 'type': 'static_library', |
| 324 'dependencies': [ | 336 'dependencies': [ |
| 325 'v8_libbase', | 337 'v8_libbase', |
| (...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 }], | 1758 }], |
| 1747 ['v8_compress_startup_data=="bz2"', { | 1759 ['v8_compress_startup_data=="bz2"', { |
| 1748 'libraries': [ | 1760 'libraries': [ |
| 1749 '-lbz2', | 1761 '-lbz2', |
| 1750 ] | 1762 ] |
| 1751 }], | 1763 }], |
| 1752 ], | 1764 ], |
| 1753 }, | 1765 }, |
| 1754 ], | 1766 ], |
| 1755 } | 1767 } |
| OLD | NEW |