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

Unified Diff: media/cast/cast.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: Fix cast_receiver and cast_sender dependency list; change how media_for_cast_ios builds media:share… 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/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast.gyp
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp
index b646455c43fdfa7398bcc26448d3b32c63629401..f0d4b79a2797de25034f8dc50fa501de35709003 100644
--- a/media/cast/cast.gyp
+++ b/media/cast/cast.gyp
@@ -120,6 +120,17 @@
'net/rtp/rtp_receiver_defines.cc',
'net/rtp/rtp_receiver_defines.h',
], # source
+ 'conditions': [
+ # use a restricted subset of media and no software codecs on iOS
+ ['OS=="ios"', {
+ 'dependencies': [ '<(DEPTH)/media/media.gyp:media_for_cast_ios' ],
+ 'dependencies!': [
+ '<(DEPTH)/media/media.gyp:media',
+ '<(DEPTH)/third_party/opus/opus.gyp:opus',
+ '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
+ ],
+ }], # OS=="ios"
+ ], # conditions
},
{
# GN version: //media/cast:sender
@@ -150,7 +161,7 @@
'sender/external_video_encoder.cc',
'sender/fake_software_video_encoder.h',
'sender/fake_software_video_encoder.cc',
- 'sender/frame_sender.cc',
+ 'sender/frame_sender.cc',
'sender/frame_sender.h',
'sender/software_video_encoder.h',
'sender/video_encoder.h',
@@ -161,6 +172,25 @@
'sender/vp8_encoder.cc',
'sender/vp8_encoder.h',
], # source
+ 'conditions': [
+ # use a restricted subset of media and no software codecs on iOS
+ ['OS=="ios"', {
+ 'dependencies': [ '<(DEPTH)/media/media.gyp:media_for_cast_ios' ],
+ 'dependencies!': [
+ '<(DEPTH)/media/media.gyp:media',
+ '<(DEPTH)/third_party/opus/opus.gyp:opus',
+ '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
+ ],
+ 'sources!': [
+ 'sender/external_video_encoder.h',
+ 'sender/external_video_encoder.cc',
+ 'sender/video_encoder_impl.h',
+ 'sender/video_encoder_impl.cc',
+ 'sender/vp8_encoder.cc',
+ 'sender/vp8_encoder.h',
+ ],
+ }], # OS=="ios"
+ ], # conditions
},
{
# GN version: //media/cast:net
« no previous file with comments | « media/cast/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698