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

Unified Diff: media/cast/BUILD.gn

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests Created 5 years, 8 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/mac/BUILD.gn ('k') | media/cast/cast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/BUILD.gn
diff --git a/media/cast/BUILD.gn b/media/cast/BUILD.gn
index 2262c7b6cbc5f3e6d78c2c0712002865fc0681d9..b6df09f4e874838ae7bbf76433b65d26749229be 100644
--- a/media/cast/BUILD.gn
+++ b/media/cast/BUILD.gn
@@ -163,12 +163,25 @@ source_set("sender") {
]
}
+ libs = []
+
# iOS and OS X encoders
if (is_ios || is_mac) {
sources += [
"sender/h264_vt_encoder.cc",
"sender/h264_vt_encoder.h",
]
+
+ libs += [
+ "CoreVideo.framework",
+ ]
+ }
+
+ if (is_mac) {
+ # Required by audio_encoder.cc.
+ libs += [
+ "AudioToolbox.framework",
+ ]
}
}
« no previous file with comments | « media/base/mac/BUILD.gn ('k') | media/cast/cast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698