| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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", |
| 62 "//third_party/re2:re2", | 64 "//third_party/re2:re2", |
| 63 "//url:url", | 65 "//url:url", |
| 64 ] | 66 ] |
| 67 |
| 68 public_deps = [ |
| 69 "//third_party/icu:icu", |
| 70 ] |
| 65 } | 71 } |
| 66 | 72 |
| 67 static_library("unit_tests") { | 73 source_set("unit_tests") { |
| 68 testonly = true | 74 testonly = true |
| 69 sources = [ | 75 sources = [ |
| 76 "currency_formatter_unittest.cc", |
| 70 "payments_validators_test.cc", | 77 "payments_validators_test.cc", |
| 71 ] | 78 ] |
| 72 | 79 |
| 73 deps = [ | 80 deps = [ |
| 74 ":payment_validation", | 81 ":payment_validation", |
| 82 "//base", |
| 75 "//testing/gtest", | 83 "//testing/gtest", |
| 84 "//third_party/icu:icu", |
| 76 ] | 85 ] |
| 77 } | 86 } |
| OLD | NEW |