blob: 88e8bcb535ed7b2807776b853bc05609ef2d1f45 [file] [log] [blame]
# Copyright 2014 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("interfaces") {
sources = [
"audio_decoder.mojom",
"audio_output_stream.mojom",
"audio_parameters.mojom",
"content_decryption_module.mojom",
"decryptor.mojom",
"demuxer_stream.mojom",
"interface_factory.mojom",
"media_service.mojom",
"media_types.mojom",
"output_protection.mojom",
"provision_fetcher.mojom",
"renderer.mojom",
"video_decoder.mojom",
]
if (is_android) {
sources += [ "media_drm_storage.mojom" ]
}
if (is_chromeos) {
sources += [ "platform_verification.mojom" ]
}
if (is_android) {
sources += [ "android_overlay.mojom" ]
}
public_deps = [
"//gpu/ipc/common:interfaces",
"//mojo/common:common_custom_types",
"//services/service_manager/public/interfaces",
"//ui/gfx/geometry/mojo",
"//url/mojo:url_mojom_gurl",
"//url/mojo:url_mojom_origin",
]
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
}
mojom("remoting") {
sources = [
"remoting.mojom",
]
}
mojom("test_interfaces") {
testonly = true
sources = [
"traits_test_service.mojom",
]
public_deps = [
":interfaces",
]
}