Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Side by Side Diff: runtime/bin/bin.gypi

Issue 2692223002: Teach gen_snapshot how to create script snapshots if given a core snapshot to create them against. (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
8 8
9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc',
10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc',
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 993 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
994 ], 994 ],
995 'outputs': [ 995 'outputs': [
996 '<(gen_snapshot_stamp_file)', 996 '<(gen_snapshot_stamp_file)',
997 ], 997 ],
998 'action': [ 998 'action': [
999 'python', 999 'python',
1000 'tools/create_snapshot_bin.py', 1000 'tools/create_snapshot_bin.py',
1001 '--executable', 1001 '--executable',
1002 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 1002 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
1003 '--snapshot_kind', 'core',
1003 '--vm_output_bin', '<(vm_isolate_snapshot_bin_file)', 1004 '--vm_output_bin', '<(vm_isolate_snapshot_bin_file)',
1004 '--output_bin', '<(isolate_snapshot_bin_file)', 1005 '--isolate_output_bin', '<(isolate_snapshot_bin_file)',
1005 '--target_os', '<(OS)', 1006 '--target_os', '<(OS)',
1006 '--timestamp_file', '<(gen_snapshot_stamp_file)', 1007 '--timestamp_file', '<(gen_snapshot_stamp_file)',
1007 ], 1008 ],
1008 'message': 'Generating ''<(vm_isolate_snapshot_bin_file)'' ''<(isolate _snapshot_bin_file)'' files.' 1009 'message': 'Generating ''<(vm_isolate_snapshot_bin_file)'' ''<(isolate _snapshot_bin_file)'' files.'
1009 }, 1010 },
1010 ], 1011 ],
1011 }, 1012 },
1012 { 1013 {
1013 # Generate snapshot file. 1014 # Generate snapshot file.
1014 'target_name': 'generate_snapshot_file', 1015 'target_name': 'generate_snapshot_file',
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 }], 1410 }],
1410 ['OS=="linux"', { 1411 ['OS=="linux"', {
1411 'cflags': [ 1412 'cflags': [
1412 '-fPIC', 1413 '-fPIC',
1413 ], 1414 ],
1414 }], 1415 }],
1415 ], 1416 ],
1416 }, 1417 },
1417 ], 1418 ],
1418 } 1419 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698