| # 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("interfaces") { |
| sources = [ |
| "barcodedetection.mojom", |
| "constants.mojom", |
| "facedetection.mojom", |
| "facedetection_provider.mojom", |
| "textdetection.mojom", |
| ] |
| |
| public_deps = [ |
| "//ui/gfx/geometry/mojo", |
| ] |
| |
| # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| use_once_callback = false |
| |
| # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| use_new_js_bindings = false |
| } |