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

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

Issue 2742813004: [Payments] Refactor into PaymentRequestState and Spec (Closed)
Patch Set: another set of tests (state) 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 ]
(...skipping 14 matching lines...) Expand all
25 "//url/mojo:url_mojom_gurl", 25 "//url/mojo:url_mojom_gurl",
26 ] 26 ]
27 } 27 }
28 28
29 static_library("payment_request_impl") { 29 static_library("payment_request_impl") {
30 sources = [ 30 sources = [
31 "payment_request.cc", 31 "payment_request.cc",
32 "payment_request.h", 32 "payment_request.h",
33 "payment_request_delegate.h", 33 "payment_request_delegate.h",
34 "payment_request_dialog.h", 34 "payment_request_dialog.h",
35 "payment_request_spec.cc",
36 "payment_request_spec.h",
37 "payment_request_state.cc",
38 "payment_request_state.h",
35 "payment_request_web_contents_manager.cc", 39 "payment_request_web_contents_manager.cc",
36 "payment_request_web_contents_manager.h", 40 "payment_request_web_contents_manager.h",
37 ] 41 ]
38 42
39 deps = [ 43 deps = [
40 ":payment_request", 44 ":payment_request",
41 ":payment_validation", 45 ":payment_validation",
42 "//components/autofill/core/browser", 46 "//components/autofill/core/browser",
43 "//components/payments/core", 47 "//components/payments/core",
44 "//content/public/browser", 48 "//content/public/browser",
(...skipping 20 matching lines...) Expand all
65 69
66 public_deps = [ 70 public_deps = [
67 "//third_party/icu", 71 "//third_party/icu",
68 "//third_party/libaddressinput", 72 "//third_party/libaddressinput",
69 ] 73 ]
70 } 74 }
71 75
72 source_set("unit_tests") { 76 source_set("unit_tests") {
73 testonly = true 77 testonly = true
74 sources = [ 78 sources = [
79 "payment_request_spec_unittest.cc",
80 "payment_request_state_unittest.cc",
75 "payments_validators_test.cc", 81 "payments_validators_test.cc",
76 ] 82 ]
77 83
78 deps = [ 84 deps = [
85 ":payment_request",
86 ":payment_request_impl",
79 ":payment_validation", 87 ":payment_validation",
80 "//base", 88 "//base",
81 "//base/test:test_support", 89 "//base/test:test_support",
82 "//components/autofill/core/browser", 90 "//components/autofill/core/browser",
83 "//testing/gtest", 91 "//testing/gtest",
84 "//third_party/icu", 92 "//third_party/icu",
85 "//third_party/libaddressinput:test_support", 93 "//third_party/libaddressinput:test_support",
86 ] 94 ]
87 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698