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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 'defines': [ | 604 'defines': [ |
605 'MEDIA_DISABLE_LIBVPX', | 605 'MEDIA_DISABLE_LIBVPX', |
606 ], | 606 ], |
607 }, | 607 }, |
608 # Exclude the sources that depend on libvpx. | 608 # Exclude the sources that depend on libvpx. |
609 'sources!': [ | 609 'sources!': [ |
610 'filters/vpx_video_decoder.cc', | 610 'filters/vpx_video_decoder.cc', |
611 'filters/vpx_video_decoder.h', | 611 'filters/vpx_video_decoder.h', |
612 ], | 612 ], |
613 }], | 613 }], |
| 614 ['enable_browser_cdms==1', { |
| 615 'sources': [ |
| 616 'base/browser_cdm.cc', |
| 617 'base/browser_cdm.h', |
| 618 'base/browser_cdm_factory.h', |
| 619 ], |
| 620 }], |
614 ['OS=="android"', { | 621 ['OS=="android"', { |
615 'dependencies': [ | 622 'dependencies': [ |
616 'media_android_jni_headers', | 623 'media_android_jni_headers', |
617 'player_android', | 624 'player_android', |
618 'video_capture_android_jni_headers', | 625 'video_capture_android_jni_headers', |
619 ], | 626 ], |
620 'sources': [ | 627 'sources': [ |
621 'base/media.cc', | 628 'base/media.cc', |
622 'base/media.h', | 629 'base/media.h', |
623 'base/media_stub.cc', | 630 'base/media_stub.cc', |
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1591 'base/android/media_player_bridge.h', | 1598 'base/android/media_player_bridge.h', |
1592 'base/android/media_player_listener.cc', | 1599 'base/android/media_player_listener.cc', |
1593 'base/android/media_player_listener.h', | 1600 'base/android/media_player_listener.h', |
1594 'base/android/media_source_player.cc', | 1601 'base/android/media_source_player.cc', |
1595 'base/android/media_source_player.h', | 1602 'base/android/media_source_player.h', |
1596 'base/android/video_decoder_job.cc', | 1603 'base/android/video_decoder_job.cc', |
1597 'base/android/video_decoder_job.h', | 1604 'base/android/video_decoder_job.h', |
1598 'base/android/webaudio_media_codec_bridge.cc', | 1605 'base/android/webaudio_media_codec_bridge.cc', |
1599 'base/android/webaudio_media_codec_bridge.h', | 1606 'base/android/webaudio_media_codec_bridge.h', |
1600 'base/android/webaudio_media_codec_info.h', | 1607 'base/android/webaudio_media_codec_info.h', |
1601 'base/browser_cdm.cc', | |
1602 'base/browser_cdm.h', | |
1603 'base/browser_cdm_factory.h', | |
1604 ], | 1608 ], |
1605 'dependencies': [ | 1609 'dependencies': [ |
1606 '../base/base.gyp:base', | 1610 '../base/base.gyp:base', |
1607 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h
', | 1611 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h
', |
1608 '../ui/gl/gl.gyp:gl', | 1612 '../ui/gl/gl.gyp:gl', |
1609 '../url/url.gyp:url_lib', | 1613 '../url/url.gyp:url_lib', |
1610 'media_android_jni_headers', | 1614 'media_android_jni_headers', |
1611 ], | 1615 ], |
1612 'include_dirs': [ | 1616 'include_dirs': [ |
1613 # Needed by media_drm_bridge.cc. | 1617 # Needed by media_drm_bridge.cc. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 ], | 1695 ], |
1692 }], | 1696 }], |
1693 ], | 1697 ], |
1694 }], | 1698 }], |
1695 ], | 1699 ], |
1696 }, | 1700 }, |
1697 ], | 1701 ], |
1698 }], | 1702 }], |
1699 ], | 1703 ], |
1700 } | 1704 } |
OLD | NEW |