# 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", ] }