OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("payment_request") { | 7 mojom("payment_request") { |
8 sources = [ | 8 sources = [ |
9 "payment_request.mojom", | 9 "payment_request.mojom", |
10 ] | 10 ] |
11 | 11 |
12 public_deps = [ | 12 public_deps = [ |
13 "//mojo/common:common_custom_types", | 13 "//mojo/common:common_custom_types", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 mojom("payment_app") { | 17 mojom("payment_app") { |
18 sources = [ | 18 sources = [ |
19 "payment_app.mojom", | 19 "payment_app.mojom", |
20 ] | 20 ] |
21 | 21 |
22 public_deps = [ | 22 public_deps = [ |
| 23 ":payment_request", |
23 "//mojo/common:common_custom_types", | 24 "//mojo/common:common_custom_types", |
24 ] | 25 ] |
25 } | 26 } |
26 | 27 |
27 static_library("payment_validation") { | 28 static_library("payment_validation") { |
28 sources = [ | 29 sources = [ |
29 "payment_details_validation.cc", | 30 "payment_details_validation.cc", |
30 "payment_details_validation.h", | 31 "payment_details_validation.h", |
31 "payments_validators.cc", | 32 "payments_validators.cc", |
32 "payments_validators.h", | 33 "payments_validators.h", |
(...skipping 11 matching lines...) Expand all Loading... |
44 testonly = true | 45 testonly = true |
45 sources = [ | 46 sources = [ |
46 "payments_validators_test.cc", | 47 "payments_validators_test.cc", |
47 ] | 48 ] |
48 | 49 |
49 deps = [ | 50 deps = [ |
50 ":payment_validation", | 51 ":payment_validation", |
51 "//testing/gtest", | 52 "//testing/gtest", |
52 ] | 53 ] |
53 } | 54 } |
OLD | NEW |