# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojom") {
sources = [
"device.mojom",
"devices_changed_observer.mojom",
"multi_capture_service.mojom",
"producer.mojom",
"testing_controls.mojom",
"video_capture_service.mojom",
"video_frame_handler.mojom",
"video_source.mojom",
"video_source_provider.mojom",
"virtual_device.mojom",
]
deps = [
"//media/capture/mojom:image_capture",
"//media/capture/mojom:video_capture",
"//media/mojo/mojom",
"//services/video_effects/public/mojom:mojom",
"//ui/gfx/geometry/mojom",
]
public_deps = [
"//media/capture/mojom:video_effects_manager",
"//sandbox/policy/mojom",
]
if (is_chromeos_ash) {
deps += [
"//chromeos/crosapi/mojom:video_capture",
"//components/chromeos_camera/common",
"//media/capture/video/chromeos/mojom:cros_camera",
]
}
}
mojom("constants") {
sources = [ "constants.mojom" ]
}