OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 'base/simd/filter_yuv_c.cc', | 295 'base/simd/filter_yuv_c.cc', |
296 'base/simd/yuv_to_rgb_table.cc', | 296 'base/simd/yuv_to_rgb_table.cc', |
297 'base/simd/yuv_to_rgb_table.h', | 297 'base/simd/yuv_to_rgb_table.h', |
298 'base/sinc_resampler.cc', | 298 'base/sinc_resampler.cc', |
299 'base/sinc_resampler.h', | 299 'base/sinc_resampler.h', |
300 'base/stream_parser.cc', | 300 'base/stream_parser.cc', |
301 'base/stream_parser.h', | 301 'base/stream_parser.h', |
302 'base/stream_parser_buffer.cc', | 302 'base/stream_parser_buffer.cc', |
303 'base/stream_parser_buffer.h', | 303 'base/stream_parser_buffer.h', |
304 'base/text_track.h', | 304 'base/text_track.h', |
| 305 'base/user_input_monitor.cc', |
| 306 'base/user_input_monitor.h', |
| 307 'base/user_input_monitor_linux.cc', |
| 308 'base/user_input_monitor_mac.mm', |
| 309 'base/user_input_monitor_win.cc', |
305 'base/video_decoder.cc', | 310 'base/video_decoder.cc', |
306 'base/video_decoder.h', | 311 'base/video_decoder.h', |
307 'base/video_decoder_config.cc', | 312 'base/video_decoder_config.cc', |
308 'base/video_decoder_config.h', | 313 'base/video_decoder_config.h', |
309 'base/video_frame.cc', | 314 'base/video_frame.cc', |
310 'base/video_frame.h', | 315 'base/video_frame.h', |
311 'base/video_renderer.cc', | 316 'base/video_renderer.cc', |
312 'base/video_renderer.h', | 317 'base/video_renderer.h', |
313 'base/video_util.cc', | 318 'base/video_util.cc', |
314 'base/video_util.h', | 319 'base/video_util.h', |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 ['include', '^audio/audio_manager_base\\.'], | 535 ['include', '^audio/audio_manager_base\\.'], |
531 ['include', '^audio/audio_parameters\\.'], | 536 ['include', '^audio/audio_parameters\\.'], |
532 ['include', '^audio/fake_audio_consumer\\.'], | 537 ['include', '^audio/fake_audio_consumer\\.'], |
533 ['include', '^audio/fake_audio_input_stream\\.'], | 538 ['include', '^audio/fake_audio_input_stream\\.'], |
534 ['include', '^audio/fake_audio_output_stream\\.'], | 539 ['include', '^audio/fake_audio_output_stream\\.'], |
535 ['include', '^base/audio_bus\\.'], | 540 ['include', '^base/audio_bus\\.'], |
536 ['include', '^base/channel_layout\\.'], | 541 ['include', '^base/channel_layout\\.'], |
537 ['include', '^base/media\\.cc$'], | 542 ['include', '^base/media\\.cc$'], |
538 ['include', '^base/media_stub\\.cc$'], | 543 ['include', '^base/media_stub\\.cc$'], |
539 ['include', '^base/media_switches\\.'], | 544 ['include', '^base/media_switches\\.'], |
| 545 ['include', '^base/user_input_monitor\\.'], |
540 ['include', '^base/vector_math\\.'], | 546 ['include', '^base/vector_math\\.'], |
541 ], | 547 ], |
542 'link_settings': { | 548 'link_settings': { |
543 'libraries': [ | 549 'libraries': [ |
544 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 550 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
545 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | 551 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
546 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 552 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
547 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework', | 553 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework', |
548 ], | 554 ], |
549 }, | 555 }, |
| 556 'defines': [ |
| 557 'DISABLE_USER_INPUT_MONITOR', |
| 558 ], |
550 }], | 559 }], |
551 ['OS=="android"', { | 560 ['OS=="android"', { |
552 'link_settings': { | 561 'link_settings': { |
553 'libraries': [ | 562 'libraries': [ |
554 '-lOpenSLES', | 563 '-lOpenSLES', |
555 ], | 564 ], |
556 }, | 565 }, |
557 'include_dirs': [ | 566 'include_dirs': [ |
558 '<(SHARED_INTERMEDIATE_DIR)/media', | 567 '<(SHARED_INTERMEDIATE_DIR)/media', |
559 ], | 568 ], |
560 'dependencies': [ | 569 'dependencies': [ |
561 'media_android_jni_headers', | 570 'media_android_jni_headers', |
562 'player_android', | 571 'player_android', |
563 'video_capture_android_jni_headers', | 572 'video_capture_android_jni_headers', |
564 ], | 573 ], |
565 'sources': [ | 574 'sources': [ |
566 'base/media.cc', | 575 'base/media.cc', |
567 'base/media.h', | 576 'base/media.h', |
568 'base/media_stub.cc', | 577 'base/media_stub.cc', |
569 ], | 578 ], |
570 'conditions': [ | 579 'conditions': [ |
571 ['android_webview_build==0', { | 580 ['android_webview_build==0', { |
572 'dependencies': [ | 581 'dependencies': [ |
573 'media_java', | 582 'media_java', |
574 ], | 583 ], |
575 }], | 584 }], |
576 ], | 585 ], |
| 586 'defines': [ |
| 587 'DISABLE_USER_INPUT_MONITOR', |
| 588 ], |
577 }], | 589 }], |
578 # A simple WebM encoder for animated avatars on ChromeOS. | 590 # A simple WebM encoder for animated avatars on ChromeOS. |
579 ['chromeos==1', { | 591 ['chromeos==1', { |
580 'dependencies': [ | 592 'dependencies': [ |
581 '../third_party/libvpx/libvpx.gyp:libvpx', | 593 '../third_party/libvpx/libvpx.gyp:libvpx', |
582 '../third_party/libyuv/libyuv.gyp:libyuv', | 594 '../third_party/libyuv/libyuv.gyp:libyuv', |
583 ], | 595 ], |
584 'sources': [ | 596 'sources': [ |
585 'webm/chromeos/ebml_writer.cc', | 597 'webm/chromeos/ebml_writer.cc', |
586 'webm/chromeos/ebml_writer.h', | 598 'webm/chromeos/ebml_writer.h', |
587 'webm/chromeos/webm_encoder.cc', | 599 'webm/chromeos/webm_encoder.cc', |
588 'webm/chromeos/webm_encoder.h', | 600 'webm/chromeos/webm_encoder.h', |
589 ], | 601 ], |
| 602 'defines': [ |
| 603 # TODO(jiayl): figure out why MediaStreamInfoBarTest. |
| 604 # DenyingCameraDoesNotCauseStickyDenyForMics fails on ChromeOS and |
| 605 # remove this. |
| 606 'DISABLE_USER_INPUT_MONITOR', |
| 607 ], |
| 608 'sources!': [ |
| 609 'base/user_input_monitor_linux.cc', |
| 610 ], |
590 }], | 611 }], |
591 ['use_alsa==1', { | 612 ['use_alsa==1', { |
592 'link_settings': { | 613 'link_settings': { |
593 'libraries': [ | 614 'libraries': [ |
594 '-lasound', | 615 '-lasound', |
595 ], | 616 ], |
596 }, | 617 }, |
597 }, { # use_alsa==0 | 618 }, { # use_alsa==0 |
598 'sources/': [ ['exclude', '/alsa_'], | 619 'sources/': [ ['exclude', '/alsa_'], |
599 ['exclude', '/audio_manager_linux'] ], | 620 ['exclude', '/audio_manager_linux'] ], |
(...skipping 15 matching lines...) Expand all Loading... |
615 ], | 636 ], |
616 }, | 637 }, |
617 'conditions': [ | 638 'conditions': [ |
618 ['use_x11==1', { | 639 ['use_x11==1', { |
619 'link_settings': { | 640 'link_settings': { |
620 'libraries': [ | 641 'libraries': [ |
621 '-lX11', | 642 '-lX11', |
622 '-lXdamage', | 643 '-lXdamage', |
623 '-lXext', | 644 '-lXext', |
624 '-lXfixes', | 645 '-lXfixes', |
| 646 '-lXtst', |
625 ], | 647 ], |
626 }, | 648 }, |
| 649 }, { # else: use_x11==0 |
| 650 'sources!': [ |
| 651 'base/user_input_monitor_linux.cc', |
| 652 ], |
| 653 'defines': [ |
| 654 'DISABLE_USER_INPUT_MONITOR', |
| 655 ], |
627 }], | 656 }], |
628 ['use_cras==1', { | 657 ['use_cras==1', { |
629 'cflags': [ | 658 'cflags': [ |
630 '<!@(<(pkg-config) --cflags libcras)', | 659 '<!@(<(pkg-config) --cflags libcras)', |
631 ], | 660 ], |
632 'link_settings': { | 661 'link_settings': { |
633 'libraries': [ | 662 'libraries': [ |
634 '<!@(<(pkg-config) --libs libcras)', | 663 '<!@(<(pkg-config) --libs libcras)', |
635 ], | 664 ], |
636 }, | 665 }, |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 'sources': [ | 1671 'sources': [ |
1643 'tools/media_bench/media_bench.cc', | 1672 'tools/media_bench/media_bench.cc', |
1644 ], | 1673 ], |
1645 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1674 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1646 'msvs_disabled_warnings': [ 4267, ], | 1675 'msvs_disabled_warnings': [ 4267, ], |
1647 }, | 1676 }, |
1648 ], | 1677 ], |
1649 }], | 1678 }], |
1650 ], | 1679 ], |
1651 } | 1680 } |
OLD | NEW |