| 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_api.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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 ], | 385 ], |
| 381 }], | 386 }], |
| 382 ], | 387 ], |
| 383 }, | 388 }, |
| 384 { | 389 { |
| 385 'target_name': 'media_unittests', | 390 'target_name': 'media_unittests', |
| 386 'type': 'executable', | 391 'type': 'executable', |
| 387 'dependencies': [ | 392 'dependencies': [ |
| 388 'media', | 393 'media', |
| 389 'media_test_support', | 394 'media_test_support', |
| 395 'yuv_convert', |
| 390 '../base/base.gyp:base', | 396 '../base/base.gyp:base', |
| 391 '../base/base.gyp:base_i18n', | 397 '../base/base.gyp:base_i18n', |
| 392 '../base/base.gyp:test_support_base', | 398 '../base/base.gyp:test_support_base', |
| 393 '../testing/gmock.gyp:gmock', | 399 '../testing/gmock.gyp:gmock', |
| 394 '../testing/gtest.gyp:gtest', | 400 '../testing/gtest.gyp:gtest', |
| 395 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 401 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 396 ], | 402 ], |
| 397 'sources': [ | 403 'sources': [ |
| 398 'audio/audio_input_controller_unittest.cc', | 404 'audio/audio_input_controller_unittest.cc', |
| 399 'audio/audio_input_device_unittest.cc', | 405 'audio/audio_input_device_unittest.cc', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 ], | 494 ], |
| 489 'sources': [ | 495 'sources': [ |
| 490 'tools/media_bench/media_bench.cc', | 496 'tools/media_bench/media_bench.cc', |
| 491 ], | 497 ], |
| 492 }, | 498 }, |
| 493 { | 499 { |
| 494 'target_name': 'scaler_bench', | 500 'target_name': 'scaler_bench', |
| 495 'type': 'executable', | 501 'type': 'executable', |
| 496 'dependencies': [ | 502 'dependencies': [ |
| 497 'media', | 503 'media', |
| 504 'yuv_convert', |
| 498 '../base/base.gyp:base', | 505 '../base/base.gyp:base', |
| 499 '../skia/skia.gyp:skia', | 506 '../skia/skia.gyp:skia', |
| 500 ], | 507 ], |
| 501 'sources': [ | 508 'sources': [ |
| 502 'tools/scaler_bench/scaler_bench.cc', | 509 'tools/scaler_bench/scaler_bench.cc', |
| 503 ], | 510 ], |
| 504 }, | 511 }, |
| 505 { | 512 { |
| 506 'target_name': 'ffmpeg_tests', | 513 'target_name': 'ffmpeg_tests', |
| 507 'type': 'executable', | 514 'type': 'executable', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 534 }, | 541 }, |
| 535 ], | 542 ], |
| 536 'conditions': [ | 543 'conditions': [ |
| 537 ['OS=="win"', { | 544 ['OS=="win"', { |
| 538 'targets': [ | 545 'targets': [ |
| 539 { | 546 { |
| 540 'target_name': 'player_wtl', | 547 'target_name': 'player_wtl', |
| 541 'type': 'executable', | 548 'type': 'executable', |
| 542 'dependencies': [ | 549 'dependencies': [ |
| 543 'media', | 550 'media', |
| 551 'yuv_convert', |
| 544 '../base/base.gyp:base', | 552 '../base/base.gyp:base', |
| 553 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
| 545 ], | 554 ], |
| 546 'include_dirs': [ | 555 'include_dirs': [ |
| 547 '<(DEPTH)/third_party/wtl/include', | 556 '<(DEPTH)/third_party/wtl/include', |
| 548 ], | 557 ], |
| 549 'sources': [ | 558 'sources': [ |
| 550 'tools/player_wtl/list.h', | 559 'tools/player_wtl/list.h', |
| 551 'tools/player_wtl/mainfrm.h', | 560 'tools/player_wtl/mainfrm.h', |
| 552 'tools/player_wtl/movie.cc', | 561 'tools/player_wtl/movie.cc', |
| 553 'tools/player_wtl/movie.h', | 562 'tools/player_wtl/movie.h', |
| 554 'tools/player_wtl/player_wtl.cc', | 563 'tools/player_wtl/player_wtl.cc', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 'VCLinkerTool': { | 595 'VCLinkerTool': { |
| 587 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 596 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 588 }, | 597 }, |
| 589 }, | 598 }, |
| 590 }, | 599 }, |
| 591 { | 600 { |
| 592 'target_name': 'mfdecoder', | 601 'target_name': 'mfdecoder', |
| 593 'type': 'executable', | 602 'type': 'executable', |
| 594 'dependencies': [ | 603 'dependencies': [ |
| 595 'media', | 604 'media', |
| 605 'yuv_convert', |
| 596 '../base/base.gyp:base', | 606 '../base/base.gyp:base', |
| 597 ], | 607 ], |
| 598 'include_dirs': [ | 608 'include_dirs': [ |
| 599 '..', | 609 '..', |
| 600 ], | 610 ], |
| 601 'sources': [ | 611 'sources': [ |
| 602 'tools/mfdecoder/main.cc', | 612 'tools/mfdecoder/main.cc', |
| 603 'tools/mfdecoder/mfdecoder.h', | 613 'tools/mfdecoder/mfdecoder.h', |
| 604 'tools/mfdecoder/mfdecoder.cc', | 614 'tools/mfdecoder/mfdecoder.cc', |
| 605 ], | 615 ], |
| 606 'msvs_settings': { | 616 'msvs_settings': { |
| 607 'VCLinkerTool': { | 617 'VCLinkerTool': { |
| 608 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 618 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 609 }, | 619 }, |
| 610 }, | 620 }, |
| 611 }, | 621 }, |
| 612 ], | 622 ], |
| 613 }], | 623 }], |
| 614 ['OS!="mac"', { | 624 ['OS!="mac"', { |
| 615 'targets': [ | 625 'targets': [ |
| 616 { | 626 { |
| 617 'target_name': 'shader_bench', | 627 'target_name': 'shader_bench', |
| 618 'type': 'executable', | 628 'type': 'executable', |
| 619 'dependencies': [ | 629 'dependencies': [ |
| 620 'media', | 630 'media', |
| 631 'yuv_convert', |
| 621 '../base/base.gyp:base', | 632 '../base/base.gyp:base', |
| 622 '../ui/gfx/gl/gl.gyp:gl', | 633 '../ui/gfx/gl/gl.gyp:gl', |
| 623 ], | 634 ], |
| 624 'sources': [ | 635 'sources': [ |
| 625 'tools/shader_bench/shader_bench.cc', | 636 'tools/shader_bench/shader_bench.cc', |
| 626 'tools/shader_bench/cpu_color_painter.cc', | 637 'tools/shader_bench/cpu_color_painter.cc', |
| 627 'tools/shader_bench/cpu_color_painter.h', | 638 'tools/shader_bench/cpu_color_painter.h', |
| 628 'tools/shader_bench/gpu_color_painter.cc', | 639 'tools/shader_bench/gpu_color_painter.cc', |
| 629 'tools/shader_bench/gpu_color_painter.h', | 640 'tools/shader_bench/gpu_color_painter.h', |
| 630 'tools/shader_bench/gpu_color_painter_exp.cc', | 641 'tools/shader_bench/gpu_color_painter_exp.cc', |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 'tools/player_x11/gl_video_renderer.h', | 711 'tools/player_x11/gl_video_renderer.h', |
| 701 'tools/player_x11/player_x11.cc', | 712 'tools/player_x11/player_x11.cc', |
| 702 'tools/player_x11/x11_video_renderer.cc', | 713 'tools/player_x11/x11_video_renderer.cc', |
| 703 'tools/player_x11/x11_video_renderer.h', | 714 'tools/player_x11/x11_video_renderer.h', |
| 704 ], | 715 ], |
| 705 }, | 716 }, |
| 706 ], | 717 ], |
| 707 }], | 718 }], |
| 708 ], | 719 ], |
| 709 } | 720 } |
| OLD | NEW |