Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: media/media.gyp

Issue 518313003: Move Mac media glue code from media/video/capture/mac to media/base/mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move media glue code back to base/mac and add suitable rules in build files to compile the code for… Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 'base/decryptor.cc', 274 'base/decryptor.cc',
275 'base/decryptor.h', 275 'base/decryptor.h',
276 'base/demuxer.cc', 276 'base/demuxer.cc',
277 'base/demuxer.h', 277 'base/demuxer.h',
278 'base/demuxer_stream.cc', 278 'base/demuxer_stream.cc',
279 'base/demuxer_stream.h', 279 'base/demuxer_stream.h',
280 'base/djb2.cc', 280 'base/djb2.cc',
281 'base/djb2.h', 281 'base/djb2.h',
282 'base/keyboard_event_counter.cc', 282 'base/keyboard_event_counter.cc',
283 'base/keyboard_event_counter.h', 283 'base/keyboard_event_counter.h',
284 'base/mac/avfoundation_glue.h',
285 'base/mac/avfoundation_glue.mm',
286 'base/mac/coremedia_glue.h',
287 'base/mac/coremedia_glue.mm',
284 'base/media.cc', 288 'base/media.cc',
285 'base/media.h', 289 'base/media.h',
286 'base/media_file_checker.cc', 290 'base/media_file_checker.cc',
287 'base/media_file_checker.h', 291 'base/media_file_checker.h',
288 'base/media_keys.cc', 292 'base/media_keys.cc',
289 'base/media_keys.h', 293 'base/media_keys.h',
290 'base/media_log.cc', 294 'base/media_log.cc',
291 'base/media_log.h', 295 'base/media_log.h',
292 'base/media_log_event.h', 296 'base/media_log_event.h',
293 'base/media_posix.cc', 297 'base/media_posix.cc',
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 'video/capture/file_video_capture_device.cc', 487 'video/capture/file_video_capture_device.cc',
484 'video/capture/file_video_capture_device.h', 488 'video/capture/file_video_capture_device.h',
485 'video/capture/file_video_capture_device_factory.h', 489 'video/capture/file_video_capture_device_factory.h',
486 'video/capture/file_video_capture_device_factory.cc', 490 'video/capture/file_video_capture_device_factory.cc',
487 'video/capture/linux/video_capture_device_factory_linux.cc', 491 'video/capture/linux/video_capture_device_factory_linux.cc',
488 'video/capture/linux/video_capture_device_factory_linux.h', 492 'video/capture/linux/video_capture_device_factory_linux.h',
489 'video/capture/linux/video_capture_device_linux.cc', 493 'video/capture/linux/video_capture_device_linux.cc',
490 'video/capture/linux/video_capture_device_linux.h', 494 'video/capture/linux/video_capture_device_linux.h',
491 'video/capture/linux/video_capture_device_chromeos.cc', 495 'video/capture/linux/video_capture_device_chromeos.cc',
492 'video/capture/linux/video_capture_device_chromeos.h', 496 'video/capture/linux/video_capture_device_chromeos.h',
493 'video/capture/mac/avfoundation_glue.h',
494 'video/capture/mac/avfoundation_glue.mm',
495 'video/capture/mac/coremedia_glue.h',
496 'video/capture/mac/coremedia_glue.mm',
497 'video/capture/mac/platform_video_capturing_mac.h', 497 'video/capture/mac/platform_video_capturing_mac.h',
498 'video/capture/mac/video_capture_device_avfoundation_mac.h', 498 'video/capture/mac/video_capture_device_avfoundation_mac.h',
499 'video/capture/mac/video_capture_device_avfoundation_mac.mm', 499 'video/capture/mac/video_capture_device_avfoundation_mac.mm',
500 'video/capture/mac/video_capture_device_factory_mac.h', 500 'video/capture/mac/video_capture_device_factory_mac.h',
501 'video/capture/mac/video_capture_device_factory_mac.mm', 501 'video/capture/mac/video_capture_device_factory_mac.mm',
502 'video/capture/mac/video_capture_device_mac.h', 502 'video/capture/mac/video_capture_device_mac.h',
503 'video/capture/mac/video_capture_device_mac.mm', 503 'video/capture/mac/video_capture_device_mac.mm',
504 'video/capture/mac/video_capture_device_qtkit_mac.h', 504 'video/capture/mac/video_capture_device_qtkit_mac.h',
505 'video/capture/mac/video_capture_device_qtkit_mac.mm', 505 'video/capture/mac/video_capture_device_qtkit_mac.mm',
506 'video/capture/video_capture_device.cc', 506 'video/capture/video_capture_device.cc',
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', 871 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
872 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', 872 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
873 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', 873 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
874 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework', 874 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework',
875 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', 875 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
876 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 876 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
877 '$(SDKROOT)/System/Library/Frameworks/QTKit.framework', 877 '$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
878 ], 878 ],
879 }, 879 },
880 }], 880 }],
881 ['OS == "ios" and _toolset != "host"', {
882 'sources/': [
883 # Pull in specific Mac files for iOS (which have been filtered out
884 # by file name rules).
885 ['include', '^base/mac/avfoundation_glue\\.'],
886 ['include', '^base/mac/coremedia_glue\\.'],
887 ],
888 'link_settings': {
889 'libraries': [
890 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
Robert Sesek 2014/09/03 21:03:56 This is a number of libraries. Are all of these ne
jfroy 2014/09/03 21:17:00 I am matching the Mac frameworks. None of those ar
Robert Sesek 2014/09/03 21:25:42 Unless you can say definitely whether all of these
891 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
892 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
893 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework',
894 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework',
895 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
896 '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework',
897 ],
898 },
899 }],
881 ['OS=="win"', { 900 ['OS=="win"', {
882 'link_settings': { 901 'link_settings': {
883 'libraries': [ 902 'libraries': [
884 '-lmf.lib', 903 '-lmf.lib',
885 '-lmfplat.lib', 904 '-lmfplat.lib',
886 '-lmfreadwrite.lib', 905 '-lmfreadwrite.lib',
887 '-lmfuuid.lib', 906 '-lmfuuid.lib',
888 ], 907 ],
889 }, 908 },
890 # Specify delayload for media.dll. 909 # Specify delayload for media.dll.
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 ], 1745 ],
1727 }], 1746 }],
1728 ], 1747 ],
1729 }], 1748 }],
1730 ], 1749 ],
1731 }, 1750 },
1732 ], 1751 ],
1733 }], 1752 }],
1734 ], 1753 ],
1735 } 1754 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698