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

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

Issue 2686613003: [Payments] Move address normalization code from android to native. (Closed)
Patch Set: Renamed file and addressed comments Created 3 years, 10 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ":payment_validation", 45 ":payment_validation",
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_validation") {
54 sources = [ 54 sources = [
55 "address_normalizer.cc",
56 "address_normalizer.h",
55 "currency_formatter.cc", 57 "currency_formatter.cc",
56 "currency_formatter.h", 58 "currency_formatter.h",
57 "payment_details_validation.cc", 59 "payment_details_validation.cc",
58 "payment_details_validation.h", 60 "payment_details_validation.h",
59 "payments_validators.cc", 61 "payments_validators.cc",
60 "payments_validators.h", 62 "payments_validators.h",
61 ] 63 ]
62 64
63 deps = [ 65 deps = [
64 ":payment_request", 66 ":payment_request",
65 "//base", 67 "//base",
68 "//components/autofill/core/browser",
66 "//third_party/re2:re2", 69 "//third_party/re2:re2",
67 "//url:url", 70 "//url:url",
68 ] 71 ]
69 72
70 public_deps = [ 73 public_deps = [
71 "//third_party/icu:icu", 74 "//third_party/icu:icu",
75 "//third_party/libaddressinput",
72 ] 76 ]
73 } 77 }
74 78
75 source_set("unit_tests") { 79 source_set("unit_tests") {
76 testonly = true 80 testonly = true
77 sources = [ 81 sources = [
78 "currency_formatter_unittest.cc", 82 "currency_formatter_unittest.cc",
79 "payments_validators_test.cc", 83 "payments_validators_test.cc",
80 ] 84 ]
81 85
82 deps = [ 86 deps = [
83 ":payment_validation", 87 ":payment_validation",
84 "//base", 88 "//base",
85 "//testing/gtest", 89 "//testing/gtest",
86 "//third_party/icu:icu", 90 "//third_party/icu:icu",
87 ] 91 ]
88 } 92 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/android/personal_data_manager_android.cc ('k') | components/payments/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698