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

Unified Diff: media/media.gyp

Issue 581803003: Define a new media_cast component for iOS cast builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/cast.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"', {
« no previous file with comments | « media/cast/cast.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698