Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//chromecast/chromecast.gni") | |
| 6 | |
| 7 source_set("renderer") { | |
| 8 sources = [ | |
| 9 "cast_content_renderer_client.cc", | |
| 10 "cast_content_renderer_client.h", | |
| 11 "cast_media_load_deferrer.cc", | |
| 12 "cast_media_load_deferrer.h", | |
| 13 "cast_render_process_observer.cc", | |
| 14 "cast_render_process_observer.h", | |
| 15 "key_systems_cast.cc", | |
| 16 "key_systems_cast.h", | |
| 17 | |
| 18 # TODO(slan): Can these be added into ":media"? | |
| 19 "media/capabilities_message_filter.cc", | |
| 20 "media/capabilities_message_filter.h", | |
| 21 ] | |
| 22 | |
| 23 if (!is_chromecast_chrome_branded) { | |
| 24 sources += [ "cast_content_renderer_client_simple.cc" ] | |
| 25 } | |
| 26 | |
| 27 public_deps = [ | |
| 28 ":media", | |
| 29 ] | |
| 30 | |
| 31 deps = [ | |
| 32 "//base", | |
| 33 "//chromecast/base", | |
| 34 "//chromecast/crash", | |
| 35 "//chromecast/common:media", | |
| 36 "//chromecast/media", | |
| 37 "//components/cdm/renderer", | |
| 38 "//components/network_hints/renderer", | |
| 39 "//content/public/common", | |
| 40 "//content/public/renderer", | |
| 41 "//crypto", | |
| 42 "//ipc", | |
| 43 "//media", | |
| 44 "//third_party/widevine/cdm:version_h", | |
| 45 ] | |
| 46 } | |
| 47 | |
| 48 source_set("media") { | |
|
mbjorge
2015/08/04 18:10:54
Maybe put this in chromecast/renderer/media/BUILD.
slan
2015/08/04 21:22:05
This was my initial thought. It is really a style
mbjorge
2015/08/04 22:09:14
I feel like complexity isn't a good metric to base
slan
2015/08/04 23:55:48
Thanks for the in-depth comment here. I think that
| |
| 49 sources = [ | |
| 50 "media/audio_pipeline_proxy.cc", | |
| 51 "media/audio_pipeline_proxy.h", | |
| 52 "media/chromecast_media_renderer_factory.cc", | |
| 53 "media/chromecast_media_renderer_factory.h", | |
| 54 "media/cma_message_filter_proxy.cc", | |
| 55 "media/cma_message_filter_proxy.h", | |
| 56 "media/media_channel_proxy.cc", | |
| 57 "media/media_channel_proxy.h", | |
| 58 "media/media_pipeline_proxy.cc", | |
| 59 "media/media_pipeline_proxy.h", | |
| 60 "media/video_pipeline_proxy.cc", | |
| 61 "media/video_pipeline_proxy.h", | |
| 62 ] | |
| 63 | |
| 64 deps = [ | |
| 65 "//base", | |
| 66 "//chromecast/common:media", | |
| 67 "//chromecast/media", | |
| 68 "//content/public/renderer", | |
| 69 "//ipc", | |
| 70 "//media", | |
| 71 ] | |
| 72 } | |
| OLD | NEW |