summaryrefslogtreecommitdiff
path: root/chromium/services/shape_detection/public/mojom/BUILD.gn
blob: 2a75d2d1c3cb6e09f0536fa864b0637d2df5960c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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("//mojo/public/tools/bindings/mojom.gni")

mojom("mojom") {
  generate_java = true
  sources = [
    "barcodedetection.mojom",
    "barcodedetection_provider.mojom",
    "facedetection.mojom",
    "facedetection_provider.mojom",
    "shape_detection_service.mojom",
    "textdetection.mojom",
  ]

  public_deps = [
    "//sandbox/policy/mojom",
    "//skia/public/mojom",
    "//ui/gfx/geometry/mojom",
  ]

  # Platforms except Chrome OS host shape detection in the GPU process.
  if ((is_chromeos_ash || is_chromeos_lacros) && is_chrome_branded) {
    enabled_features = [ "has_shape_detection_utility" ]
  }
}