# Copyright 2017 The Chromium Authors
# 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("cros_camera_common") {
sources = [
"camera3.mojom",
"camera_app.mojom",
"camera_common.mojom",
"camera_features.mojom",
"camera_metadata.mojom",
"camera_metadata_tags.mojom",
]
deps = [
"//media/capture/mojom:image_capture",
"//ui/gfx/geometry/mojom",
"//ui/gfx/range/mojom",
]
webui_module_path = "/media/capture/video/chromeos/mojom"
# ChromeOS is still heavily reliant on legacy bindings.
generate_legacy_js_bindings = true
}
mojom("cros_camera") {
sources = [
"cros_camera_client.mojom",
"cros_camera_service.mojom",
"effects_pipeline.mojom",
]
deps = [
"//components/chromeos_camera/common",
"//media/capture/mojom:image_capture",
]
public_deps = [
":cros_camera_common",
"//mojo/public/mojom/base",
]
}
mojom("jpeg_accelerator") {
sources = [ "jpeg_accelerator.mojom" ]
deps = [ "//components/chromeos_camera/common" ]
}
mojom("system_event_monitor") {
sources = [ "system_event_monitor.mojom" ]
public_deps = [ "//mojo/public/mojom/base" ]
}
mojom("video_capture_device_info_monitor") {
sources = [ "video_capture_device_info_monitor.mojom" ]
}
mojom("document_scanner") {
sources = [ "document_scanner.mojom" ]
deps = [
"//mojo/public/mojom/base",
"//ui/gfx/geometry/mojom",
]
}