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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 'action_name': 'run_mksnapshot', | 204 'action_name': 'run_mksnapshot', |
205 'inputs': [ | 205 'inputs': [ |
206 '<(mksnapshot_exec)', | 206 '<(mksnapshot_exec)', |
207 '<(embed_script)', | 207 '<(embed_script)', |
208 '<(warmup_script)', | 208 '<(warmup_script)', |
209 ], | 209 ], |
210 'outputs': [ | 210 'outputs': [ |
211 '<(INTERMEDIATE_DIR)/snapshot.cc', | 211 '<(INTERMEDIATE_DIR)/snapshot.cc', |
212 ], | 212 ], |
213 'variables': { | 213 'variables': { |
214 'mksnapshot_flags': [ | |
215 '--log-snapshot-positions', | |
216 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | |
217 ], | |
218 'conditions': [ | 214 'conditions': [ |
219 ['v8_random_seed!=0', { | 215 ['v8_random_seed!=0', { |
220 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 216 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
221 }], | 217 }], |
222 ['v8_vector_stores!=0', { | 218 ['v8_vector_stores!=0', { |
223 'mksnapshot_flags': ['--vector-stores'], | 219 'mksnapshot_flags': ['--vector-stores'], |
224 }], | 220 }], |
225 ], | 221 ], |
226 }, | 222 }, |
227 'action': [ | 223 'action': [ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 # v8_external_snapshot. | 300 # v8_external_snapshot. |
305 'actions': [ | 301 'actions': [ |
306 { | 302 { |
307 'action_name': 'run_mksnapshot (ignition)', | 303 'action_name': 'run_mksnapshot (ignition)', |
308 'inputs': ['<(mksnapshot_exec)'], | 304 'inputs': ['<(mksnapshot_exec)'], |
309 'variables': { | 305 'variables': { |
310 # TODO: Extract common mksnapshot_flags to a separate | 306 # TODO: Extract common mksnapshot_flags to a separate |
311 # variable. | 307 # variable. |
312 'mksnapshot_flags_ignition': [ | 308 'mksnapshot_flags_ignition': [ |
313 '--ignition', | 309 '--ignition', |
314 '--log-snapshot-positions', | |
315 '--logfile', '<(INTERMEDIATE_DIR)/snapshot_ignition.log', | |
316 ], | 310 ], |
317 'conditions': [ | 311 'conditions': [ |
318 ['v8_random_seed!=0', { | 312 ['v8_random_seed!=0', { |
319 'mksnapshot_flags_ignition': ['--random-seed', '<(v8_ran
dom_seed)'], | 313 'mksnapshot_flags_ignition': ['--random-seed', '<(v8_ran
dom_seed)'], |
320 }], | 314 }], |
321 ['v8_vector_stores!=0', { | 315 ['v8_vector_stores!=0', { |
322 'mksnapshot_flags_ignition': ['--vector-stores'], | 316 'mksnapshot_flags_ignition': ['--vector-stores'], |
323 }], | 317 }], |
324 ], | 318 ], |
325 }, | 319 }, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 ], | 363 ], |
370 'sources': [ | 364 'sources': [ |
371 '../../src/snapshot/natives-external.cc', | 365 '../../src/snapshot/natives-external.cc', |
372 '../../src/snapshot/snapshot-external.cc', | 366 '../../src/snapshot/snapshot-external.cc', |
373 ], | 367 ], |
374 'actions': [ | 368 'actions': [ |
375 { | 369 { |
376 'action_name': 'run_mksnapshot (external)', | 370 'action_name': 'run_mksnapshot (external)', |
377 'inputs': ['<(mksnapshot_exec)'], | 371 'inputs': ['<(mksnapshot_exec)'], |
378 'variables': { | 372 'variables': { |
379 'mksnapshot_flags': [ | |
380 '--log-snapshot-positions', | |
381 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', | |
382 ], | |
383 'conditions': [ | 373 'conditions': [ |
384 ['v8_random_seed!=0', { | 374 ['v8_random_seed!=0', { |
385 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], | 375 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], |
386 }], | 376 }], |
387 ['v8_vector_stores!=0', { | 377 ['v8_vector_stores!=0', { |
388 'mksnapshot_flags': ['--vector-stores'], | 378 'mksnapshot_flags': ['--vector-stores'], |
389 }], | 379 }], |
390 ], | 380 ], |
391 }, | 381 }, |
392 'conditions': [ | 382 'conditions': [ |
(...skipping 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2281 }], | 2271 }], |
2282 ['want_separate_host_toolset==1', { | 2272 ['want_separate_host_toolset==1', { |
2283 'toolsets': ['host'], | 2273 'toolsets': ['host'], |
2284 }, { | 2274 }, { |
2285 'toolsets': ['target'], | 2275 'toolsets': ['target'], |
2286 }], | 2276 }], |
2287 ], | 2277 ], |
2288 }, | 2278 }, |
2289 ], | 2279 ], |
2290 } | 2280 } |
OLD | NEW |