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