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("//ios/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") |
6 | 6 |
7 source_set("payments") { | 7 source_set("payments") { |
8 configs += [ "//build/config/compiler:enable_arc" ] | 8 configs += [ "//build/config/compiler:enable_arc" ] |
9 sources = [ | 9 sources = [ |
| 10 "ios_can_make_payment_query_factory.cc", |
| 11 "ios_can_make_payment_query_factory.h", |
10 "payment_request.h", | 12 "payment_request.h", |
11 "payment_request.mm", | 13 "payment_request.mm", |
12 "payment_request_util.h", | 14 "payment_request_util.h", |
13 "payment_request_util.mm", | 15 "payment_request_util.mm", |
14 ] | 16 ] |
15 deps = [ | 17 deps = [ |
16 "//base", | 18 "//base", |
17 "//components/autofill/core/browser", | 19 "//components/autofill/core/browser", |
| 20 "//components/keyed_service/ios", |
18 "//components/payments/core", | 21 "//components/payments/core", |
19 "//components/strings:components_strings_grit", | 22 "//components/strings:components_strings_grit", |
20 "//ios/chrome/browser", | 23 "//ios/chrome/browser", |
21 "//ios/chrome/browser/autofill", | 24 "//ios/chrome/browser/autofill", |
| 25 "//ios/chrome/browser/browser_state", |
22 "//ios/web", | 26 "//ios/web", |
23 "//ui/base", | 27 "//ui/base", |
24 ] | 28 ] |
25 libs = [ "UIKit.framework" ] | 29 libs = [ "UIKit.framework" ] |
26 } | 30 } |
27 | 31 |
28 source_set("unit_tests") { | 32 source_set("unit_tests") { |
29 configs += [ "//build/config/compiler:enable_arc" ] | 33 configs += [ "//build/config/compiler:enable_arc" ] |
30 testonly = true | 34 testonly = true |
31 sources = [ | 35 sources = [ |
(...skipping 23 matching lines...) Expand all Loading... |
55 "test_payment_request.mm", | 59 "test_payment_request.mm", |
56 ] | 60 ] |
57 deps = [ | 61 deps = [ |
58 ":payments", | 62 ":payments", |
59 "//base", | 63 "//base", |
60 "//components/autofill/core/browser", | 64 "//components/autofill/core/browser", |
61 "//components/payments/core", | 65 "//components/payments/core", |
62 "//ios/web", | 66 "//ios/web", |
63 ] | 67 ] |
64 } | 68 } |
OLD | NEW |