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 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
10 }, | 10 }, |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'media', | 13 'target_name': 'media', |
14 'type': 'static_library', | 14 'type': '<(component)', |
15 'dependencies': [ | 15 'dependencies': [ |
16 'yuv_convert', | 16 'yuv_convert', |
17 '../base/base.gyp:base', | 17 '../base/base.gyp:base', |
18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
19 '../build/temp_gyp/googleurl.gyp:googleurl', | 19 '../build/temp_gyp/googleurl.gyp:googleurl', |
20 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 20 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
21 '../third_party/openmax/openmax.gyp:il', | 21 '../third_party/openmax/openmax.gyp:il', |
| 22 '../ui/ui.gyp:ui', |
| 23 ], |
| 24 'defines': [ |
| 25 'MEDIA_IMPLEMENTATION', |
22 ], | 26 ], |
23 'include_dirs': [ | 27 'include_dirs': [ |
24 '..', | 28 '..', |
25 ], | 29 ], |
26 'sources': [ | 30 'sources': [ |
27 'audio/audio_buffers_state.cc', | 31 'audio/audio_buffers_state.cc', |
28 'audio/audio_buffers_state.h', | 32 'audio/audio_buffers_state.h', |
29 'audio/audio_io.h', | 33 'audio/audio_io.h', |
30 'audio/audio_input_controller.cc', | 34 'audio/audio_input_controller.cc', |
31 'audio/audio_input_controller.h', | 35 'audio/audio_input_controller.h', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 'base/filter_collection.cc', | 105 'base/filter_collection.cc', |
102 'base/filter_collection.h', | 106 'base/filter_collection.h', |
103 'base/filter_factories.cc', | 107 'base/filter_factories.cc', |
104 'base/filter_factories.h', | 108 'base/filter_factories.h', |
105 'base/filter_host.h', | 109 'base/filter_host.h', |
106 'base/filters.cc', | 110 'base/filters.cc', |
107 'base/filters.h', | 111 'base/filters.h', |
108 'base/h264_bitstream_converter.cc', | 112 'base/h264_bitstream_converter.cc', |
109 'base/h264_bitstream_converter.h', | 113 'base/h264_bitstream_converter.h', |
110 'base/media.h', | 114 'base/media.h', |
| 115 'base/media_export.h', |
111 'base/media_log.cc', | 116 'base/media_log.cc', |
112 'base/media_log.h', | 117 'base/media_log.h', |
113 'base/media_log_event.h', | 118 'base/media_log_event.h', |
114 'base/media_posix.cc', | 119 'base/media_posix.cc', |
115 'base/media_switches.cc', | 120 'base/media_switches.cc', |
116 'base/media_switches.h', | 121 'base/media_switches.h', |
117 'base/media_win.cc', | 122 'base/media_win.cc', |
118 'base/message_loop_factory.cc', | 123 'base/message_loop_factory.cc', |
119 'base/message_loop_factory.h', | 124 'base/message_loop_factory.h', |
120 'base/message_loop_factory_impl.cc', | 125 'base/message_loop_factory_impl.cc', |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 ], | 419 ], |
415 }], | 420 }], |
416 ], | 421 ], |
417 }, | 422 }, |
418 { | 423 { |
419 'target_name': 'media_unittests', | 424 'target_name': 'media_unittests', |
420 'type': 'executable', | 425 'type': 'executable', |
421 'dependencies': [ | 426 'dependencies': [ |
422 'media', | 427 'media', |
423 'media_test_support', | 428 'media_test_support', |
| 429 'yuv_convert', |
424 '../base/base.gyp:base', | 430 '../base/base.gyp:base', |
425 '../base/base.gyp:base_i18n', | 431 '../base/base.gyp:base_i18n', |
426 '../base/base.gyp:test_support_base', | 432 '../base/base.gyp:test_support_base', |
427 '../testing/gmock.gyp:gmock', | 433 '../testing/gmock.gyp:gmock', |
428 '../testing/gtest.gyp:gtest', | 434 '../testing/gtest.gyp:gtest', |
429 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 435 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
430 ], | 436 ], |
431 'sources': [ | 437 'sources': [ |
432 'audio/audio_input_controller_unittest.cc', | 438 'audio/audio_input_controller_unittest.cc', |
433 'audio/audio_input_device_unittest.cc', | 439 'audio/audio_input_device_unittest.cc', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 ], | 528 ], |
523 'sources': [ | 529 'sources': [ |
524 'tools/media_bench/media_bench.cc', | 530 'tools/media_bench/media_bench.cc', |
525 ], | 531 ], |
526 }, | 532 }, |
527 { | 533 { |
528 'target_name': 'scaler_bench', | 534 'target_name': 'scaler_bench', |
529 'type': 'executable', | 535 'type': 'executable', |
530 'dependencies': [ | 536 'dependencies': [ |
531 'media', | 537 'media', |
| 538 'yuv_convert', |
532 '../base/base.gyp:base', | 539 '../base/base.gyp:base', |
533 '../skia/skia.gyp:skia', | 540 '../skia/skia.gyp:skia', |
534 ], | 541 ], |
535 'sources': [ | 542 'sources': [ |
536 'tools/scaler_bench/scaler_bench.cc', | 543 'tools/scaler_bench/scaler_bench.cc', |
537 ], | 544 ], |
538 }, | 545 }, |
539 { | 546 { |
540 'target_name': 'ffmpeg_tests', | 547 'target_name': 'ffmpeg_tests', |
541 'type': 'executable', | 548 'type': 'executable', |
(...skipping 26 matching lines...) Expand all Loading... |
568 }, | 575 }, |
569 ], | 576 ], |
570 'conditions': [ | 577 'conditions': [ |
571 ['OS=="win"', { | 578 ['OS=="win"', { |
572 'targets': [ | 579 'targets': [ |
573 { | 580 { |
574 'target_name': 'player_wtl', | 581 'target_name': 'player_wtl', |
575 'type': 'executable', | 582 'type': 'executable', |
576 'dependencies': [ | 583 'dependencies': [ |
577 'media', | 584 'media', |
| 585 'yuv_convert', |
578 '../base/base.gyp:base', | 586 '../base/base.gyp:base', |
| 587 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
579 ], | 588 ], |
580 'include_dirs': [ | 589 'include_dirs': [ |
581 '<(DEPTH)/third_party/wtl/include', | 590 '<(DEPTH)/third_party/wtl/include', |
582 ], | 591 ], |
583 'sources': [ | 592 'sources': [ |
584 'tools/player_wtl/list.h', | 593 'tools/player_wtl/list.h', |
585 'tools/player_wtl/mainfrm.h', | 594 'tools/player_wtl/mainfrm.h', |
586 'tools/player_wtl/movie.cc', | 595 'tools/player_wtl/movie.cc', |
587 'tools/player_wtl/movie.h', | 596 'tools/player_wtl/movie.h', |
588 'tools/player_wtl/player_wtl.cc', | 597 'tools/player_wtl/player_wtl.cc', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 'VCLinkerTool': { | 629 'VCLinkerTool': { |
621 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 630 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
622 }, | 631 }, |
623 }, | 632 }, |
624 }, | 633 }, |
625 { | 634 { |
626 'target_name': 'mfdecoder', | 635 'target_name': 'mfdecoder', |
627 'type': 'executable', | 636 'type': 'executable', |
628 'dependencies': [ | 637 'dependencies': [ |
629 'media', | 638 'media', |
| 639 'yuv_convert', |
630 '../base/base.gyp:base', | 640 '../base/base.gyp:base', |
631 ], | 641 ], |
632 'include_dirs': [ | 642 'include_dirs': [ |
633 '..', | 643 '..', |
634 ], | 644 ], |
635 'sources': [ | 645 'sources': [ |
636 'tools/mfdecoder/main.cc', | 646 'tools/mfdecoder/main.cc', |
637 'tools/mfdecoder/mfdecoder.h', | 647 'tools/mfdecoder/mfdecoder.h', |
638 'tools/mfdecoder/mfdecoder.cc', | 648 'tools/mfdecoder/mfdecoder.cc', |
639 ], | 649 ], |
640 'msvs_settings': { | 650 'msvs_settings': { |
641 'VCLinkerTool': { | 651 'VCLinkerTool': { |
642 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 652 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
643 }, | 653 }, |
644 }, | 654 }, |
645 }, | 655 }, |
646 ], | 656 ], |
647 }], | 657 }], |
648 ['OS!="mac"', { | 658 ['OS!="mac"', { |
649 'targets': [ | 659 'targets': [ |
650 { | 660 { |
651 'target_name': 'shader_bench', | 661 'target_name': 'shader_bench', |
652 'type': 'executable', | 662 'type': 'executable', |
653 'dependencies': [ | 663 'dependencies': [ |
654 'media', | 664 'media', |
| 665 'yuv_convert', |
655 '../base/base.gyp:base', | 666 '../base/base.gyp:base', |
656 '../ui/gfx/gl/gl.gyp:gl', | 667 '../ui/gfx/gl/gl.gyp:gl', |
657 ], | 668 ], |
658 'sources': [ | 669 'sources': [ |
659 'tools/shader_bench/shader_bench.cc', | 670 'tools/shader_bench/shader_bench.cc', |
660 'tools/shader_bench/cpu_color_painter.cc', | 671 'tools/shader_bench/cpu_color_painter.cc', |
661 'tools/shader_bench/cpu_color_painter.h', | 672 'tools/shader_bench/cpu_color_painter.h', |
662 'tools/shader_bench/gpu_color_painter.cc', | 673 'tools/shader_bench/gpu_color_painter.cc', |
663 'tools/shader_bench/gpu_color_painter.h', | 674 'tools/shader_bench/gpu_color_painter.h', |
664 'tools/shader_bench/gpu_color_painter_exp.cc', | 675 'tools/shader_bench/gpu_color_painter_exp.cc', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 }, | 722 }, |
712 ], | 723 ], |
713 }], | 724 }], |
714 ['os_posix == 1 and OS != "mac"', { | 725 ['os_posix == 1 and OS != "mac"', { |
715 'targets': [ | 726 'targets': [ |
716 { | 727 { |
717 'target_name': 'player_x11', | 728 'target_name': 'player_x11', |
718 'type': 'executable', | 729 'type': 'executable', |
719 'dependencies': [ | 730 'dependencies': [ |
720 'media', | 731 'media', |
| 732 'yuv_convert', |
721 '../base/base.gyp:base', | 733 '../base/base.gyp:base', |
722 '../ui/gfx/gl/gl.gyp:gl', | 734 '../ui/gfx/gl/gl.gyp:gl', |
723 ], | 735 ], |
724 'link_settings': { | 736 'link_settings': { |
725 'libraries': [ | 737 'libraries': [ |
726 '-ldl', | 738 '-ldl', |
727 '-lX11', | 739 '-lX11', |
728 '-lXrender', | 740 '-lXrender', |
729 '-lXext', | 741 '-lXext', |
730 ], | 742 ], |
731 }, | 743 }, |
732 'sources': [ | 744 'sources': [ |
733 'tools/player_x11/gl_video_renderer.cc', | 745 'tools/player_x11/gl_video_renderer.cc', |
734 'tools/player_x11/gl_video_renderer.h', | 746 'tools/player_x11/gl_video_renderer.h', |
735 'tools/player_x11/player_x11.cc', | 747 'tools/player_x11/player_x11.cc', |
736 'tools/player_x11/x11_video_renderer.cc', | 748 'tools/player_x11/x11_video_renderer.cc', |
737 'tools/player_x11/x11_video_renderer.h', | 749 'tools/player_x11/x11_video_renderer.h', |
738 ], | 750 ], |
739 }, | 751 }, |
740 ], | 752 ], |
741 }], | 753 }], |
742 ], | 754 ], |
743 } | 755 } |
OLD | NEW |