OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 mojom("mojom") { | 7 mojom("mojom") { |
8 sources = [ | 8 sources = [ |
9 "payment_request.mojom", | 9 "payment_request.mojom", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 mojom("mojom_parser") { | 13 mojom("mojom_parser") { |
14 sources = [ | 14 sources = [ |
15 "payment_manifest_parser.mojom", | 15 "payment_manifest_parser.mojom", |
16 ] | 16 ] |
17 | 17 |
18 public_deps = [ | 18 public_deps = [ |
19 "//url/mojo:url_mojom_gurl", | 19 "//url/mojo:url_mojom_gurl", |
20 ] | 20 ] |
21 | |
22 use_once_callback = true | |
23 } | 21 } |
24 | 22 |
25 mojom("mojom_payment_app") { | 23 mojom("mojom_payment_app") { |
26 sources = [ | 24 sources = [ |
27 "payment_app.mojom", | 25 "payment_app.mojom", |
28 ] | 26 ] |
29 | 27 |
30 public_deps = [ | 28 public_deps = [ |
31 ":mojom", | 29 ":mojom", |
32 "//mojo/common:common_custom_types", | 30 "//mojo/common:common_custom_types", |
33 "//url/mojo:url_mojom_gurl", | 31 "//url/mojo:url_mojom_gurl", |
34 ] | 32 ] |
35 | |
36 use_once_callback = true | |
37 } | 33 } |
OLD | NEW |