Chromium Code Reviews| Index: media/media.gyp |
| diff --git a/media/media.gyp b/media/media.gyp |
| index e5fba8c99a9d7022a3304a811f7e2fc79bb1a2de..63902a8201db09701b69537fccbf62e14ca38da1 100644 |
| --- a/media/media.gyp |
| +++ b/media/media.gyp |
| @@ -1484,6 +1484,56 @@ |
| }], |
| ], |
| }, |
| + { |
| + # Minimal target for media/cast for clients that don't need all of media. |
| + # GN version: //media:media_cast |
|
Alpha Left Google
2014/09/17 23:59:27
I don't think media_cast is the suitable name. Thi
|
| + 'target_name': 'media_cast', |
|
miu
2014/09/17 23:56:00
The target name sounds like this is building the C
|
| + 'type': '<(component)', |
| + 'dependencies': [ |
| + '../base/base.gyp:base', |
| + '../ui/gfx/gfx.gyp:gfx_geometry', |
| + ], |
| + 'defines': [ |
| + 'MEDIA_IMPLEMENTATION', |
| + 'MEDIA_CAST', |
| + ], |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'includes': [ |
| + 'shared_memory_support.gypi', |
| + ], |
| + 'sources': [ |
| + '<@(shared_memory_support_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', |
| + ], |
| + '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 |
| + }, |
| ], |
| 'conditions': [ |
| ['target_arch!="arm"', { |