| OLD | NEW |
| 1 # GYP file to build various tools. | 1 # GYP file to build various tools. |
| 2 # | 2 # |
| 3 # To build on Linux: | 3 # To build on Linux: |
| 4 # ./gyp_skia tools.gyp && make tools | 4 # ./gyp_skia tools.gyp && make tools |
| 5 # | 5 # |
| 6 { | 6 { |
| 7 'includes': [ | 7 'includes': [ |
| 8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 'flags.gyp:flags', | 279 'flags.gyp:flags', |
| 280 'skia_lib.gyp:skia_lib', | 280 'skia_lib.gyp:skia_lib', |
| 281 'tools.gyp:picture_renderer', | 281 'tools.gyp:picture_renderer', |
| 282 'tools.gyp:picture_utils', | 282 'tools.gyp:picture_utils', |
| 283 ], | 283 ], |
| 284 }, | 284 }, |
| 285 { | 285 { |
| 286 'target_name': 'bench_pictures', | 286 'target_name': 'bench_pictures', |
| 287 'type': 'executable', | 287 'type': 'executable', |
| 288 'sources': [ | 288 'sources': [ |
| 289 '../bench/ResultsWriter.cpp', |
| 290 '../tools/PictureBenchmark.cpp', |
| 291 '../tools/PictureResultsWriter.h', |
| 289 '../bench/SkBenchLogger.h', | 292 '../bench/SkBenchLogger.h', |
| 290 '../bench/SkBenchLogger.cpp', | 293 '../bench/SkBenchLogger.cpp', |
| 291 '../bench/TimerData.h', | |
| 292 '../bench/TimerData.cpp', | |
| 293 '../tools/bench_pictures_main.cpp', | 294 '../tools/bench_pictures_main.cpp', |
| 294 '../tools/PictureBenchmark.cpp', | |
| 295 ], | 295 ], |
| 296 'include_dirs': [ | 296 'include_dirs': [ |
| 297 '../src/core/', | 297 '../src/core/', |
| 298 '../bench', | 298 '../bench', |
| 299 '../src/lazy/', | 299 '../src/lazy/', |
| 300 ], | 300 ], |
| 301 'dependencies': [ | 301 'dependencies': [ |
| 302 'bench.gyp:bench_timer', | 302 'bench.gyp:bench_timer', |
| 303 'flags.gyp:flags', | 303 'flags.gyp:flags', |
| 304 'jsoncpp.gyp:jsoncpp', |
| 304 'skia_lib.gyp:skia_lib', | 305 'skia_lib.gyp:skia_lib', |
| 305 'tools.gyp:picture_utils', | 306 'tools.gyp:picture_utils', |
| 306 'tools.gyp:picture_renderer', | 307 'tools.gyp:picture_renderer', |
| 308 'tools.gyp:timer_data', |
| 307 ], | 309 ], |
| 308 }, | 310 }, |
| 309 { | 311 { |
| 310 'target_name': 'bench_record', | 312 'target_name': 'bench_record', |
| 311 'type': 'executable', | 313 'type': 'executable', |
| 312 'sources': [ | 314 'sources': [ |
| 313 '../tools/bench_record.cpp', | 315 '../tools/bench_record.cpp', |
| 314 '../tools/LazyDecodeBitmap.cpp', | 316 '../tools/LazyDecodeBitmap.cpp', |
| 315 ], | 317 ], |
| 316 'include_dirs': [ | 318 'include_dirs': [ |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 'target_name': 'bbh_shootout', | 500 'target_name': 'bbh_shootout', |
| 499 'type': 'executable', | 501 'type': 'executable', |
| 500 'include_dirs': [ | 502 'include_dirs': [ |
| 501 '../bench', | 503 '../bench', |
| 502 '../tools/' | 504 '../tools/' |
| 503 ], | 505 ], |
| 504 'sources': [ | 506 'sources': [ |
| 505 '../tools/bbh_shootout.cpp', | 507 '../tools/bbh_shootout.cpp', |
| 506 | 508 |
| 507 # Bench code: | 509 # Bench code: |
| 508 '../bench/TimerData.h', | |
| 509 '../bench/TimerData.cpp', | |
| 510 ], | 510 ], |
| 511 'dependencies': [ | 511 'dependencies': [ |
| 512 'bench.gyp:bench_timer', | 512 'bench.gyp:bench_timer', |
| 513 'flags.gyp:flags', | 513 'flags.gyp:flags', |
| 514 'tools.gyp:timer_data', |
| 514 'skia_lib.gyp:skia_lib', | 515 'skia_lib.gyp:skia_lib', |
| 515 'tools.gyp:picture_renderer', | 516 'tools.gyp:picture_renderer', |
| 516 'tools.gyp:picture_utils', | 517 'tools.gyp:picture_utils', |
| 517 ], | 518 ], |
| 518 }, | 519 }, |
| 519 { | 520 { |
| 520 'target_name': 'filter', | 521 'target_name': 'filter', |
| 521 'type': 'executable', | 522 'type': 'executable', |
| 522 'include_dirs' : [ | 523 'include_dirs' : [ |
| 523 '../src/core', | 524 '../src/core', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 542 { | 543 { |
| 543 'target_name': 'test_image_decoder', | 544 'target_name': 'test_image_decoder', |
| 544 'type': 'executable', | 545 'type': 'executable', |
| 545 'sources': [ | 546 'sources': [ |
| 546 '../tools/test_image_decoder.cpp', | 547 '../tools/test_image_decoder.cpp', |
| 547 ], | 548 ], |
| 548 'dependencies': [ | 549 'dependencies': [ |
| 549 'skia_lib.gyp:skia_lib', | 550 'skia_lib.gyp:skia_lib', |
| 550 ], | 551 ], |
| 551 }, | 552 }, |
| 553 { |
| 554 'target_name': 'timer_data', |
| 555 'type': 'static_library', |
| 556 'sources': [ |
| 557 '../bench/TimerData.cpp', |
| 558 ], |
| 559 'dependencies': [ |
| 560 'skia_lib.gyp:skia_lib', |
| 561 'jsoncpp.gyp:jsoncpp' |
| 562 ] |
| 563 } |
| 552 ], | 564 ], |
| 553 'conditions': [ | 565 'conditions': [ |
| 554 ['skia_shared_lib', | 566 ['skia_shared_lib', |
| 555 { | 567 { |
| 556 'targets': [ | 568 'targets': [ |
| 557 { | 569 { |
| 558 'target_name': 'sklua', | 570 'target_name': 'sklua', |
| 559 'product_name': 'skia', | 571 'product_name': 'skia', |
| 560 'product_prefix': '', | 572 'product_prefix': '', |
| 561 'product_dir': '<(PRODUCT_DIR)/', | 573 'product_dir': '<(PRODUCT_DIR)/', |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 'type': 'executable', | 625 'type': 'executable', |
| 614 'sources': [ | 626 'sources': [ |
| 615 '../tools/win_lcid.cpp', | 627 '../tools/win_lcid.cpp', |
| 616 ], | 628 ], |
| 617 }, | 629 }, |
| 618 ], | 630 ], |
| 619 }, | 631 }, |
| 620 ], | 632 ], |
| 621 ], | 633 ], |
| 622 } | 634 } |
| OLD | NEW |