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

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

Issue 2150313003: Add JSNative utility class with static methods methods to efficiently manipulate typed JSInterop ob… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix analyzer warnings in js_util_test, skip js_util_test in csp mode and baseline expectations for … Created 4 years, 4 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',
11 'html_cc_file': '<(gen_source_dir)/html_gen.cc', 11 'html_cc_file': '<(gen_source_dir)/html_gen.cc',
12 'html_common_cc_file': '<(gen_source_dir)/html_common_gen.cc', 12 'html_common_cc_file': '<(gen_source_dir)/html_common_gen.cc',
13 'js_cc_file': '<(gen_source_dir)/js_gen.cc', 13 'js_cc_file': '<(gen_source_dir)/js_gen.cc',
14 'js_util_cc_file': '<(gen_source_dir)/js_util_gen.cc',
14 'blink_cc_file': '<(gen_source_dir)/blink_gen.cc', 15 'blink_cc_file': '<(gen_source_dir)/blink_gen.cc',
15 'indexeddb_cc_file': '<(gen_source_dir)/indexeddb_gen.cc', 16 'indexeddb_cc_file': '<(gen_source_dir)/indexeddb_gen.cc',
16 'cached_patches_cc_file': '<(gen_source_dir)/cached_patches_gen.cc', 17 'cached_patches_cc_file': '<(gen_source_dir)/cached_patches_gen.cc',
17 'web_gl_cc_file': '<(gen_source_dir)/web_gl_gen.cc', 18 'web_gl_cc_file': '<(gen_source_dir)/web_gl_gen.cc',
18 'metadata_cc_file': '<(gen_source_dir)/metadata_gen.cc', 19 'metadata_cc_file': '<(gen_source_dir)/metadata_gen.cc',
19 'websql_cc_file': '<(gen_source_dir)/websql_gen.cc', 20 'websql_cc_file': '<(gen_source_dir)/websql_gen.cc',
20 'svg_cc_file': '<(gen_source_dir)/svg_gen.cc', 21 'svg_cc_file': '<(gen_source_dir)/svg_gen.cc',
21 'webaudio_cc_file': '<(gen_source_dir)/webaudio_gen.cc', 22 'webaudio_cc_file': '<(gen_source_dir)/webaudio_gen.cc',
22 23
23 'builtin_in_cc_file': 'builtin_in.cc', 24 'builtin_in_cc_file': 'builtin_in.cc',
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 '--include', 'bin/builtin.h', 228 '--include', 'bin/builtin.h',
228 '--var_name', 'dart::bin::Builtin::js_source_paths_', 229 '--var_name', 'dart::bin::Builtin::js_source_paths_',
229 '--library_name', 'dart:js', 230 '--library_name', 'dart:js',
230 '<@(_sources)', 231 '<@(_sources)',
231 ], 232 ],
232 'message': 'Generating ''<(js_cc_file)'' file.' 233 'message': 'Generating ''<(js_cc_file)'' file.'
233 }, 234 },
234 ] 235 ]
235 }, 236 },
236 { 237 {
238 'target_name': 'generate_js_util_cc_file',
239 'type': 'none',
240 'toolsets':['host'],
241 'sources': [
242 '../../sdk/lib/js_util/dartium/js_util_dartium.dart',
243 ],
244 'actions': [
245 {
246 'action_name': 'generate_js_util_cc',
247 'inputs': [
248 '../tools/gen_library_src_paths.py',
249 '<(builtin_in_cc_file)',
250 '<@(_sources)',
251 ],
252 'outputs': [
253 '<(js_util_cc_file)',
254 ],
255 'action': [
256 'python',
257 'tools/gen_library_src_paths.py',
258 '--output', '<(js_util_cc_file)',
259 '--input_cc', '<(builtin_in_cc_file)',
260 '--include', 'bin/builtin.h',
261 '--var_name', 'dart::bin::Builtin::js_util_source_paths_',
262 '--library_name', 'dart:js_util',
263 '<@(_sources)',
264 ],
265 'message': 'Generating ''<(js_util_cc_file)'' file.'
266 },
267 ]
268 },
269 {
237 'target_name': 'generate_blink_cc_file', 270 'target_name': 'generate_blink_cc_file',
238 'type': 'none', 271 'type': 'none',
239 'toolsets':['host'], 272 'toolsets':['host'],
240 'sources': [ 273 'sources': [
241 '../../sdk/lib/_blink/dartium/_blink_dartium.dart', 274 '../../sdk/lib/_blink/dartium/_blink_dartium.dart',
242 ], 275 ],
243 'actions': [ 276 'actions': [
244 { 277 {
245 'action_name': 'generate_blink_cc', 278 'action_name': 'generate_blink_cc',
246 'inputs': [ 279 'inputs': [
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 'target_name': 'libdart_builtin', 526 'target_name': 'libdart_builtin',
494 'type': 'static_library', 527 'type': 'static_library',
495 'toolsets':['target','host'], 528 'toolsets':['target','host'],
496 'dependencies': [ 529 'dependencies': [
497 'generate_builtin_cc_file#host', 530 'generate_builtin_cc_file#host',
498 'generate_io_cc_file#host', 531 'generate_io_cc_file#host',
499 'generate_io_patch_cc_file#host', 532 'generate_io_patch_cc_file#host',
500 'generate_html_cc_file#host', 533 'generate_html_cc_file#host',
501 'generate_html_common_cc_file#host', 534 'generate_html_common_cc_file#host',
502 'generate_js_cc_file#host', 535 'generate_js_cc_file#host',
536 'generate_js_util_cc_file#host',
503 'generate_blink_cc_file#host', 537 'generate_blink_cc_file#host',
504 'generate_indexeddb_cc_file#host', 538 'generate_indexeddb_cc_file#host',
505 'generate_cached_patches_cc_file#host', 539 'generate_cached_patches_cc_file#host',
506 'generate_web_gl_cc_file#host', 540 'generate_web_gl_cc_file#host',
507 'generate_metadata_cc_file#host', 541 'generate_metadata_cc_file#host',
508 'generate_websql_cc_file#host', 542 'generate_websql_cc_file#host',
509 'generate_svg_cc_file#host', 543 'generate_svg_cc_file#host',
510 'generate_webaudio_cc_file#host', 544 'generate_webaudio_cc_file#host',
511 ], 545 ],
512 'include_dirs': [ 546 'include_dirs': [
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 'snapshot_empty.cc', 1289 'snapshot_empty.cc',
1256 'vmservice_impl.cc', 1290 'vmservice_impl.cc',
1257 'vmservice_impl.h', 1291 'vmservice_impl.h',
1258 # Include generated source files. 1292 # Include generated source files.
1259 '<(builtin_cc_file)', 1293 '<(builtin_cc_file)',
1260 '<(io_cc_file)', 1294 '<(io_cc_file)',
1261 '<(io_patch_cc_file)', 1295 '<(io_patch_cc_file)',
1262 '<(html_cc_file)', 1296 '<(html_cc_file)',
1263 '<(html_common_cc_file)', 1297 '<(html_common_cc_file)',
1264 '<(js_cc_file)', 1298 '<(js_cc_file)',
1299 '<(js_util_cc_file)',
1265 '<(blink_cc_file)', 1300 '<(blink_cc_file)',
1266 '<(indexeddb_cc_file)', 1301 '<(indexeddb_cc_file)',
1267 '<(cached_patches_cc_file)', 1302 '<(cached_patches_cc_file)',
1268 '<(web_gl_cc_file)', 1303 '<(web_gl_cc_file)',
1269 '<(metadata_cc_file)', 1304 '<(metadata_cc_file)',
1270 '<(websql_cc_file)', 1305 '<(websql_cc_file)',
1271 '<(svg_cc_file)', 1306 '<(svg_cc_file)',
1272 '<(webaudio_cc_file)', 1307 '<(webaudio_cc_file)',
1273 1308
1274 '<(resources_cc_file)', 1309 '<(resources_cc_file)',
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 }], 1444 }],
1410 ['OS=="linux"', { 1445 ['OS=="linux"', {
1411 'cflags': [ 1446 'cflags': [
1412 '-fPIC', 1447 '-fPIC',
1413 ], 1448 ],
1414 }], 1449 }],
1415 ], 1450 ],
1416 }, 1451 },
1417 ], 1452 ],
1418 } 1453 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698