| 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 'player_x11_renderer%': 'x11', | 8 'player_x11_renderer%': 'x11', |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'media', | 12 'target_name': 'media', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'yuv_convert', | 15 'yuv_convert', |
| 16 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
| 17 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 17 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 18 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 18 '../build/temp_gyp/googleurl.gyp:googleurl', | 19 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 19 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | |
| 20 '../third_party/openmax/openmax.gyp:il', | |
| 21 ], | 20 ], |
| 22 'include_dirs': [ | 21 'include_dirs': [ |
| 23 '..', | 22 '..', |
| 24 ], | 23 ], |
| 25 'msvs_guid': '6AE76406-B03B-11DD-94B1-80B556D89593', | 24 'msvs_guid': '6AE76406-B03B-11DD-94B1-80B556D89593', |
| 26 'sources': [ | 25 'sources': [ |
| 27 'audio/audio_buffers_state.cc', | 26 'audio/audio_buffers_state.cc', |
| 28 'audio/audio_buffers_state.h', | 27 'audio/audio_buffers_state.h', |
| 29 'audio/audio_io.h', | 28 'audio/audio_io.h', |
| 30 'audio/audio_input_controller.cc', | 29 'audio/audio_input_controller.cc', |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 ], | 217 ], |
| 219 }, | 218 }, |
| 220 }], | 219 }], |
| 221 ['OS!="openbsd"', { | 220 ['OS!="openbsd"', { |
| 222 'sources!': [ | 221 'sources!': [ |
| 223 'audio/openbsd/audio_manager_openbsd.cc', | 222 'audio/openbsd/audio_manager_openbsd.cc', |
| 224 'audio/openbsd/audio_manager_openbsd.h', | 223 'audio/openbsd/audio_manager_openbsd.h', |
| 225 ], | 224 ], |
| 226 }], | 225 }], |
| 227 ['os_posix == 1 and OS != "mac"', { | 226 ['os_posix == 1 and OS != "mac"', { |
| 227 'sources': [ |
| 228 'filters/omx_video_decoder.cc', |
| 229 'filters/omx_video_decoder.h', |
| 230 ], |
| 231 'dependencies': [ |
| 232 'omx_wrapper', |
| 233 ] |
| 234 }], |
| 235 ['os_posix == 1 and OS != "mac"', { |
| 228 'sources!': [ | 236 'sources!': [ |
| 229 'video/capture/video_capture_device_dummy.cc', | 237 'video/capture/video_capture_device_dummy.cc', |
| 230 'video/capture/video_capture_device_dummy.h', | 238 'video/capture/video_capture_device_dummy.h', |
| 231 ], | 239 ], |
| 232 }], | 240 }], |
| 233 ['OS=="mac"', { | 241 ['OS=="mac"', { |
| 234 'link_settings': { | 242 'link_settings': { |
| 235 'libraries': [ | 243 'libraries': [ |
| 236 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 244 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
| 237 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 245 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 'dependencies': [ | 369 'dependencies': [ |
| 362 'media', | 370 'media', |
| 363 'media_test_support', | 371 'media_test_support', |
| 364 '../base/base.gyp:base', | 372 '../base/base.gyp:base', |
| 365 '../base/base.gyp:base_i18n', | 373 '../base/base.gyp:base_i18n', |
| 366 '../base/base.gyp:test_support_base', | 374 '../base/base.gyp:test_support_base', |
| 367 '../build/temp_gyp/googleurl.gyp:googleurl', | 375 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 368 '../testing/gmock.gyp:gmock', | 376 '../testing/gmock.gyp:gmock', |
| 369 '../testing/gtest.gyp:gtest', | 377 '../testing/gtest.gyp:gtest', |
| 370 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 378 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 379 '../third_party/openmax/openmax.gyp:il', |
| 380 ], |
| 381 'sources!': [ |
| 382 '../third_party/openmax/omx_stub.cc', |
| 371 ], | 383 ], |
| 372 'sources': [ | 384 'sources': [ |
| 373 'audio/audio_input_controller_unittest.cc', | 385 'audio/audio_input_controller_unittest.cc', |
| 374 'audio/audio_input_device_unittest.cc', | 386 'audio/audio_input_device_unittest.cc', |
| 375 'audio/audio_input_unittest.cc', | 387 'audio/audio_input_unittest.cc', |
| 376 'audio/audio_output_controller_unittest.cc', | 388 'audio/audio_output_controller_unittest.cc', |
| 377 'audio/audio_output_proxy_unittest.cc', | 389 'audio/audio_output_proxy_unittest.cc', |
| 378 'audio/audio_parameters_unittest.cc', | 390 'audio/audio_parameters_unittest.cc', |
| 379 'audio/audio_util_unittest.cc', | 391 'audio/audio_util_unittest.cc', |
| 380 'audio/linux/alsa_output_unittest.cc', | 392 'audio/linux/alsa_output_unittest.cc', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 406 'filters/audio_renderer_base_unittest.cc', | 418 'filters/audio_renderer_base_unittest.cc', |
| 407 'filters/bitstream_converter_unittest.cc', | 419 'filters/bitstream_converter_unittest.cc', |
| 408 'filters/decoder_base_unittest.cc', | 420 'filters/decoder_base_unittest.cc', |
| 409 'filters/ffmpeg_demuxer_unittest.cc', | 421 'filters/ffmpeg_demuxer_unittest.cc', |
| 410 'filters/ffmpeg_glue_unittest.cc', | 422 'filters/ffmpeg_glue_unittest.cc', |
| 411 'filters/ffmpeg_h264_bitstream_converter_unittest.cc', | 423 'filters/ffmpeg_h264_bitstream_converter_unittest.cc', |
| 412 'filters/ffmpeg_video_decoder_unittest.cc', | 424 'filters/ffmpeg_video_decoder_unittest.cc', |
| 413 'filters/file_data_source_unittest.cc', | 425 'filters/file_data_source_unittest.cc', |
| 414 'filters/rtc_video_decoder_unittest.cc', | 426 'filters/rtc_video_decoder_unittest.cc', |
| 415 'filters/video_renderer_base_unittest.cc', | 427 'filters/video_renderer_base_unittest.cc', |
| 428 'omx/mock_omx.cc', |
| 429 'omx/mock_omx.h', |
| 416 'video/ffmpeg_video_decode_engine_unittest.cc', | 430 'video/ffmpeg_video_decode_engine_unittest.cc', |
| 417 ], | 431 ], |
| 432 'conditions': [ |
| 433 ['toolkit_uses_gtk == 1', { |
| 434 'dependencies': [ |
| 435 # Needed for the following #include chain: |
| 436 # base/run_all_unittests.cc |
| 437 # ../base/test_suite.h |
| 438 # gtk/gtk.h |
| 439 '../build/linux/system.gyp:gtk', |
| 440 ], |
| 441 'sources': [ |
| 442 'omx/omx_codec_unittest.cc', |
| 443 ], |
| 444 'conditions': [ |
| 445 ['linux_use_tcmalloc==1', { |
| 446 'dependencies': [ |
| 447 '../base/allocator/allocator.gyp:allocator', |
| 448 ], |
| 449 }], |
| 450 ], |
| 451 }], |
| 452 ], |
| 418 }, | 453 }, |
| 419 { | 454 { |
| 420 'target_name': 'media_test_support', | 455 'target_name': 'media_test_support', |
| 421 'type': 'static_library', | 456 'type': 'static_library', |
| 422 'dependencies': [ | 457 'dependencies': [ |
| 423 'media', | 458 'media', |
| 424 '../base/base.gyp:base', | 459 '../base/base.gyp:base', |
| 425 '../testing/gmock.gyp:gmock', | 460 '../testing/gmock.gyp:gmock', |
| 426 '../testing/gtest.gyp:gtest', | 461 '../testing/gtest.gyp:gtest', |
| 427 ], | 462 ], |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 ], | 669 ], |
| 635 'sources': [ | 670 'sources': [ |
| 636 'tools/tile_render_bench/tile_render_bench.cc', | 671 'tools/tile_render_bench/tile_render_bench.cc', |
| 637 ], | 672 ], |
| 638 }, | 673 }, |
| 639 ], | 674 ], |
| 640 }], | 675 }], |
| 641 ['os_posix == 1 and OS != "mac"', { | 676 ['os_posix == 1 and OS != "mac"', { |
| 642 'targets': [ | 677 'targets': [ |
| 643 { | 678 { |
| 679 'target_name': 'omx_test', |
| 680 'type': 'executable', |
| 681 'dependencies': [ |
| 682 'media', |
| 683 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 684 '../third_party/openmax/openmax.gyp:il', |
| 685 ], |
| 686 'sources': [ |
| 687 'tools/omx_test/color_space_util.cc', |
| 688 'tools/omx_test/color_space_util.h', |
| 689 'tools/omx_test/file_reader_util.cc', |
| 690 'tools/omx_test/file_reader_util.h', |
| 691 'tools/omx_test/file_sink.cc', |
| 692 'tools/omx_test/file_sink.h', |
| 693 'tools/omx_test/omx_test.cc', |
| 694 ], |
| 695 }, |
| 696 { |
| 697 'target_name': 'omx_unittests', |
| 698 'type': 'executable', |
| 699 'dependencies': [ |
| 700 'media', |
| 701 'omx_wrapper', |
| 702 '../base/base.gyp:base', |
| 703 '../base/base.gyp:base_i18n', |
| 704 '../base/base.gyp:test_support_base', |
| 705 '../testing/gtest.gyp:gtest', |
| 706 ], |
| 707 'conditions': [ |
| 708 ['toolkit_uses_gtk == 1', { |
| 709 'dependencies': [ |
| 710 '../build/linux/system.gyp:gtk', |
| 711 ], |
| 712 }], |
| 713 ], |
| 714 'sources': [ |
| 715 'omx/omx_unittest.cc', |
| 716 'omx/run_all_unittests.cc', |
| 717 ], |
| 718 }, |
| 719 { |
| 720 'target_name': 'omx_wrapper', |
| 721 'type': 'static_library', |
| 722 'dependencies': [ |
| 723 '../base/base.gyp:base', |
| 724 '../third_party/openmax/openmax.gyp:il', |
| 725 # TODO(wjia): remove ffmpeg |
| 726 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 727 ], |
| 728 'sources': [ |
| 729 'omx/omx_configurator.cc', |
| 730 'omx/omx_configurator.h', |
| 731 'video/omx_video_decode_engine.cc', |
| 732 'video/omx_video_decode_engine.cc', |
| 733 ], |
| 734 'hard_dependency': 1, |
| 735 'export_dependent_settings': [ |
| 736 '../third_party/openmax/openmax.gyp:il', |
| 737 ], |
| 738 }, |
| 739 { |
| 644 'target_name': 'player_x11', | 740 'target_name': 'player_x11', |
| 645 'type': 'executable', | 741 'type': 'executable', |
| 646 'dependencies': [ | 742 'dependencies': [ |
| 647 'media', | 743 'media', |
| 648 '../base/base.gyp:base', | 744 '../base/base.gyp:base', |
| 649 ], | 745 ], |
| 650 'link_settings': { | 746 'link_settings': { |
| 651 'libraries': [ | 747 'libraries': [ |
| 652 '-ldl', | 748 '-ldl', |
| 653 '-lX11', | 749 '-lX11', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 ], | 794 ], |
| 699 }], | 795 }], |
| 700 ], | 796 ], |
| 701 } | 797 } |
| 702 | 798 |
| 703 # Local Variables: | 799 # Local Variables: |
| 704 # tab-width:2 | 800 # tab-width:2 |
| 705 # indent-tabs-mode:nil | 801 # indent-tabs-mode:nil |
| 706 # End: | 802 # End: |
| 707 # vim: set expandtab tabstop=2 shiftwidth=2: | 803 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |