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

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

Issue 2645813006: Download web payment manifests. (Closed)
Patch Set: Rebase 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 24 matching lines...) Expand all
35 "payment_request.cc", 35 "payment_request.cc",
36 "payment_request.h", 36 "payment_request.h",
37 "payment_request_delegate.h", 37 "payment_request_delegate.h",
38 "payment_request_dialog.h", 38 "payment_request_dialog.h",
39 "payment_request_web_contents_manager.cc", 39 "payment_request_web_contents_manager.cc",
40 "payment_request_web_contents_manager.h", 40 "payment_request_web_contents_manager.h",
41 ] 41 ]
42 42
43 deps = [ 43 deps = [
44 ":payment_request", 44 ":payment_request",
45 ":payment_validation", 45 ":payment_utils",
46 "//components/autofill/core/browser", 46 "//components/autofill/core/browser",
47 "//content/public/browser", 47 "//content/public/browser",
48 "//mojo/public/cpp/bindings", 48 "//mojo/public/cpp/bindings",
49 ] 49 ]
50 } 50 }
51 } 51 }
52 52
53 static_library("payment_validation") { 53 static_library("payment_utils") {
54 sources = [ 54 sources = [
55 "address_normalizer.cc", 55 "address_normalizer.cc",
56 "address_normalizer.h", 56 "address_normalizer.h",
57 "currency_formatter.cc", 57 "currency_formatter.cc",
58 "currency_formatter.h", 58 "currency_formatter.h",
59 "payment_details_validation.cc", 59 "payment_details_validation.cc",
60 "payment_details_validation.h", 60 "payment_details_validation.h",
61 "payment_manifest_downloader.cc",
62 "payment_manifest_downloader.h",
61 "payments_validators.cc", 63 "payments_validators.cc",
62 "payments_validators.h", 64 "payments_validators.h",
63 ] 65 ]
64 66
65 deps = [ 67 deps = [
66 ":payment_request", 68 ":payment_request",
67 "//base", 69 "//base",
68 "//components/autofill/core/browser", 70 "//components/autofill/core/browser",
69 "//third_party/re2:re2", 71 "//components/data_use_measurement/core",
70 "//url:url", 72 "//components/link_header_util",
73 "//net",
74 "//third_party/re2",
75 "//url",
71 ] 76 ]
72 77
73 public_deps = [ 78 public_deps = [
74 "//third_party/icu:icu", 79 "//third_party/icu:icu",
75 "//third_party/libaddressinput", 80 "//third_party/libaddressinput",
76 ] 81 ]
77 } 82 }
78 83
79 source_set("unit_tests") { 84 source_set("unit_tests") {
80 testonly = true 85 testonly = true
81 sources = [ 86 sources = [
82 "address_normalizer_unittest.cc", 87 "address_normalizer_unittest.cc",
83 "currency_formatter_unittest.cc", 88 "currency_formatter_unittest.cc",
89 "payment_manifest_downloader_test.cc",
84 "payments_validators_test.cc", 90 "payments_validators_test.cc",
85 ] 91 ]
86 92
87 deps = [ 93 deps = [
88 ":payment_validation", 94 ":payment_utils",
89 "//base", 95 "//base",
90 "//base/test:test_support", 96 "//base/test:test_support",
91 "//components/autofill/core/browser", 97 "//components/autofill/core/browser",
98 "//content/test:test_support",
sdefresne 2017/02/23 17:11:05 I think the iOS build failures are due to this lin
please use gerrit instead 2017/02/23 19:57:50 Started on splitting up the component into layers
please use gerrit instead 2017/03/03 19:50:47 The split was done in a previous patch. This patch
99 "//net:test_support",
100 "//testing/gmock",
92 "//testing/gtest", 101 "//testing/gtest",
93 "//third_party/icu:icu", 102 "//third_party/icu",
94 "//third_party/libaddressinput:test_support", 103 "//third_party/libaddressinput:test_support",
95 ] 104 ]
96 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698