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