| Index: components/payments/BUILD.gn
|
| diff --git a/components/payments/BUILD.gn b/components/payments/BUILD.gn
|
| deleted file mode 100644
|
| index 46f08096fd6effdc963ddfae5aa9cc820d516967..0000000000000000000000000000000000000000
|
| --- a/components/payments/BUILD.gn
|
| +++ /dev/null
|
| @@ -1,96 +0,0 @@
|
| -# Copyright 2016 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.
|
| -
|
| -import("//mojo/public/tools/bindings/mojom.gni")
|
| -
|
| -mojom("payment_request") {
|
| - sources = [
|
| - "payment_request.mojom",
|
| - ]
|
| -
|
| - public_deps = [
|
| - "//mojo/common:common_custom_types",
|
| - ]
|
| -}
|
| -
|
| -mojom("payment_app") {
|
| - sources = [
|
| - "payment_app.mojom",
|
| - ]
|
| -
|
| - public_deps = [
|
| - ":payment_request",
|
| - "//mojo/common:common_custom_types",
|
| - "//url/mojo:url_mojom_gurl",
|
| - ]
|
| -}
|
| -
|
| -# TODO(crbug.com/679381): Create a layered component to that we can remove the
|
| -# iOS check here (iOS strict DEPS checker doesn't like the //content dependency
|
| -# below).
|
| -if (!is_ios) {
|
| - static_library("payment_request_impl") {
|
| - sources = [
|
| - "payment_request.cc",
|
| - "payment_request.h",
|
| - "payment_request_delegate.h",
|
| - "payment_request_dialog.h",
|
| - "payment_request_web_contents_manager.cc",
|
| - "payment_request_web_contents_manager.h",
|
| - ]
|
| -
|
| - deps = [
|
| - ":payment_request",
|
| - ":payment_validation",
|
| - "//components/autofill/core/browser",
|
| - "//content/public/browser",
|
| - "//mojo/public/cpp/bindings",
|
| - ]
|
| - }
|
| -}
|
| -
|
| -static_library("payment_validation") {
|
| - sources = [
|
| - "address_normalizer.cc",
|
| - "address_normalizer.h",
|
| - "currency_formatter.cc",
|
| - "currency_formatter.h",
|
| - "payment_details_validation.cc",
|
| - "payment_details_validation.h",
|
| - "payments_validators.cc",
|
| - "payments_validators.h",
|
| - ]
|
| -
|
| - deps = [
|
| - ":payment_request",
|
| - "//base",
|
| - "//components/autofill/core/browser",
|
| - "//third_party/re2:re2",
|
| - "//url:url",
|
| - ]
|
| -
|
| - public_deps = [
|
| - "//third_party/icu:icu",
|
| - "//third_party/libaddressinput",
|
| - ]
|
| -}
|
| -
|
| -source_set("unit_tests") {
|
| - testonly = true
|
| - sources = [
|
| - "address_normalizer_unittest.cc",
|
| - "currency_formatter_unittest.cc",
|
| - "payments_validators_test.cc",
|
| - ]
|
| -
|
| - deps = [
|
| - ":payment_validation",
|
| - "//base",
|
| - "//base/test:test_support",
|
| - "//components/autofill/core/browser",
|
| - "//testing/gtest",
|
| - "//third_party/icu:icu",
|
| - "//third_party/libaddressinput:test_support",
|
| - ]
|
| -}
|
|
|