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

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

Issue 1356943004: Add RemoteDeviceLoader to create RemoteDevice from CryptAuth data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui
Patch Set: move RemoteDevice creation in tests to util function Created 5 years, 2 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 29 matching lines...) Expand all
40 "proximity_auth_system.h", 40 "proximity_auth_system.h",
41 "proximity_monitor.h", 41 "proximity_monitor.h",
42 "proximity_monitor_impl.cc", 42 "proximity_monitor_impl.cc",
43 "proximity_monitor_impl.h", 43 "proximity_monitor_impl.h",
44 "proximity_monitor_observer.h", 44 "proximity_monitor_observer.h",
45 "remote_device.cc", 45 "remote_device.cc",
46 "remote_device.h", 46 "remote_device.h",
47 "remote_device_life_cycle.h", 47 "remote_device_life_cycle.h",
48 "remote_device_life_cycle_impl.cc", 48 "remote_device_life_cycle_impl.cc",
49 "remote_device_life_cycle_impl.h", 49 "remote_device_life_cycle_impl.h",
50 "remote_device_loader.cc",
51 "remote_device_loader.h",
50 "remote_status_update.cc", 52 "remote_status_update.cc",
51 "remote_status_update.h", 53 "remote_status_update.h",
52 "screenlock_bridge.cc", 54 "screenlock_bridge.cc",
53 "screenlock_bridge.h", 55 "screenlock_bridge.h",
54 "screenlock_state.h", 56 "screenlock_state.h",
55 "secure_context.h", 57 "secure_context.h",
56 "switches.cc", 58 "switches.cc",
57 "switches.h", 59 "switches.h",
58 "throttled_bluetooth_connection_finder.cc", 60 "throttled_bluetooth_connection_finder.cc",
59 "throttled_bluetooth_connection_finder.h", 61 "throttled_bluetooth_connection_finder.h",
(...skipping 15 matching lines...) Expand all
75 source_set("test_support") { 77 source_set("test_support") {
76 testonly = true 78 testonly = true
77 79
78 sources = [ 80 sources = [
79 "device_to_device_responder_operations.cc", 81 "device_to_device_responder_operations.cc",
80 "device_to_device_responder_operations.h", 82 "device_to_device_responder_operations.h",
81 "fake_connection.cc", 83 "fake_connection.cc",
82 "fake_connection.h", 84 "fake_connection.h",
83 "mock_proximity_auth_client.cc", 85 "mock_proximity_auth_client.cc",
84 "mock_proximity_auth_client.h", 86 "mock_proximity_auth_client.h",
87 "proximity_auth_test_util.cc",
88 "proximity_auth_test_util.h",
85 ] 89 ]
86 90
87 deps = [ 91 deps = [
88 "cryptauth:test_support", 92 "cryptauth:test_support",
89 "//base", 93 "//base",
90 "//testing/gmock", 94 "//testing/gmock",
91 ] 95 ]
92 } 96 }
93 97
94 source_set("unit_tests") { 98 source_set("unit_tests") {
95 testonly = true 99 testonly = true
96 sources = [ 100 sources = [
97 "bluetooth_connection_finder_unittest.cc", 101 "bluetooth_connection_finder_unittest.cc",
98 "bluetooth_connection_unittest.cc", 102 "bluetooth_connection_unittest.cc",
99 "bluetooth_throttler_impl_unittest.cc", 103 "bluetooth_throttler_impl_unittest.cc",
100 "connection_unittest.cc", 104 "connection_unittest.cc",
101 "device_to_device_authenticator_unittest.cc", 105 "device_to_device_authenticator_unittest.cc",
102 "device_to_device_operations_unittest.cc", 106 "device_to_device_operations_unittest.cc",
103 "device_to_device_secure_context_unittest.cc", 107 "device_to_device_secure_context_unittest.cc",
104 "messenger_impl_unittest.cc", 108 "messenger_impl_unittest.cc",
105 "proximity_auth_system_unittest.cc", 109 "proximity_auth_system_unittest.cc",
106 "proximity_monitor_impl_unittest.cc", 110 "proximity_monitor_impl_unittest.cc",
107 "remote_device_life_cycle_impl_unittest.cc", 111 "remote_device_life_cycle_impl_unittest.cc",
112 "remote_device_loader_unittest.cc",
108 "remote_status_update_unittest.cc", 113 "remote_status_update_unittest.cc",
109 "throttled_bluetooth_connection_finder_unittest.cc", 114 "throttled_bluetooth_connection_finder_unittest.cc",
110 "unlock_manager_unittest.cc", 115 "unlock_manager_unittest.cc",
111 "wire_message_unittest.cc", 116 "wire_message_unittest.cc",
112 ] 117 ]
113 118
114 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 119 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
115 120
116 deps = [ 121 deps = [
117 ":proximity_auth", 122 ":proximity_auth",
(...skipping 12 matching lines...) Expand all
130 # Note: This is a convenience target for ease of rapid iteration during 135 # Note: This is a convenience target for ease of rapid iteration during
131 # development. It is not executed on any try or build bots. 136 # development. It is not executed on any try or build bots.
132 test("proximity_auth_unittests") { 137 test("proximity_auth_unittests") {
133 sources = [ 138 sources = [
134 "run_all_unittests.cc", 139 "run_all_unittests.cc",
135 ] 140 ]
136 deps = [ 141 deps = [
137 ":unit_tests", 142 ":unit_tests",
138 ] 143 ]
139 } 144 }
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