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", | 10 "ios_can_make_payment_query_factory.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
40 ] | 40 ] |
41 deps = [ | 41 deps = [ |
42 ":payments", | 42 ":payments", |
43 ":test_support", | 43 ":test_support", |
44 "//base", | 44 "//base", |
45 "//base/test:test_support", | 45 "//base/test:test_support", |
46 "//components/autofill/core/browser", | 46 "//components/autofill/core/browser", |
47 "//components/autofill/core/browser:test_support", | 47 "//components/autofill/core/browser:test_support", |
48 "//components/payments/core", | 48 "//components/payments/core", |
49 "//ios/chrome/browser", | 49 "//ios/chrome/browser", |
| 50 "//ios/chrome/browser/browser_state:test_support", |
50 "//ios/web", | 51 "//ios/web", |
| 52 "//ios/web/public/test/fakes", |
51 "//testing/gmock", | 53 "//testing/gmock", |
52 "//testing/gtest", | 54 "//testing/gtest", |
53 ] | 55 ] |
54 } | 56 } |
55 | 57 |
56 source_set("test_support") { | 58 source_set("test_support") { |
57 configs += [ "//build/config/compiler:enable_arc" ] | 59 configs += [ "//build/config/compiler:enable_arc" ] |
58 testonly = true | 60 testonly = true |
59 sources = [ | 61 sources = [ |
60 "payment_request_test_util.h", | 62 "payment_request_test_util.h", |
61 "payment_request_test_util.mm", | 63 "payment_request_test_util.mm", |
62 "test_payment_request.h", | 64 "test_payment_request.h", |
63 "test_payment_request.mm", | 65 "test_payment_request.mm", |
64 ] | 66 ] |
65 deps = [ | 67 deps = [ |
66 ":payments", | 68 ":payments", |
67 "//base", | 69 "//base", |
68 "//components/autofill/core/browser", | 70 "//components/autofill/core/browser", |
69 "//components/autofill/core/browser:test_support", | 71 "//components/autofill/core/browser:test_support", |
70 "//components/payments/core", | 72 "//components/payments/core", |
71 "//components/prefs", | 73 "//components/prefs", |
72 "//ios/web", | 74 "//ios/web", |
73 ] | 75 ] |
74 } | 76 } |
OLD | NEW |