| # Copyright 2017 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("//build/config/chromeos/ui_mode.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| # This needs to be conditionally-compiled since the typemaps are |
| # unconditionally-included from //mojo/public/tools/bindings/mojom.gni. The |
| # inclusion is done through read_file(), which does not respect the global |
| # defines for GN, so it itself cannot use the "is_chromeos" variable. |
| if (is_chromeos_ash) { |
| # TODO(b:129295708): Remove this target in next CL. |
| mojom("mojom") { |
| public_deps = [ |
| "//ash/components/arc/mojom:camera_intent", |
| "//ash/components/arc/mojom:media", |
| "//ash/components/arc/mojom:notifications", |
| "//ash/components/arc/mojom:oemcrypto", |
| "//chromeos/components/sensors/mojom:mojom", |
| "//components/payments/mojom:mojom", |
| "//media/capture/video/chromeos/mojom:cros_camera", |
| "//mojo/public/mojom/base", |
| "//printing/mojom", |
| "//sandbox/policy/mojom", |
| "//services/device/public/mojom:usb", |
| "//services/media_session/public/mojom", |
| "//services/resource_coordinator/public/mojom", |
| "//third_party/blink/public/mojom:android_mojo_bindings", |
| "//ui/accessibility/mojom:ax_assistant_mojom", |
| "//ui/gfx/geometry/mojom", |
| "//url/mojom:url_mojom_gurl", |
| ] |
| } |
| } |