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

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

Issue 2681193002: Factor out snapshot helpers from main.cc. (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
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 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 'generate_snapshot_file#host', 1115 'generate_snapshot_file#host',
1116 'libdart', 1116 'libdart',
1117 'libdart_builtin', 1117 'libdart_builtin',
1118 'libdart_io', 1118 'libdart_io',
1119 ], 1119 ],
1120 'include_dirs': [ 1120 'include_dirs': [
1121 '..', 1121 '..',
1122 '../../third_party/', # Zlib 1122 '../../third_party/', # Zlib
1123 ], 1123 ],
1124 'sources': [ 1124 'sources': [
1125 'main.cc',
1126 'builtin.h', 1125 'builtin.h',
1127 'builtin_common.cc', 1126 'builtin_common.cc',
1128 'builtin_natives.cc', 1127 'builtin_natives.cc',
1129 'builtin_nolib.cc', 1128 'builtin_nolib.cc',
1129 'error_exit.cc',
1130 'error_exit.h',
1130 'io_natives.h', 1131 'io_natives.h',
1132 'main.cc',
1133 'snapshot_utils.cc',
1134 'snapshot_utils.h',
1131 'vmservice_impl.cc', 1135 'vmservice_impl.cc',
1132 'vmservice_impl.h', 1136 'vmservice_impl.h',
1133 '<(observatory_assets_cc_file)', 1137 '<(observatory_assets_cc_file)',
1134 '<(resources_cc_file)', 1138 '<(resources_cc_file)',
1135 '<(snapshot_cc_file)', 1139 '<(snapshot_cc_file)',
1136 ], 1140 ],
1137 'conditions': [ 1141 'conditions': [
1138 ['OS=="win"', { 1142 ['OS=="win"', {
1139 'link_settings': { 1143 'link_settings': {
1140 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 1144 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 'generate_resources_cc_file#host', 1178 'generate_resources_cc_file#host',
1175 'libdart_builtin', 1179 'libdart_builtin',
1176 'libdart_io', 1180 'libdart_io',
1177 'libdart_precompiled_runtime', 1181 'libdart_precompiled_runtime',
1178 ], 1182 ],
1179 'include_dirs': [ 1183 'include_dirs': [
1180 '..', 1184 '..',
1181 '../../third_party/', # Zlib 1185 '../../third_party/', # Zlib
1182 ], 1186 ],
1183 'sources': [ 1187 'sources': [
1184 'main.cc',
1185 'builtin.h', 1188 'builtin.h',
1186 'builtin_common.cc', 1189 'builtin_common.cc',
1187 'builtin_natives.cc', 1190 'builtin_natives.cc',
1188 'builtin_nolib.cc', 1191 'builtin_nolib.cc',
1192 'error_exit.cc',
1193 'error_exit.h',
1189 'io_natives.h', 1194 'io_natives.h',
1195 'main.cc',
1190 'snapshot_empty.cc', 1196 'snapshot_empty.cc',
1197 'snapshot_utils.cc',
1198 'snapshot_utils.h',
1191 'vmservice_impl.cc', 1199 'vmservice_impl.cc',
1192 'vmservice_impl.h', 1200 'vmservice_impl.h',
1193 '<(observatory_assets_cc_file)', 1201 '<(observatory_assets_cc_file)',
1194 '<(resources_cc_file)', 1202 '<(resources_cc_file)',
1195 ], 1203 ],
1196 'defines': [ 1204 'defines': [
1197 'DART_PRECOMPILED_RUNTIME', 1205 'DART_PRECOMPILED_RUNTIME',
1198 ], 1206 ],
1199 'conditions': [ 1207 'conditions': [
1200 ['OS=="win"', { 1208 ['OS=="win"', {
(...skipping 19 matching lines...) Expand all
1220 'dependencies': [ 1228 'dependencies': [
1221 'generate_resources_cc_file#host', 1229 'generate_resources_cc_file#host',
1222 'libdart_builtin', 1230 'libdart_builtin',
1223 'libdart_io', 1231 'libdart_io',
1224 'libdart_nosnapshot', 1232 'libdart_nosnapshot',
1225 ], 1233 ],
1226 'include_dirs': [ 1234 'include_dirs': [
1227 '..', 1235 '..',
1228 ], 1236 ],
1229 'sources': [ 1237 'sources': [
1230 'main.cc',
1231 'builtin.cc', 1238 'builtin.cc',
1232 'builtin.h', 1239 'builtin.h',
1233 'builtin_common.cc', 1240 'builtin_common.cc',
1234 'builtin_natives.cc', 1241 'builtin_natives.cc',
1242 'error_exit.cc',
1243 'error_exit.h',
1235 'io_natives.h', 1244 'io_natives.h',
1245 'main.cc',
1236 'observatory_assets_empty.cc', 1246 'observatory_assets_empty.cc',
1237 'snapshot_empty.cc', 1247 'snapshot_empty.cc',
1248 'snapshot_utils.cc',
1249 'snapshot_utils.h',
1238 'vmservice_impl.cc', 1250 'vmservice_impl.cc',
1239 'vmservice_impl.h', 1251 'vmservice_impl.h',
1240 # Include generated source files. 1252 # Include generated source files.
1241 '<(builtin_cc_file)', 1253 '<(builtin_cc_file)',
1242 '<(io_cc_file)', 1254 '<(io_cc_file)',
1243 '<(io_patch_cc_file)', 1255 '<(io_patch_cc_file)',
1244 '<(html_cc_file)', 1256 '<(html_cc_file)',
1245 '<(html_common_cc_file)', 1257 '<(html_common_cc_file)',
1246 '<(js_cc_file)', 1258 '<(js_cc_file)',
1247 '<(js_util_cc_file)', 1259 '<(js_util_cc_file)',
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 }], 1409 }],
1398 ['OS=="linux"', { 1410 ['OS=="linux"', {
1399 'cflags': [ 1411 'cflags': [
1400 '-fPIC', 1412 '-fPIC',
1401 ], 1413 ],
1402 }], 1414 }],
1403 ], 1415 ],
1404 }, 1416 },
1405 ], 1417 ],
1406 } 1418 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/bin/error_exit.h » ('j') | runtime/bin/error_exit.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698