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

Side by Side Diff: media/cast/BUILD.gn

Issue 1089773003: Revert of Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
168 # iOS and OS X encoders 166 # iOS and OS X encoders
169 if (is_ios || is_mac) { 167 if (is_ios || is_mac) {
170 sources += [ 168 sources += [
171 "sender/h264_vt_encoder.cc", 169 "sender/h264_vt_encoder.cc",
172 "sender/h264_vt_encoder.h", 170 "sender/h264_vt_encoder.h",
173 ] 171 ]
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 ]
185 } 172 }
186 } 173 }
187 174
188 source_set("receiver") { 175 source_set("receiver") {
189 sources = [ 176 sources = [
190 "cast_receiver.h", 177 "cast_receiver.h",
191 "receiver/audio_decoder.cc", 178 "receiver/audio_decoder.cc",
192 "receiver/audio_decoder.h", 179 "receiver/audio_decoder.h",
193 "receiver/cast_receiver_impl.cc", 180 "receiver/cast_receiver_impl.cc",
194 "receiver/cast_receiver_impl.h", 181 "receiver/cast_receiver_impl.h",
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 "test/utility/tap_proxy.cc", 405 "test/utility/tap_proxy.cc",
419 ] 406 ]
420 407
421 deps = [ 408 deps = [
422 ":test_support", 409 ":test_support",
423 "//base", 410 "//base",
424 "//media", 411 "//media",
425 ] 412 ]
426 } 413 }
427 } 414 }
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