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': 'static_library', | 12 'type': '<(component)', |
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', |
20 ], | 24 ], |
21 'include_dirs': [ | 25 'include_dirs': [ |
22 '..', | 26 '..', |
23 ], | 27 ], |
24 'sources': [ | 28 'sources': [ |
25 'audio/audio_buffers_state.cc', | 29 'audio/audio_buffers_state.cc', |
26 'audio/audio_buffers_state.h', | 30 'audio/audio_buffers_state.h', |
27 'audio/audio_io.h', | 31 'audio/audio_io.h', |
28 'audio/audio_input_controller.cc', | 32 'audio/audio_input_controller.cc', |
29 'audio/audio_input_controller.h', | 33 'audio/audio_input_controller.h', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 'base/filter_collection.cc', | 101 'base/filter_collection.cc', |
98 'base/filter_collection.h', | 102 'base/filter_collection.h', |
99 'base/filter_factories.cc', | 103 'base/filter_factories.cc', |
100 'base/filter_factories.h', | 104 'base/filter_factories.h', |
101 'base/filter_host.h', | 105 'base/filter_host.h', |
102 'base/filters.cc', | 106 'base/filters.cc', |
103 'base/filters.h', | 107 'base/filters.h', |
104 'base/h264_bitstream_converter.cc', | 108 'base/h264_bitstream_converter.cc', |
105 'base/h264_bitstream_converter.h', | 109 'base/h264_bitstream_converter.h', |
106 'base/media.h', | 110 'base/media.h', |
| 111 'base/media_export.h', |
107 'base/media_posix.cc', | 112 'base/media_posix.cc', |
108 'base/media_switches.cc', | 113 'base/media_switches.cc', |
109 'base/media_switches.h', | 114 'base/media_switches.h', |
110 'base/media_win.cc', | 115 'base/media_win.cc', |
111 'base/message_loop_factory.cc', | 116 'base/message_loop_factory.cc', |
112 'base/message_loop_factory.h', | 117 'base/message_loop_factory.h', |
113 'base/message_loop_factory_impl.cc', | 118 'base/message_loop_factory_impl.cc', |
114 'base/message_loop_factory_impl.h', | 119 'base/message_loop_factory_impl.h', |
115 'base/pipeline.h', | 120 'base/pipeline.h', |
116 'base/pipeline_impl.cc', | 121 'base/pipeline_impl.cc', |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 ], | 387 ], |
383 }], | 388 }], |
384 ], | 389 ], |
385 }, | 390 }, |
386 { | 391 { |
387 'target_name': 'media_unittests', | 392 'target_name': 'media_unittests', |
388 'type': 'executable', | 393 'type': 'executable', |
389 'dependencies': [ | 394 'dependencies': [ |
390 'media', | 395 'media', |
391 'media_test_support', | 396 'media_test_support', |
| 397 'yuv_convert', |
392 '../base/base.gyp:base', | 398 '../base/base.gyp:base', |
393 '../base/base.gyp:base_i18n', | 399 '../base/base.gyp:base_i18n', |
394 '../base/base.gyp:test_support_base', | 400 '../base/base.gyp:test_support_base', |
395 '../testing/gmock.gyp:gmock', | 401 '../testing/gmock.gyp:gmock', |
396 '../testing/gtest.gyp:gtest', | 402 '../testing/gtest.gyp:gtest', |
397 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 403 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
398 ], | 404 ], |
399 'sources': [ | 405 'sources': [ |
400 'audio/audio_input_controller_unittest.cc', | 406 'audio/audio_input_controller_unittest.cc', |
401 'audio/audio_input_device_unittest.cc', | 407 'audio/audio_input_device_unittest.cc', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 ], | 496 ], |
491 'sources': [ | 497 'sources': [ |
492 'tools/media_bench/media_bench.cc', | 498 'tools/media_bench/media_bench.cc', |
493 ], | 499 ], |
494 }, | 500 }, |
495 { | 501 { |
496 'target_name': 'scaler_bench', | 502 'target_name': 'scaler_bench', |
497 'type': 'executable', | 503 'type': 'executable', |
498 'dependencies': [ | 504 'dependencies': [ |
499 'media', | 505 'media', |
| 506 'yuv_convert', |
500 '../base/base.gyp:base', | 507 '../base/base.gyp:base', |
501 '../skia/skia.gyp:skia', | 508 '../skia/skia.gyp:skia', |
502 ], | 509 ], |
503 'sources': [ | 510 'sources': [ |
504 'tools/scaler_bench/scaler_bench.cc', | 511 'tools/scaler_bench/scaler_bench.cc', |
505 ], | 512 ], |
506 }, | 513 }, |
507 { | 514 { |
508 'target_name': 'ffmpeg_tests', | 515 'target_name': 'ffmpeg_tests', |
509 'type': 'executable', | 516 'type': 'executable', |
(...skipping 26 matching lines...) Expand all Loading... |
536 }, | 543 }, |
537 ], | 544 ], |
538 'conditions': [ | 545 'conditions': [ |
539 ['OS=="win"', { | 546 ['OS=="win"', { |
540 'targets': [ | 547 'targets': [ |
541 { | 548 { |
542 'target_name': 'player_wtl', | 549 'target_name': 'player_wtl', |
543 'type': 'executable', | 550 'type': 'executable', |
544 'dependencies': [ | 551 'dependencies': [ |
545 'media', | 552 'media', |
| 553 'yuv_convert', |
546 '../base/base.gyp:base', | 554 '../base/base.gyp:base', |
| 555 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
547 ], | 556 ], |
548 'include_dirs': [ | 557 'include_dirs': [ |
549 '<(DEPTH)/third_party/wtl/include', | 558 '<(DEPTH)/third_party/wtl/include', |
550 ], | 559 ], |
551 'sources': [ | 560 'sources': [ |
552 'tools/player_wtl/list.h', | 561 'tools/player_wtl/list.h', |
553 'tools/player_wtl/mainfrm.h', | 562 'tools/player_wtl/mainfrm.h', |
554 'tools/player_wtl/movie.cc', | 563 'tools/player_wtl/movie.cc', |
555 'tools/player_wtl/movie.h', | 564 'tools/player_wtl/movie.h', |
556 'tools/player_wtl/player_wtl.cc', | 565 'tools/player_wtl/player_wtl.cc', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 'VCLinkerTool': { | 597 'VCLinkerTool': { |
589 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 598 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
590 }, | 599 }, |
591 }, | 600 }, |
592 }, | 601 }, |
593 { | 602 { |
594 'target_name': 'mfdecoder', | 603 'target_name': 'mfdecoder', |
595 'type': 'executable', | 604 'type': 'executable', |
596 'dependencies': [ | 605 'dependencies': [ |
597 'media', | 606 'media', |
| 607 'yuv_convert', |
598 '../base/base.gyp:base', | 608 '../base/base.gyp:base', |
599 ], | 609 ], |
600 'include_dirs': [ | 610 'include_dirs': [ |
601 '..', | 611 '..', |
602 ], | 612 ], |
603 'sources': [ | 613 'sources': [ |
604 'tools/mfdecoder/main.cc', | 614 'tools/mfdecoder/main.cc', |
605 'tools/mfdecoder/mfdecoder.h', | 615 'tools/mfdecoder/mfdecoder.h', |
606 'tools/mfdecoder/mfdecoder.cc', | 616 'tools/mfdecoder/mfdecoder.cc', |
607 ], | 617 ], |
608 'msvs_settings': { | 618 'msvs_settings': { |
609 'VCLinkerTool': { | 619 'VCLinkerTool': { |
610 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 620 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
611 }, | 621 }, |
612 }, | 622 }, |
613 }, | 623 }, |
614 ], | 624 ], |
615 }], | 625 }], |
616 ['OS!="mac"', { | 626 ['OS!="mac"', { |
617 'targets': [ | 627 'targets': [ |
618 { | 628 { |
619 'target_name': 'shader_bench', | 629 'target_name': 'shader_bench', |
620 'type': 'executable', | 630 'type': 'executable', |
621 'dependencies': [ | 631 'dependencies': [ |
622 'media', | 632 'media', |
| 633 'yuv_convert', |
623 '../base/base.gyp:base', | 634 '../base/base.gyp:base', |
624 '../ui/gfx/gl/gl.gyp:gl', | 635 '../ui/gfx/gl/gl.gyp:gl', |
625 ], | 636 ], |
626 'sources': [ | 637 'sources': [ |
627 'tools/shader_bench/shader_bench.cc', | 638 'tools/shader_bench/shader_bench.cc', |
628 'tools/shader_bench/cpu_color_painter.cc', | 639 'tools/shader_bench/cpu_color_painter.cc', |
629 'tools/shader_bench/cpu_color_painter.h', | 640 'tools/shader_bench/cpu_color_painter.h', |
630 'tools/shader_bench/gpu_color_painter.cc', | 641 'tools/shader_bench/gpu_color_painter.cc', |
631 'tools/shader_bench/gpu_color_painter.h', | 642 'tools/shader_bench/gpu_color_painter.h', |
632 'tools/shader_bench/gpu_color_painter_exp.cc', | 643 'tools/shader_bench/gpu_color_painter_exp.cc', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 }, | 690 }, |
680 ], | 691 ], |
681 }], | 692 }], |
682 ['os_posix == 1 and OS != "mac"', { | 693 ['os_posix == 1 and OS != "mac"', { |
683 'targets': [ | 694 'targets': [ |
684 { | 695 { |
685 'target_name': 'player_x11', | 696 'target_name': 'player_x11', |
686 'type': 'executable', | 697 'type': 'executable', |
687 'dependencies': [ | 698 'dependencies': [ |
688 'media', | 699 'media', |
| 700 'yuv_convert', |
689 '../base/base.gyp:base', | 701 '../base/base.gyp:base', |
690 '../ui/gfx/gl/gl.gyp:gl', | 702 '../ui/gfx/gl/gl.gyp:gl', |
691 ], | 703 ], |
692 'link_settings': { | 704 'link_settings': { |
693 'libraries': [ | 705 'libraries': [ |
694 '-ldl', | 706 '-ldl', |
695 '-lX11', | 707 '-lX11', |
696 '-lXrender', | 708 '-lXrender', |
697 '-lXext', | 709 '-lXext', |
698 ], | 710 ], |
699 }, | 711 }, |
700 'sources': [ | 712 'sources': [ |
701 'tools/player_x11/gl_video_renderer.cc', | 713 'tools/player_x11/gl_video_renderer.cc', |
702 'tools/player_x11/gl_video_renderer.h', | 714 'tools/player_x11/gl_video_renderer.h', |
703 'tools/player_x11/player_x11.cc', | 715 'tools/player_x11/player_x11.cc', |
704 'tools/player_x11/x11_video_renderer.cc', | 716 'tools/player_x11/x11_video_renderer.cc', |
705 'tools/player_x11/x11_video_renderer.h', | 717 'tools/player_x11/x11_video_renderer.h', |
706 ], | 718 ], |
707 }, | 719 }, |
708 ], | 720 ], |
709 }], | 721 }], |
710 ], | 722 ], |
711 } | 723 } |
OLD | NEW |