| # 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", |
| "device_factory.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", |
| "//ui/gfx/geometry/mojom", |
| ] |
| |
| public_deps = [ "//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" ] |
| } |