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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « media/base/mac/BUILD.gn ('k') | media/cast/cast.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 component("cast") { 7 component("cast") {
8 deps = [ 8 deps = [
9 ":sender", 9 ":sender",
10 ":receiver", 10 ":receiver",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 sources -= [ 156 sources -= [
157 "sender/external_video_encoder.cc", 157 "sender/external_video_encoder.cc",
158 "sender/external_video_encoder.h", 158 "sender/external_video_encoder.h",
159 "sender/video_encoder_impl.cc", 159 "sender/video_encoder_impl.cc",
160 "sender/video_encoder_impl.h", 160 "sender/video_encoder_impl.h",
161 "sender/vp8_encoder.cc", 161 "sender/vp8_encoder.cc",
162 "sender/vp8_encoder.h", 162 "sender/vp8_encoder.h",
163 ] 163 ]
164 } 164 }
165 165
166 libs = []
167
166 # iOS and OS X encoders 168 # iOS and OS X encoders
167 if (is_ios || is_mac) { 169 if (is_ios || is_mac) {
168 sources += [ 170 sources += [
169 "sender/h264_vt_encoder.cc", 171 "sender/h264_vt_encoder.cc",
170 "sender/h264_vt_encoder.h", 172 "sender/h264_vt_encoder.h",
171 ] 173 ]
174
175 libs += [
176 "CoreVideo.framework",
177 ]
178 }
179
180 if (is_mac) {
181 # Required by audio_encoder.cc.
182 libs += [
183 "AudioToolbox.framework",
184 ]
172 } 185 }
173 } 186 }
174 187
175 source_set("receiver") { 188 source_set("receiver") {
176 sources = [ 189 sources = [
177 "cast_receiver.h", 190 "cast_receiver.h",
178 "receiver/audio_decoder.cc", 191 "receiver/audio_decoder.cc",
179 "receiver/audio_decoder.h", 192 "receiver/audio_decoder.h",
180 "receiver/cast_receiver_impl.cc", 193 "receiver/cast_receiver_impl.cc",
181 "receiver/cast_receiver_impl.h", 194 "receiver/cast_receiver_impl.h",
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 "test/utility/tap_proxy.cc", 418 "test/utility/tap_proxy.cc",
406 ] 419 ]
407 420
408 deps = [ 421 deps = [
409 ":test_support", 422 ":test_support",
410 "//base", 423 "//base",
411 "//media", 424 "//media",
412 ] 425 ]
413 } 426 }
414 } 427 }
OLDNEW
« 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