| OLD | NEW |
| 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 Loading... |
| 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 "currency_formatter.cc", | 55 "currency_formatter.cc", |
| 56 "currency_formatter.h", | 56 "currency_formatter.h", |
| 57 "payment_details_validation.cc", | 57 "payment_details_validation.cc", |
| 58 "payment_details_validation.h", | 58 "payment_details_validation.h", |
| 59 "payment_manifest_downloader.cc", |
| 60 "payment_manifest_downloader.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/link_header_util", |
| 69 "//net", |
| 66 "//third_party/re2:re2", | 70 "//third_party/re2:re2", |
| 67 "//url:url", | 71 "//url:url", |
| 68 ] | 72 ] |
| 69 | 73 |
| 70 public_deps = [ | 74 public_deps = [ |
| 71 "//third_party/icu:icu", | 75 "//third_party/icu:icu", |
| 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", |
| 83 "payment_manifest_downloader_test.cc", |
| 79 "payments_validators_test.cc", | 84 "payments_validators_test.cc", |
| 80 ] | 85 ] |
| 81 | 86 |
| 82 deps = [ | 87 deps = [ |
| 83 ":payment_validation", | 88 ":payment_utils", |
| 84 "//base", | 89 "//base", |
| 90 "//testing/gmock", |
| 85 "//testing/gtest", | 91 "//testing/gtest", |
| 86 "//third_party/icu:icu", | 92 "//third_party/icu:icu", |
| 87 ] | 93 ] |
| 88 } | 94 } |
| OLD | NEW |