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