| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'media', | 11 'target_name': 'media', |
| 12 'type': '<(component)', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 'yuv_convert', | 14 'yuv_convert', |
| 15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 17 '../build/temp_gyp/googleurl.gyp:googleurl', | 17 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 18 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 18 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 19 '../third_party/openmax/openmax.gyp:il', | 19 '../third_party/openmax/openmax.gyp:il', |
| 20 '../ui/ui.gyp:ui', | |
| 21 ], | |
| 22 'defines': [ | |
| 23 'MEDIA_IMPLEMENTATION', | |
| 24 ], | 20 ], |
| 25 'include_dirs': [ | 21 'include_dirs': [ |
| 26 '..', | 22 '..', |
| 27 ], | 23 ], |
| 28 'sources': [ | 24 'sources': [ |
| 29 'audio/audio_buffers_state.cc', | 25 'audio/audio_buffers_state.cc', |
| 30 'audio/audio_buffers_state.h', | 26 'audio/audio_buffers_state.h', |
| 31 'audio/audio_io.h', | 27 'audio/audio_io.h', |
| 32 'audio/audio_input_controller.cc', | 28 'audio/audio_input_controller.cc', |
| 33 'audio/audio_input_controller.h', | 29 'audio/audio_input_controller.h', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 'base/filter_collection.cc', | 97 'base/filter_collection.cc', |
| 102 'base/filter_collection.h', | 98 'base/filter_collection.h', |
| 103 'base/filter_factories.cc', | 99 'base/filter_factories.cc', |
| 104 'base/filter_factories.h', | 100 'base/filter_factories.h', |
| 105 'base/filter_host.h', | 101 'base/filter_host.h', |
| 106 'base/filters.cc', | 102 'base/filters.cc', |
| 107 'base/filters.h', | 103 'base/filters.h', |
| 108 'base/h264_bitstream_converter.cc', | 104 'base/h264_bitstream_converter.cc', |
| 109 'base/h264_bitstream_converter.h', | 105 'base/h264_bitstream_converter.h', |
| 110 'base/media.h', | 106 'base/media.h', |
| 111 'base/media_export.h', | |
| 112 'base/media_log.cc', | 107 'base/media_log.cc', |
| 113 'base/media_log.h', | 108 'base/media_log.h', |
| 114 'base/media_log_event.h', | 109 'base/media_log_event.h', |
| 115 'base/media_posix.cc', | 110 'base/media_posix.cc', |
| 116 'base/media_switches.cc', | 111 'base/media_switches.cc', |
| 117 'base/media_switches.h', | 112 'base/media_switches.h', |
| 118 'base/media_win.cc', | 113 'base/media_win.cc', |
| 119 'base/message_loop_factory.cc', | 114 'base/message_loop_factory.cc', |
| 120 'base/message_loop_factory.h', | 115 'base/message_loop_factory.h', |
| 121 'base/message_loop_factory_impl.cc', | 116 'base/message_loop_factory_impl.cc', |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 ], | 385 ], |
| 391 }], | 386 }], |
| 392 ], | 387 ], |
| 393 }, | 388 }, |
| 394 { | 389 { |
| 395 'target_name': 'media_unittests', | 390 'target_name': 'media_unittests', |
| 396 'type': 'executable', | 391 'type': 'executable', |
| 397 'dependencies': [ | 392 'dependencies': [ |
| 398 'media', | 393 'media', |
| 399 'media_test_support', | 394 'media_test_support', |
| 400 'yuv_convert', | |
| 401 '../base/base.gyp:base', | 395 '../base/base.gyp:base', |
| 402 '../base/base.gyp:base_i18n', | 396 '../base/base.gyp:base_i18n', |
| 403 '../base/base.gyp:test_support_base', | 397 '../base/base.gyp:test_support_base', |
| 404 '../testing/gmock.gyp:gmock', | 398 '../testing/gmock.gyp:gmock', |
| 405 '../testing/gtest.gyp:gtest', | 399 '../testing/gtest.gyp:gtest', |
| 406 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 400 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 407 ], | 401 ], |
| 408 'sources': [ | 402 'sources': [ |
| 409 'audio/audio_input_controller_unittest.cc', | 403 'audio/audio_input_controller_unittest.cc', |
| 410 'audio/audio_input_device_unittest.cc', | 404 'audio/audio_input_device_unittest.cc', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 ], | 493 ], |
| 500 'sources': [ | 494 'sources': [ |
| 501 'tools/media_bench/media_bench.cc', | 495 'tools/media_bench/media_bench.cc', |
| 502 ], | 496 ], |
| 503 }, | 497 }, |
| 504 { | 498 { |
| 505 'target_name': 'scaler_bench', | 499 'target_name': 'scaler_bench', |
| 506 'type': 'executable', | 500 'type': 'executable', |
| 507 'dependencies': [ | 501 'dependencies': [ |
| 508 'media', | 502 'media', |
| 509 'yuv_convert', | |
| 510 '../base/base.gyp:base', | 503 '../base/base.gyp:base', |
| 511 '../skia/skia.gyp:skia', | 504 '../skia/skia.gyp:skia', |
| 512 ], | 505 ], |
| 513 'sources': [ | 506 'sources': [ |
| 514 'tools/scaler_bench/scaler_bench.cc', | 507 'tools/scaler_bench/scaler_bench.cc', |
| 515 ], | 508 ], |
| 516 }, | 509 }, |
| 517 { | 510 { |
| 518 'target_name': 'ffmpeg_tests', | 511 'target_name': 'ffmpeg_tests', |
| 519 'type': 'executable', | 512 'type': 'executable', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 546 }, | 539 }, |
| 547 ], | 540 ], |
| 548 'conditions': [ | 541 'conditions': [ |
| 549 ['OS=="win"', { | 542 ['OS=="win"', { |
| 550 'targets': [ | 543 'targets': [ |
| 551 { | 544 { |
| 552 'target_name': 'player_wtl', | 545 'target_name': 'player_wtl', |
| 553 'type': 'executable', | 546 'type': 'executable', |
| 554 'dependencies': [ | 547 'dependencies': [ |
| 555 'media', | 548 'media', |
| 556 'yuv_convert', | |
| 557 '../base/base.gyp:base', | 549 '../base/base.gyp:base', |
| 558 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | |
| 559 ], | 550 ], |
| 560 'include_dirs': [ | 551 'include_dirs': [ |
| 561 '<(DEPTH)/third_party/wtl/include', | 552 '<(DEPTH)/third_party/wtl/include', |
| 562 ], | 553 ], |
| 563 'sources': [ | 554 'sources': [ |
| 564 'tools/player_wtl/list.h', | 555 'tools/player_wtl/list.h', |
| 565 'tools/player_wtl/mainfrm.h', | 556 'tools/player_wtl/mainfrm.h', |
| 566 'tools/player_wtl/movie.cc', | 557 'tools/player_wtl/movie.cc', |
| 567 'tools/player_wtl/movie.h', | 558 'tools/player_wtl/movie.h', |
| 568 'tools/player_wtl/player_wtl.cc', | 559 'tools/player_wtl/player_wtl.cc', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 'VCLinkerTool': { | 591 'VCLinkerTool': { |
| 601 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 592 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 602 }, | 593 }, |
| 603 }, | 594 }, |
| 604 }, | 595 }, |
| 605 { | 596 { |
| 606 'target_name': 'mfdecoder', | 597 'target_name': 'mfdecoder', |
| 607 'type': 'executable', | 598 'type': 'executable', |
| 608 'dependencies': [ | 599 'dependencies': [ |
| 609 'media', | 600 'media', |
| 610 'yuv_convert', | |
| 611 '../base/base.gyp:base', | 601 '../base/base.gyp:base', |
| 612 ], | 602 ], |
| 613 'include_dirs': [ | 603 'include_dirs': [ |
| 614 '..', | 604 '..', |
| 615 ], | 605 ], |
| 616 'sources': [ | 606 'sources': [ |
| 617 'tools/mfdecoder/main.cc', | 607 'tools/mfdecoder/main.cc', |
| 618 'tools/mfdecoder/mfdecoder.h', | 608 'tools/mfdecoder/mfdecoder.h', |
| 619 'tools/mfdecoder/mfdecoder.cc', | 609 'tools/mfdecoder/mfdecoder.cc', |
| 620 ], | 610 ], |
| 621 'msvs_settings': { | 611 'msvs_settings': { |
| 622 'VCLinkerTool': { | 612 'VCLinkerTool': { |
| 623 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 613 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 624 }, | 614 }, |
| 625 }, | 615 }, |
| 626 }, | 616 }, |
| 627 ], | 617 ], |
| 628 }], | 618 }], |
| 629 ['OS!="mac"', { | 619 ['OS!="mac"', { |
| 630 'targets': [ | 620 'targets': [ |
| 631 { | 621 { |
| 632 'target_name': 'shader_bench', | 622 'target_name': 'shader_bench', |
| 633 'type': 'executable', | 623 'type': 'executable', |
| 634 'dependencies': [ | 624 'dependencies': [ |
| 635 'media', | 625 'media', |
| 636 'yuv_convert', | |
| 637 '../base/base.gyp:base', | 626 '../base/base.gyp:base', |
| 638 '../ui/gfx/gl/gl.gyp:gl', | 627 '../ui/gfx/gl/gl.gyp:gl', |
| 639 ], | 628 ], |
| 640 'sources': [ | 629 'sources': [ |
| 641 'tools/shader_bench/shader_bench.cc', | 630 'tools/shader_bench/shader_bench.cc', |
| 642 'tools/shader_bench/cpu_color_painter.cc', | 631 'tools/shader_bench/cpu_color_painter.cc', |
| 643 'tools/shader_bench/cpu_color_painter.h', | 632 'tools/shader_bench/cpu_color_painter.h', |
| 644 'tools/shader_bench/gpu_color_painter.cc', | 633 'tools/shader_bench/gpu_color_painter.cc', |
| 645 'tools/shader_bench/gpu_color_painter.h', | 634 'tools/shader_bench/gpu_color_painter.h', |
| 646 'tools/shader_bench/gpu_color_painter_exp.cc', | 635 'tools/shader_bench/gpu_color_painter_exp.cc', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 }, | 682 }, |
| 694 ], | 683 ], |
| 695 }], | 684 }], |
| 696 ['os_posix == 1 and OS != "mac"', { | 685 ['os_posix == 1 and OS != "mac"', { |
| 697 'targets': [ | 686 'targets': [ |
| 698 { | 687 { |
| 699 'target_name': 'player_x11', | 688 'target_name': 'player_x11', |
| 700 'type': 'executable', | 689 'type': 'executable', |
| 701 'dependencies': [ | 690 'dependencies': [ |
| 702 'media', | 691 'media', |
| 703 'yuv_convert', | |
| 704 '../base/base.gyp:base', | 692 '../base/base.gyp:base', |
| 705 '../ui/gfx/gl/gl.gyp:gl', | 693 '../ui/gfx/gl/gl.gyp:gl', |
| 706 ], | 694 ], |
| 707 'link_settings': { | 695 'link_settings': { |
| 708 'libraries': [ | 696 'libraries': [ |
| 709 '-ldl', | 697 '-ldl', |
| 710 '-lX11', | 698 '-lX11', |
| 711 '-lXrender', | 699 '-lXrender', |
| 712 '-lXext', | 700 '-lXext', |
| 713 ], | 701 ], |
| 714 }, | 702 }, |
| 715 'sources': [ | 703 'sources': [ |
| 716 'tools/player_x11/gl_video_renderer.cc', | 704 'tools/player_x11/gl_video_renderer.cc', |
| 717 'tools/player_x11/gl_video_renderer.h', | 705 'tools/player_x11/gl_video_renderer.h', |
| 718 'tools/player_x11/player_x11.cc', | 706 'tools/player_x11/player_x11.cc', |
| 719 'tools/player_x11/x11_video_renderer.cc', | 707 'tools/player_x11/x11_video_renderer.cc', |
| 720 'tools/player_x11/x11_video_renderer.h', | 708 'tools/player_x11/x11_video_renderer.h', |
| 721 ], | 709 ], |
| 722 }, | 710 }, |
| 723 ], | 711 ], |
| 724 }], | 712 }], |
| 725 ], | 713 ], |
| 726 } | 714 } |
| OLD | NEW |