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

Unified Diff: media/media.gyp

Issue 533423002: Include Mac media glue code in iOS builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base-glue
Patch Set: Rebase 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/BUILD.gn ('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 197c153d7fd084d7fb4c399259b6f23ffffea600..5fb0366a4c35a18a9622b3f3fb3c0d1e3c8033eb 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -988,7 +988,19 @@
'base/keyboard_event_counter.h',
],
}],
- ],
+ ], # 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/avfoundation_glue\\.h$'],
+ ['include', '^base/mac/avfoundation_glue\\.mm$'],
+ ['include', '^base/mac/coremedia_glue\\.h$'],
+ ['include', '^base/mac/coremedia_glue\\.mm$'],
+ ],
+ }],
+ ], # target_conditions
},
{
# GN version: //media/mojo/interfaces
« no previous file with comments | « media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698