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("core") { | 5 static_library("core") { |
6 sources = [ | 6 sources = [ |
7 "address_normalizer.cc", | 7 "address_normalizer.cc", |
8 "address_normalizer.h", | 8 "address_normalizer.h", |
9 "autofill_payment_instrument.cc", | 9 "autofill_payment_instrument.cc", |
10 "autofill_payment_instrument.h", | 10 "autofill_payment_instrument.h", |
11 "basic_card_response.cc", | 11 "basic_card_response.cc", |
12 "basic_card_response.h", | 12 "basic_card_response.h", |
13 "currency_formatter.cc", | 13 "currency_formatter.cc", |
14 "currency_formatter.h", | 14 "currency_formatter.h", |
15 "journey_logger.cc", | 15 "journey_logger.cc", |
16 "journey_logger.h", | 16 "journey_logger.h", |
17 "payment_address.cc", | 17 "payment_address.cc", |
18 "payment_address.h", | 18 "payment_address.h", |
19 "payment_instrument.cc", | 19 "payment_instrument.cc", |
20 "payment_instrument.h", | 20 "payment_instrument.h", |
21 "payment_options_provider.h", | 21 "payment_options_provider.h", |
22 "payment_request_data_util.cc", | 22 "payment_request_data_util.cc", |
23 "payment_request_data_util.h", | 23 "payment_request_data_util.h", |
| 24 "strings_util.cc", |
| 25 "strings_util.h", |
24 ] | 26 ] |
25 | 27 |
26 deps = [ | 28 deps = [ |
27 "//base", | 29 "//base", |
28 "//components/autofill/core/browser", | 30 "//components/autofill/core/browser", |
| 31 "//components/strings:components_strings_grit", |
| 32 "//ui/base", |
29 ] | 33 ] |
30 | 34 |
31 public_deps = [ | 35 public_deps = [ |
32 "//third_party/icu", | 36 "//third_party/icu", |
33 "//third_party/libaddressinput", | 37 "//third_party/libaddressinput", |
34 ] | 38 ] |
35 } | 39 } |
36 | 40 |
37 source_set("unit_tests") { | 41 source_set("unit_tests") { |
38 testonly = true | 42 testonly = true |
39 sources = [ | 43 sources = [ |
40 "address_normalizer_unittest.cc", | 44 "address_normalizer_unittest.cc", |
41 "basic_card_response_unittest.cc", | 45 "basic_card_response_unittest.cc", |
42 "currency_formatter_unittest.cc", | 46 "currency_formatter_unittest.cc", |
43 "payment_address_unittest.cc", | 47 "payment_address_unittest.cc", |
44 "payment_request_data_util_unittest.cc", | 48 "payment_request_data_util_unittest.cc", |
45 ] | 49 ] |
46 | 50 |
47 deps = [ | 51 deps = [ |
48 ":core", | 52 ":core", |
49 "//base", | 53 "//base", |
50 "//base/test:test_support", | 54 "//base/test:test_support", |
51 "//components/autofill/core/browser", | 55 "//components/autofill/core/browser", |
52 "//components/autofill/core/browser:test_support", | 56 "//components/autofill/core/browser:test_support", |
53 "//testing/gtest", | 57 "//testing/gtest", |
54 "//third_party/libaddressinput:test_support", | 58 "//third_party/libaddressinput:test_support", |
55 ] | 59 ] |
56 } | 60 } |
OLD | NEW |