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

Side by Side Diff: components/proximity_auth/BUILD.gn

Issue 1351473003: Refactor fake Connection subclasses in proximity_auth/ tests to a single file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_rename
Patch Set: rebase Created 5 years, 3 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
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 source_set("proximity_auth") { 7 source_set("proximity_auth") {
8 sources = [ 8 sources = [
9 "authenticator.h", 9 "authenticator.h",
10 "bluetooth_connection.cc", 10 "bluetooth_connection.cc",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "//net", 71 "//net",
72 ] 72 ]
73 } 73 }
74 74
75 source_set("test_support") { 75 source_set("test_support") {
76 testonly = true 76 testonly = true
77 77
78 sources = [ 78 sources = [
79 "device_to_device_responder_operations.cc", 79 "device_to_device_responder_operations.cc",
80 "device_to_device_responder_operations.h", 80 "device_to_device_responder_operations.h",
81 "fake_connection.cc",
82 "fake_connection.h",
81 "mock_proximity_auth_client.cc", 83 "mock_proximity_auth_client.cc",
82 "mock_proximity_auth_client.h", 84 "mock_proximity_auth_client.h",
83 ] 85 ]
84 86
85 deps = [ 87 deps = [
86 "cryptauth:test_support", 88 "cryptauth:test_support",
87 "//base", 89 "//base",
88 "//testing/gmock", 90 "//testing/gmock",
89 ] 91 ]
90 } 92 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 # Note: This is a convenience target for ease of rapid iteration during 130 # Note: This is a convenience target for ease of rapid iteration during
129 # development. It is not executed on any try or build bots. 131 # development. It is not executed on any try or build bots.
130 test("proximity_auth_unittests") { 132 test("proximity_auth_unittests") {
131 sources = [ 133 sources = [
132 "run_all_unittests.cc", 134 "run_all_unittests.cc",
133 ] 135 ]
134 deps = [ 136 deps = [
135 ":unit_tests", 137 ":unit_tests",
136 ] 138 ]
137 } 139 }
OLDNEW
« no previous file with comments | « components/proximity_auth.gypi ('k') | components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698