Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: components/autofill/content/browser/BUILD.gn

Issue 398423007: Add initial components unit tests to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "//sql", 57 "//sql",
58 "//third_party/icu", 58 "//third_party/icu",
59 "//third_party/libphonenumber", 59 "//third_party/libphonenumber",
60 "//ui/base", 60 "//ui/base",
61 "//ui/gfx", 61 "//ui/gfx",
62 "//ui/gfx/geometry", 62 "//ui/gfx/geometry",
63 "//url", 63 "//url",
64 #"../third_party/libjingle/libjingle.gyp:libjingle", TODO(GYP) 64 #"../third_party/libjingle/libjingle.gyp:libjingle", TODO(GYP)
65 #"user_prefs", TODO(GYP) 65 #"user_prefs", TODO(GYP)
66 ] 66 ]
67
68 forward_dependent_configs_from = [
69 "//skia",
70 ]
67 } 71 }
68 72
69 proto_library("risk_proto") { 73 proto_library("risk_proto") {
70 sources = [ 74 sources = [
71 "risk/proto/fingerprint.proto", 75 "risk/proto/fingerprint.proto",
72 ] 76 ]
73 proto_out_dir = "components/autofill/content/browser/risk/proto" 77 proto_out_dir = "components/autofill/content/browser/risk/proto"
74 } 78 }
75 79
76 static_library("test_support") { 80 static_library("test_support") {
77 sources = [ 81 sources = [
78 "wallet/mock_wallet_client.cc", 82 "wallet/mock_wallet_client.cc",
79 "wallet/mock_wallet_client.h", 83 "wallet/mock_wallet_client.h",
80 "wallet/wallet_test_util.cc", 84 "wallet/wallet_test_util.cc",
81 "wallet/wallet_test_util.h", 85 "wallet/wallet_test_util.h",
82 ] 86 ]
83 87
84 deps = [ 88 deps = [
85 "//testing/gmock", 89 "//testing/gmock",
86 ] 90 ]
87 } 91 }
92
93 source_set("unit_tests") {
94 sources = [
95 "content_autofill_driver_unittest.cc",
96 "request_autocomplete_manager_unittest.cc",
97 "wallet/full_wallet_unittest.cc",
98 "wallet/instrument_unittest.cc",
99 "wallet/wallet_address_unittest.cc",
100 "wallet/wallet_client_unittest.cc",
101 "wallet/wallet_items_unittest.cc",
102 "wallet/wallet_service_url_unittest.cc",
103 "wallet/wallet_signin_helper_unittest.cc",
104 ]
105
106 deps = [
107 ":browser",
108 ":test_support",
109 "//testing/gmock",
110 "//testing/gtest",
111 ]
112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698