| Index: media/media.gyp
|
| diff --git a/media/media.gyp b/media/media.gyp
|
| index 59dd35678d44848e0068f590a5e0f46a497e9fa7..89d75c1391a4d19c3e538674cc776516552dfbdd 100644
|
| --- a/media/media.gyp
|
| +++ b/media/media.gyp
|
| @@ -1883,5 +1883,66 @@
|
| },
|
| ],
|
| }],
|
| + ['OS=="ios"', {
|
| + 'targets': [
|
| + {
|
| + # Minimal media component for media/cast on iOS.
|
| + # GN version: //media:media_for_cast_ios
|
| + 'target_name': 'media_for_cast_ios',
|
| + 'type': '<(component)',
|
| + 'dependencies': [
|
| + '../base/base.gyp:base',
|
| + '../ui/gfx/gfx.gyp:gfx_geometry',
|
| + 'shared_memory_support',
|
| + ],
|
| + 'defines': [
|
| + 'MEDIA_IMPLEMENTATION',
|
| + 'MEDIA_FOR_CAST_IOS',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + },
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'sources': [
|
| + 'base/mac/coremedia_glue.h',
|
| + 'base/mac/coremedia_glue.mm',
|
| + 'base/mac/corevideo_glue.h',
|
| + 'base/mac/videotoolbox_glue.h',
|
| + 'base/mac/videotoolbox_glue.mm',
|
| + 'base/video_frame.cc',
|
| + 'base/video_frame.h',
|
| + ],
|
| + 'link_settings': {
|
| + 'libraries': [
|
| + '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
|
| + ],
|
| + },
|
| + 'conditions': [
|
| + ['arm_neon==1', {
|
| + 'defines': [
|
| + 'USE_NEON'
|
| + ],
|
| + }],
|
| + ], # conditions
|
| + 'target_conditions': [
|
| + ['OS == "ios" and _toolset != "host"', {
|
| + 'sources/': [
|
| + # Pull in specific Mac files for iOS (which have been filtered
|
| + # out by file name rules).
|
| + ['include', '^base/mac/coremedia_glue\\.h$'],
|
| + ['include', '^base/mac/coremedia_glue\\.mm$'],
|
| + ['include', '^base/mac/corevideo_glue\\.h$'],
|
| + ['include', '^base/mac/videotoolbox_glue\\.h$'],
|
| + ['include', '^base/mac/videotoolbox_glue\\.mm$'],
|
| + ],
|
| + }],
|
| + ], # target_conditions
|
| + },
|
| + ],
|
| + }],
|
| ],
|
| }
|
|
|