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

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

Issue 12377099: Added support for "bin-ified" vmstats web app source files (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Final code review changes Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/resources.h » ('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 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
8 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', 8 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc',
9 'builtin_in_cc_file': 'builtin_in.cc', 9 'builtin_in_cc_file': 'builtin_in.cc',
10 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 10 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
11 'snapshot_in_cc_file': 'snapshot_in.cc', 11 'snapshot_in_cc_file': 'snapshot_in.cc',
12 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 12 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
13 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 13 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
14 'resources_cc_file': '<(SHARED_INTERMEDIATE_DIR)/resources_gen.cc',
14 }, 15 },
15 'targets': [ 16 'targets': [
16 { 17 {
17 'target_name': 'generate_builtin_cc_file', 18 'target_name': 'generate_builtin_cc_file',
18 'type': 'none', 19 'type': 'none',
19 'includes': [ 20 'includes': [
20 'builtin_sources.gypi', 21 'builtin_sources.gypi',
21 ], 22 ],
22 'actions': [ 23 'actions': [
23 { 24 {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 'tools/create_snapshot_file.py', 324 'tools/create_snapshot_file.py',
324 '--input_bin', '<(snapshot_bin_file)', 325 '--input_bin', '<(snapshot_bin_file)',
325 '--input_cc', '<(snapshot_in_cc_file)', 326 '--input_cc', '<(snapshot_in_cc_file)',
326 '--output', '<(snapshot_cc_file)', 327 '--output', '<(snapshot_cc_file)',
327 ], 328 ],
328 'message': 'Generating ''<(snapshot_cc_file)'' file.' 329 'message': 'Generating ''<(snapshot_cc_file)'' file.'
329 }, 330 },
330 ] 331 ]
331 }, 332 },
332 { 333 {
334 'target_name': 'generate_resources_cc_file',
335 'type': 'none',
336 'includes': [
337 'vmstats_sources.gypi',
338 ],
339 'actions': [
340 {
341 'action_name': 'generate_resources_cc',
342 'inputs': [
343 '../tools/create_resources.py',
344 '<@(_sources)',
345 ],
346 'outputs': [
347 '<(resources_cc_file)',
348 ],
349 'action': [
350 'python',
351 'tools/create_resources.py',
352 '--output', '<(resources_cc_file)',
353 '--root_prefix', 'bin/vmstats/',
354 '<@(_sources)',
355 ],
356 'message': 'Generating ''<(resources_cc_file)'' file.'
357 },
358 ]
359 },
360 {
333 # dart binary with a snapshot of corelibs built in. 361 # dart binary with a snapshot of corelibs built in.
334 'target_name': 'dart', 362 'target_name': 'dart',
335 'type': 'executable', 363 'type': 'executable',
336 'dependencies': [ 364 'dependencies': [
337 'libdart', 365 'libdart',
338 'libdart_builtin', 366 'libdart_builtin',
339 'libdart_io', 367 'libdart_io',
340 'generate_snapshot_file', 368 'generate_snapshot_file',
369 'generate_resources_cc_file',
341 ], 370 ],
342 'include_dirs': [ 371 'include_dirs': [
343 '..', 372 '..',
344 ], 373 ],
345 'sources': [ 374 'sources': [
346 'main.cc', 375 'main.cc',
347 'builtin_nolib.cc', 376 'builtin_nolib.cc',
377 'resources.h',
348 'vmstats.h', 378 'vmstats.h',
349 'vmstats_impl.cc', 379 'vmstats_impl.cc',
350 'vmstats_impl.h', 380 'vmstats_impl.h',
351 '<(snapshot_cc_file)', 381 '<(snapshot_cc_file)',
382 '<(resources_cc_file)',
352 ], 383 ],
353 'conditions': [ 384 'conditions': [
354 ['OS=="win"', { 385 ['OS=="win"', {
355 'link_settings': { 386 'link_settings': {
356 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 387 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
357 }, 388 },
358 # Generate an import library on Windows, by exporting a function. 389 # Generate an import library on Windows, by exporting a function.
359 # Extensions use this import library to link to the API in dart.exe. 390 # Extensions use this import library to link to the API in dart.exe.
360 'msvs_settings': { 391 'msvs_settings': {
361 'VCLinkerTool': { 392 'VCLinkerTool': {
(...skipping 11 matching lines...) Expand all
373 ], 404 ],
374 }, 405 },
375 { 406 {
376 # dart binary without any snapshot built in. 407 # dart binary without any snapshot built in.
377 'target_name': 'dart_no_snapshot', 408 'target_name': 'dart_no_snapshot',
378 'type': 'executable', 409 'type': 'executable',
379 'dependencies': [ 410 'dependencies': [
380 'libdart_withcore', 411 'libdart_withcore',
381 'libdart_builtin', 412 'libdart_builtin',
382 'libdart_io', 413 'libdart_io',
414 'generate_resources_cc_file',
383 ], 415 ],
384 'include_dirs': [ 416 'include_dirs': [
385 '..', 417 '..',
386 ], 418 ],
387 'sources': [ 419 'sources': [
388 'main.cc', 420 'main.cc',
389 'builtin.cc', 421 'builtin.cc',
422 'resources.h',
390 'vmstats.h', 423 'vmstats.h',
391 'vmstats_impl.cc', 424 'vmstats_impl.cc',
392 'vmstats_impl.h', 425 'vmstats_impl.h',
393 # Include generated source files. 426 # Include generated source files.
394 '<(builtin_cc_file)', 427 '<(builtin_cc_file)',
395 '<(io_cc_file)', 428 '<(io_cc_file)',
396 '<(io_patch_cc_file)', 429 '<(io_patch_cc_file)',
430 '<(resources_cc_file)',
397 'snapshot_empty.cc', 431 'snapshot_empty.cc',
398 ], 432 ],
399 'conditions': [ 433 'conditions': [
400 ['OS=="win"', { 434 ['OS=="win"', {
401 'link_settings': { 435 'link_settings': {
402 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 436 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
403 }, 437 },
404 # Generate an import library on Windows, by exporting a function. 438 # Generate an import library on Windows, by exporting a function.
405 # Extensions use this import library to link to the API in dart.exe. 439 # Extensions use this import library to link to the API in dart.exe.
406 'msvs_settings': { 440 'msvs_settings': {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 ['OS=="mac"', { 533 ['OS=="mac"', {
500 'xcode_settings': { 534 'xcode_settings': {
501 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 535 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
502 }, 536 },
503 }], 537 }],
504 ], 538 ],
505 }, 539 },
506 ], 540 ],
507 } 541 }
508 542
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698