Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: components/payments/content/BUILD.gn

Issue 2742813004: [Payments] Refactor into PaymentRequestState and Spec (Closed)
Patch Set: don't stop rebasin' Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 12
13 mojom("payment_app") { 13 mojom("payment_app") {
14 sources = [ 14 sources = [
15 "payment_app.mojom", 15 "payment_app.mojom",
16 ] 16 ]
17 17
18 public_deps = [ 18 public_deps = [
19 ":payment_request", 19 ":payment_request",
20 "//url/mojo:url_mojom_gurl", 20 "//url/mojo:url_mojom_gurl",
21 ] 21 ]
22 } 22 }
23 23
24 static_library("payment_request_impl") { 24 static_library("payment_request_impl") {
25 sources = [ 25 sources = [
26 "payment_request.cc", 26 "payment_request.cc",
27 "payment_request.h", 27 "payment_request.h",
28 "payment_request_delegate.h", 28 "payment_request_delegate.h",
29 "payment_request_dialog.h", 29 "payment_request_dialog.h",
30 "payment_request_spec.cc",
31 "payment_request_spec.h",
32 "payment_request_state.cc",
33 "payment_request_state.h",
30 "payment_request_web_contents_manager.cc", 34 "payment_request_web_contents_manager.cc",
31 "payment_request_web_contents_manager.h", 35 "payment_request_web_contents_manager.h",
32 ] 36 ]
33 37
34 deps = [ 38 deps = [
35 ":payment_request", 39 ":payment_request",
36 ":payment_validation", 40 ":payment_validation",
37 "//components/autofill/core/browser", 41 "//components/autofill/core/browser",
38 "//components/payments/core", 42 "//components/payments/core",
39 "//content/public/browser", 43 "//content/public/browser",
(...skipping 20 matching lines...) Expand all
60 64
61 public_deps = [ 65 public_deps = [
62 "//third_party/icu", 66 "//third_party/icu",
63 "//third_party/libaddressinput", 67 "//third_party/libaddressinput",
64 ] 68 ]
65 } 69 }
66 70
67 source_set("unit_tests") { 71 source_set("unit_tests") {
68 testonly = true 72 testonly = true
69 sources = [ 73 sources = [
74 "payment_request_spec_unittest.cc",
75 "payment_request_state_unittest.cc",
70 "payments_validators_unittest.cc", 76 "payments_validators_unittest.cc",
71 ] 77 ]
72 78
73 deps = [ 79 deps = [
80 ":payment_request",
81 ":payment_request_impl",
74 ":payment_validation", 82 ":payment_validation",
75 "//base", 83 "//base",
76 "//base/test:test_support", 84 "//base/test:test_support",
77 "//components/autofill/core/browser", 85 "//components/autofill/core/browser",
86 "//components/autofill/core/browser:test_support",
78 "//testing/gtest", 87 "//testing/gtest",
79 "//third_party/icu", 88 "//third_party/icu",
80 "//third_party/libaddressinput:test_support", 89 "//third_party/libaddressinput:test_support",
81 ] 90 ]
82 } 91 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/payments/shipping_option_view_controller.cc ('k') | components/payments/content/payment_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698