summaryrefslogtreecommitdiffstats
path: root/media/cast
diff options
context:
space:
mode:
authorjfroy <jfroy@chromium.org>2015-06-02 15:17:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-02 22:19:56 +0000
commit7a52ca7a1f90ac3cfe5686c91c07b88fb3ef4c07 (patch)
tree916e061da34ed5c37a0cf9176149161cc233e4ea /media/cast
parent2527784ccde2060b53b467cb8e0268b4ce32899f (diff)
downloadchromium_src-7a52ca7a1f90ac3cfe5686c91c07b88fb3ef4c07.zip
chromium_src-7a52ca7a1f90ac3cfe5686c91c07b88fb3ef4c07.tar.gz
chromium_src-7a52ca7a1f90ac3cfe5686c91c07b88fb3ef4c07.tar.bz2
Fix dependencies for iOS build of //media/cast.
BUG= Review URL: https://codereview.chromium.org/1146063007 Cr-Commit-Position: refs/heads/master@{#332478}
Diffstat (limited to 'media/cast')
-rw-r--r--media/cast/BUILD.gn10
-rw-r--r--media/cast/cast.gyp8
2 files changed, 5 insertions, 13 deletions
diff --git a/media/cast/BUILD.gn b/media/cast/BUILD.gn
index 48c3bc3..7923063 100644
--- a/media/cast/BUILD.gn
+++ b/media/cast/BUILD.gn
@@ -176,12 +176,10 @@ source_set("sender") {
"sender/h264_vt_encoder.h",
]
- libs += [ "CoreVideo.framework" ]
- }
-
- if (is_mac) {
- # Required by audio_encoder.cc.
- libs += [ "AudioToolbox.framework" ]
+ libs += [
+ "AudioToolbox.framework",
+ "CoreVideo.framework",
+ ]
}
}
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp
index e3cb136..71ba2f0 100644
--- a/media/cast/cast.gyp
+++ b/media/cast/cast.gyp
@@ -205,17 +205,11 @@
],
'link_settings': {
'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
],
},
}], # OS=="ios" or OS=="mac"
- ['OS=="mac"', {
- 'link_settings': {
- 'libraries': [
- '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
- ],
- },
- }], # OS=="mac"
], # conditions
},
{