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

Unified Diff: media/media.gyp

Issue 474693002: Changes to media.gyp for Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update gn as well Created 6 years, 4 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/base/BUILD.gn ('k') | media/media_options.gni » ('j') | 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 0aa1719884152dd109297ac0cbaf9465905c4341..04dfea7828d73d881bb1a3f358c6eb472d87e902 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -12,12 +12,11 @@
# detection of ABI mismatches and prevents silent errors.
'linux_link_pulseaudio%': 0,
'conditions': [
- ['OS=="android"', {
- # Android doesn't use ffmpeg.
+ ['OS=="android" or OS=="ios"', {
+ # Android and iOS don't use ffmpeg or libvpx.
'media_use_ffmpeg%': 0,
- # Android doesn't use libvpx.
'media_use_libvpx%': 0,
- }, { # 'OS!="android"'
+ }, { # 'OS!="android" and OS!="ios"'
'media_use_ffmpeg%': 1,
'media_use_libvpx%': 1,
}],
@@ -57,6 +56,7 @@
'../crypto/crypto.gyp:crypto',
'../gpu/gpu.gyp:command_buffer_common',
'../skia/skia.gyp:skia',
+ '../third_party/libyuv/libyuv.gyp:libyuv',
'../third_party/opus/opus.gyp:opus',
'../ui/events/events.gyp:events_base',
'../ui/gfx/gfx.gyp:gfx',
@@ -657,11 +657,6 @@
'filters/h264_bitstream_buffer.h',
],
}],
- ['OS!="ios"', {
- 'dependencies': [
- '../third_party/libyuv/libyuv.gyp:libyuv',
- ],
- }],
['use_alsa==1', {
'link_settings': {
'libraries': [
@@ -1442,7 +1437,7 @@
'yasm_flags': ['-DARCH_X86_64'],
},
}],
- ['OS=="mac"', {
+ ['OS=="mac" or OS=="ios"', {
'variables': {
'yasm_flags': [
'-DPREFIX',
« no previous file with comments | « media/base/BUILD.gn ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698