blob: 5b757475a11c8950ae7a955fcb508b3bc745f6ca [file] [log] [blame]
slan0c9838b2015-08-05 18:37:401# 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
5import("//chromecast/chromecast.gni")
6
7source_set("renderer") {
8 sources = [
9 "cast_content_renderer_client.cc",
10 "cast_content_renderer_client.h",
yucliu3b0b0152016-12-02 21:17:3411 "cast_render_frame_action_deferrer.cc",
12 "cast_render_frame_action_deferrer.h",
slan0c9838b2015-08-05 18:37:4013 ]
14
slan074ec342016-01-29 23:52:2615 public_deps = [
16 "//chromecast/renderer/media",
17 ]
18
slan0c9838b2015-08-05 18:37:4019 if (chromecast_branding == "public") {
20 sources += [ "cast_content_renderer_client_simple.cc" ]
21 }
22
slan62afce42015-11-13 22:53:5823 if (use_playready) {
24 configs += [ "//chromecast:playready_config" ]
25 }
26
slan0c9838b2015-08-05 18:37:4027 deps = [
28 "//base",
29 "//chromecast/base",
slan0c9838b2015-08-05 18:37:4030 "//chromecast/common/media",
slan0c9838b2015-08-05 18:37:4031 "//chromecast/media",
slan0c9838b2015-08-05 18:37:4032 "//components/network_hints/renderer",
33 "//content/public/common",
34 "//content/public/renderer",
35 "//crypto",
36 "//ipc",
37 "//media",
rockot734fb662016-10-15 16:41:3038 "//services/service_manager/public/cpp",
slan0c9838b2015-08-05 18:37:4039 ]
Luke Halliwell51748c712017-06-30 18:53:1440
Sergey Ulanov6af0b542017-10-09 22:36:0441 if (!is_fuchsia) {
42 # TODO(crbug.com/753619): Enable crash reporting on Fuchsia.
43 deps += [ "//chromecast/crash" ]
44 }
45
Luke Halliwell51748c712017-06-30 18:53:1446 if (!is_android) {
47 sources += [
48 "memory_pressure_observer_impl.cc",
49 "memory_pressure_observer_impl.h",
50 ]
51
52 deps += [
53 "//chromecast/common:interfaces",
54 "//mojo/public/cpp/bindings",
55 ]
56 }
slan0c9838b2015-08-05 18:37:4057}