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

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

Issue 2621033003: [Payments] Currency formatter for order amounts. (Closed)
Patch Set: Initial Created 3 years, 11 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ":payment_request", 43 ":payment_request",
44 ":payment_validation", 44 ":payment_validation",
45 "//content/public/browser", 45 "//content/public/browser",
46 "//mojo/public/cpp/bindings", 46 "//mojo/public/cpp/bindings",
47 ] 47 ]
48 } 48 }
49 } 49 }
50 50
51 static_library("payment_validation") { 51 static_library("payment_validation") {
52 sources = [ 52 sources = [
53 "currency_formatter.cc",
54 "currency_formatter.h",
53 "payment_details_validation.cc", 55 "payment_details_validation.cc",
54 "payment_details_validation.h", 56 "payment_details_validation.h",
55 "payments_validators.cc", 57 "payments_validators.cc",
56 "payments_validators.h", 58 "payments_validators.h",
57 ] 59 ]
58 60
59 deps = [ 61 deps = [
60 ":payment_request", 62 ":payment_request",
61 "//base", 63 "//base",
64 "//third_party/icu:icu",
62 "//third_party/re2:re2", 65 "//third_party/re2:re2",
63 "//url:url", 66 "//url:url",
64 ] 67 ]
65 } 68 }
66 69
67 static_library("unit_tests") { 70 source_set("unit_tests") {
68 testonly = true 71 testonly = true
69 sources = [ 72 sources = [
73 "currency_formatter_unittest.cc",
70 "payments_validators_test.cc", 74 "payments_validators_test.cc",
71 ] 75 ]
72 76
73 deps = [ 77 deps = [
74 ":payment_validation", 78 ":payment_validation",
75 "//testing/gtest", 79 "//testing/gtest",
80 "//third_party/icu:icu",
76 ] 81 ]
77 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698