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

Unified Diff: components/payments/core/BUILD.gn

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/payments/content/payments_validators_test.cc ('k') | components/payments/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/BUILD.gn
diff --git a/components/payments/core/BUILD.gn b/components/payments/core/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e0a51dfc193042232c048e0e25ae6df29478d84c
--- /dev/null
+++ b/components/payments/core/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("core") {
+ sources = [
+ "address_normalizer.cc",
+ "address_normalizer.h",
+ "currency_formatter.cc",
+ "currency_formatter.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/autofill/core/browser",
+ ]
+
+ public_deps = [
+ "//third_party/icu",
+ "//third_party/libaddressinput",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "address_normalizer_unittest.cc",
+ "currency_formatter_unittest.cc",
+ ]
+
+ deps = [
+ ":core",
+ "//base",
+ "//base/test:test_support",
+ "//components/autofill/core/browser",
+ "//testing/gtest",
+ "//third_party/libaddressinput:test_support",
+ ]
+}
« no previous file with comments | « components/payments/content/payments_validators_test.cc ('k') | components/payments/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698