OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 static_library("utility") { | 5 static_library("utility") { |
6 sources = [ | 6 sources = [ |
7 "fingerprint_parser.cc", | 7 "fingerprint_parser.cc", |
8 "fingerprint_parser.h", | 8 "fingerprint_parser.h", |
9 "payment_manifest_parser.cc", | 9 "payment_manifest_parser.cc", |
10 "payment_manifest_parser.h", | 10 "payment_manifest_parser.h", |
11 ] | 11 ] |
12 deps = [ | 12 deps = [ |
13 "//base", | 13 "//base", |
14 "//components/payments/content:mojom_parser", | 14 "//components/payments/mojom:mojom_parser", |
15 "//url", | 15 "//url", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 source_set("unit_tests") { | 19 source_set("unit_tests") { |
20 testonly = true | 20 testonly = true |
21 sources = [ | 21 sources = [ |
22 "fingerprint_parser_unittest.cc", | 22 "fingerprint_parser_unittest.cc", |
23 "payment_manifest_parser_unittest.cc", | 23 "payment_manifest_parser_unittest.cc", |
24 ] | 24 ] |
25 deps = [ | 25 deps = [ |
26 ":utility", | 26 ":utility", |
27 "//base", | 27 "//base", |
28 "//testing/gtest", | 28 "//testing/gtest", |
29 ] | 29 ] |
30 } | 30 } |
OLD | NEW |