summaryrefslogtreecommitdiff
path: root/chromium/components/media_control/renderer/BUILD.gn
blob: eb86359154c3eff6d79f2fd9cdcebd5e1a24a2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/buildflag_header.gni")
import("//build/config/chromecast_build.gni")

declare_args() {
  enable_media_control_logging_override = is_chromecast || is_fuchsia
}

buildflag_header("media_control_buildflags") {
  header = "media_control_buildflags.h"

  flags = [ "ENABLE_MEDIA_CONTROL_LOGGING_OVERRIDE=$enable_media_control_logging_override" ]
}

static_library("renderer") {
  sources = [
    "media_playback_options.cc",
    "media_playback_options.h",
  ]

  deps = [
    ":media_control_buildflags",
    "//components/media_control/mojom",
    "//content/public/common",
    "//content/public/renderer",
    "//third_party/blink/public/common",
  ]
}