blob: 45b215a3376e701d9d2863b82398941776eb36a3 [file] [log] [blame]
# Copyright 2018 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("//mojo/public/tools/bindings/mojom.gni")
mojom("mojom") {
sources = [
"audio_focus.mojom",
"constants.mojom",
"media_controller.mojom",
"media_session.mojom",
]
public_deps = [
"//mojo/public/mojom/base",
"//ui/gfx/geometry/mojo",
"//url/mojom:url_mojom_gurl",
]
# The blink variant of the Device Service mojom are depended on by the
# blink platform target. All blink variant mojoms use WTF types, which are
# part of the blink platform component. In order to avoid a dependency cycle,
# these targets must be part of that component.
export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
export_header_blink = "third_party/blink/public/platform/web_common.h"
}