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

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

Issue 581803003: Define a new media_cast component for iOS cast builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast_receiver and cast_sender dependency list; change how media_for_cast_ios builds media:share… Created 6 years, 3 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/BUILD.gn ('k') | media/base/video_frame.h » ('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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 10
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 218 }
219 219
220 if (is_linux || is_win) { 220 if (is_linux || is_win) {
221 sources += [ 221 sources += [
222 "keyboard_event_counter.cc", 222 "keyboard_event_counter.cc",
223 "keyboard_event_counter.h", 223 "keyboard_event_counter.h",
224 ] 224 ]
225 } 225 }
226 } 226 }
227 227
228 # Minimal media component for media/cast on iOS.
229 config("base_for_cast_ios_dependent_config") {
230 defines = [ "MEDIA_FOR_CAST_IOS" ]
231 }
232
233 source_set("base_for_cast_ios") {
234 sources = [
235 "video_frame.cc",
236 "video_frame.h",
237 ]
238 configs += [ "//media:media_config" ]
239 all_dependent_configs = [ ":base_for_cast_ios_dependent_config" ]
240 }
241
228 source_set("test_support") { 242 source_set("test_support") {
229 testonly = true 243 testonly = true
230 sources = [ 244 sources = [
231 "fake_audio_render_callback.cc", 245 "fake_audio_render_callback.cc",
232 "fake_audio_render_callback.h", 246 "fake_audio_render_callback.h",
233 "fake_audio_renderer_sink.cc", 247 "fake_audio_renderer_sink.cc",
234 "fake_audio_renderer_sink.h", 248 "fake_audio_renderer_sink.h",
235 "fake_text_track_stream.cc", 249 "fake_text_track_stream.cc",
236 "fake_text_track_stream.h", 250 "fake_text_track_stream.h",
237 "gmock_callback_support.h", 251 "gmock_callback_support.h",
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 if (is_posix) { 434 if (is_posix) {
421 yasm_flags += [ "-DELF" ] 435 yasm_flags += [ "-DELF" ]
422 if (cpu_arch == "x64") { 436 if (cpu_arch == "x64") {
423 # TODO(ajwong): Why isn't this true in mac? 437 # TODO(ajwong): Why isn't this true in mac?
424 yasm_flags += [ "-DPIC" ] 438 yasm_flags += [ "-DPIC" ]
425 } 439 }
426 } 440 }
427 } 441 }
428 } 442 }
429 } 443 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/base/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698