OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 # GYP version: components/autofill.gypi:autofill_content_browser | 7 # GYP version: components/autofill.gypi:autofill_content_browser |
8 static_library("browser") { | 8 static_library("browser") { |
9 sources = [ | 9 sources = [ |
10 "content_autofill_driver.cc", | 10 "content_autofill_driver.cc", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 } | 71 } |
72 | 72 |
73 proto_library("risk_proto") { | 73 proto_library("risk_proto") { |
74 sources = [ | 74 sources = [ |
75 "risk/proto/fingerprint.proto", | 75 "risk/proto/fingerprint.proto", |
76 ] | 76 ] |
77 proto_out_dir = "components/autofill/content/browser/risk/proto" | 77 proto_out_dir = "components/autofill/content/browser/risk/proto" |
78 } | 78 } |
79 | 79 |
80 static_library("test_support") { | 80 static_library("test_support") { |
| 81 testonly = true |
81 sources = [ | 82 sources = [ |
82 "wallet/mock_wallet_client.cc", | 83 "wallet/mock_wallet_client.cc", |
83 "wallet/mock_wallet_client.h", | 84 "wallet/mock_wallet_client.h", |
84 "wallet/wallet_test_util.cc", | 85 "wallet/wallet_test_util.cc", |
85 "wallet/wallet_test_util.h", | 86 "wallet/wallet_test_util.h", |
86 ] | 87 ] |
87 | 88 |
88 deps = [ | 89 deps = [ |
89 "//testing/gmock", | 90 "//testing/gmock", |
90 ] | 91 ] |
91 } | 92 } |
92 | 93 |
93 source_set("unit_tests") { | 94 source_set("unit_tests") { |
| 95 testonly = true |
94 sources = [ | 96 sources = [ |
95 "content_autofill_driver_unittest.cc", | 97 "content_autofill_driver_unittest.cc", |
96 "request_autocomplete_manager_unittest.cc", | 98 "request_autocomplete_manager_unittest.cc", |
97 "wallet/full_wallet_unittest.cc", | 99 "wallet/full_wallet_unittest.cc", |
98 "wallet/instrument_unittest.cc", | 100 "wallet/instrument_unittest.cc", |
99 "wallet/wallet_address_unittest.cc", | 101 "wallet/wallet_address_unittest.cc", |
100 "wallet/wallet_client_unittest.cc", | 102 "wallet/wallet_client_unittest.cc", |
101 "wallet/wallet_items_unittest.cc", | 103 "wallet/wallet_items_unittest.cc", |
102 "wallet/wallet_service_url_unittest.cc", | 104 "wallet/wallet_service_url_unittest.cc", |
103 "wallet/wallet_signin_helper_unittest.cc", | 105 "wallet/wallet_signin_helper_unittest.cc", |
104 ] | 106 ] |
105 | 107 |
106 deps = [ | 108 deps = [ |
107 ":browser", | 109 ":browser", |
108 ":test_support", | 110 ":test_support", |
109 "//testing/gmock", | 111 "//testing/gmock", |
110 "//testing/gtest", | 112 "//testing/gtest", |
111 ] | 113 ] |
112 } | 114 } |
OLD | NEW |