| 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.h", | 7 "address_normalizer.h", |
| 8 "address_normalizer_impl.cc", | 8 "address_normalizer_impl.cc", |
| 9 "address_normalizer_impl.h", | 9 "address_normalizer_impl.h", |
| 10 "autofill_payment_instrument.cc", | 10 "autofill_payment_instrument.cc", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 "//ui/base", | 40 "//ui/base", |
| 41 "//url", | 41 "//url", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 public_deps = [ | 44 public_deps = [ |
| 45 "//third_party/icu", | 45 "//third_party/icu", |
| 46 "//third_party/libaddressinput", | 46 "//third_party/libaddressinput", |
| 47 ] | 47 ] |
| 48 } | 48 } |
| 49 | 49 |
| 50 static_library("test_support") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "test_address_normalizer.cc", |
| 54 "test_address_normalizer.h", |
| 55 "test_payment_request_delegate.cc", |
| 56 "test_payment_request_delegate.h", |
| 57 ] |
| 58 |
| 59 deps = [ |
| 60 ":core", |
| 61 "//base", |
| 62 "//components/autofill/core/browser", |
| 63 ] |
| 64 } |
| 65 |
| 50 source_set("unit_tests") { | 66 source_set("unit_tests") { |
| 51 testonly = true | 67 testonly = true |
| 52 sources = [ | 68 sources = [ |
| 53 "address_normalizer_impl_unittest.cc", | 69 "address_normalizer_impl_unittest.cc", |
| 54 "autofill_payment_instrument_unittest.cc", | 70 "autofill_payment_instrument_unittest.cc", |
| 55 "basic_card_response_unittest.cc", | 71 "basic_card_response_unittest.cc", |
| 56 "currency_formatter_unittest.cc", | 72 "currency_formatter_unittest.cc", |
| 57 "journey_logger_unittest.cc", | 73 "journey_logger_unittest.cc", |
| 58 "payment_address_unittest.cc", | 74 "payment_address_unittest.cc", |
| 59 "payment_method_data_unittest.cc", | 75 "payment_method_data_unittest.cc", |
| 60 "payment_request_data_util_unittest.cc", | 76 "payment_request_data_util_unittest.cc", |
| 61 "profile_util_unittest.cc", | 77 "profile_util_unittest.cc", |
| 62 ] | 78 ] |
| 63 | 79 |
| 64 deps = [ | 80 deps = [ |
| 65 ":core", | 81 ":core", |
| 82 ":test_support", |
| 66 "//base", | 83 "//base", |
| 67 "//base/test:test_support", | 84 "//base/test:test_support", |
| 68 "//components/autofill/core/browser", | 85 "//components/autofill/core/browser", |
| 69 "//components/autofill/core/browser:test_support", | 86 "//components/autofill/core/browser:test_support", |
| 70 "//components/metrics/proto", | 87 "//components/metrics/proto", |
| 71 "//components/strings:components_strings_grit", | 88 "//components/strings:components_strings_grit", |
| 72 "//components/ukm", | 89 "//components/ukm", |
| 73 "//components/ukm:test_support", | 90 "//components/ukm:test_support", |
| 74 "//testing/gmock", | 91 "//testing/gmock", |
| 75 "//testing/gtest", | 92 "//testing/gtest", |
| 76 "//third_party/libaddressinput:test_support", | 93 "//third_party/libaddressinput:test_support", |
| 77 "//ui/base", | 94 "//ui/base", |
| 78 ] | 95 ] |
| 79 } | 96 } |
| OLD | NEW |