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 static_library("content") { | 7 static_library("content") { |
8 sources = [ | 8 sources = [ |
9 "payment_request.cc", | 9 "payment_request.cc", |
10 "payment_request.h", | 10 "payment_request.h", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 55 } |
56 | 56 |
57 static_library("utils") { | 57 static_library("utils") { |
58 sources = [ | 58 sources = [ |
59 "payment_details_validation.cc", | 59 "payment_details_validation.cc", |
60 "payment_details_validation.h", | 60 "payment_details_validation.h", |
61 "payment_manifest_downloader.cc", | 61 "payment_manifest_downloader.cc", |
62 "payment_manifest_downloader.h", | 62 "payment_manifest_downloader.h", |
63 "payment_manifest_parser_host.cc", | 63 "payment_manifest_parser_host.cc", |
64 "payment_manifest_parser_host.h", | 64 "payment_manifest_parser_host.h", |
| 65 "payment_manifest_section_table.cc", |
| 66 "payment_manifest_section_table.h", |
65 "payments_validators.cc", | 67 "payments_validators.cc", |
66 "payments_validators.h", | 68 "payments_validators.h", |
67 ] | 69 ] |
68 | 70 |
69 deps = [ | 71 deps = [ |
70 ":mojom", | 72 ":mojom", |
71 ":mojom_parser", | 73 ":mojom_parser", |
72 "//base", | 74 "//base", |
73 "//components/autofill/core/browser", | 75 "//components/autofill/core/browser", |
74 "//components/data_use_measurement/core", | 76 "//components/data_use_measurement/core", |
75 "//components/link_header_util", | 77 "//components/link_header_util", |
76 "//components/payments/core", | 78 "//components/payments/core", |
77 "//components/strings", | 79 "//components/strings", |
| 80 "//components/webdata/common:common", |
78 "//content/public/browser", | 81 "//content/public/browser", |
79 "//net", | 82 "//net", |
| 83 "//sql:sql", |
80 "//third_party/re2", | 84 "//third_party/re2", |
81 "//ui/base", | 85 "//ui/base", |
82 "//url", | 86 "//url", |
83 ] | 87 ] |
84 | 88 |
85 public_deps = [ | 89 public_deps = [ |
86 "//third_party/icu", | 90 "//third_party/icu", |
87 "//third_party/libaddressinput", | 91 "//third_party/libaddressinput", |
88 ] | 92 ] |
89 } | 93 } |
90 | 94 |
91 source_set("unit_tests") { | 95 source_set("unit_tests") { |
92 testonly = true | 96 testonly = true |
93 sources = [ | 97 sources = [ |
94 "payment_manifest_downloader_unittest.cc", | 98 "payment_manifest_downloader_unittest.cc", |
| 99 "payment_manifest_section_table_unittest.cc", |
95 "payment_request_spec_unittest.cc", | 100 "payment_request_spec_unittest.cc", |
96 "payment_request_state_unittest.cc", | 101 "payment_request_state_unittest.cc", |
97 "payments_validators_unittest.cc", | 102 "payments_validators_unittest.cc", |
98 ] | 103 ] |
99 | 104 |
100 deps = [ | 105 deps = [ |
101 ":content", | 106 ":content", |
102 ":mojom", | 107 ":mojom", |
103 ":utils", | 108 ":utils", |
104 "//base", | 109 "//base", |
105 "//base/test:test_support", | 110 "//base/test:test_support", |
106 "//components/autofill/core/browser", | 111 "//components/autofill/core/browser", |
107 "//components/autofill/core/browser:test_support", | 112 "//components/autofill/core/browser:test_support", |
108 "//content/test:test_support", | 113 "//content/test:test_support", |
109 "//net:test_support", | 114 "//net:test_support", |
110 "//testing/gtest", | 115 "//testing/gtest", |
111 "//third_party/icu", | 116 "//third_party/icu", |
112 "//third_party/libaddressinput:test_support", | 117 "//third_party/libaddressinput:test_support", |
113 ] | 118 ] |
114 } | 119 } |
OLD | NEW |