| 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("//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", |
| 11 "bluetooth_connection.h", | 11 "bluetooth_connection.h", |
| 12 "bluetooth_connection_finder.cc", | 12 "bluetooth_connection_finder.cc", |
| 13 "bluetooth_connection_finder.h", | 13 "bluetooth_connection_finder.h", |
| 14 "bluetooth_throttler.h", | 14 "bluetooth_throttler.h", |
| 15 "bluetooth_throttler_impl.cc", | 15 "bluetooth_throttler_impl.cc", |
| 16 "bluetooth_throttler_impl.h", | 16 "bluetooth_throttler_impl.h", |
| 17 "bluetooth_util.cc", | 17 "bluetooth_util.cc", |
| 18 "bluetooth_util.h", | 18 "bluetooth_util.h", |
| 19 "bluetooth_util_chromeos.cc", | 19 "bluetooth_util_chromeos.cc", |
| 20 "client.h", | 20 "client.h", |
| 21 "client_impl.cc", | 21 "client_impl.cc", |
| 22 "client_impl.h", | 22 "client_impl.h", |
| 23 "client_observer.h", | 23 "client_observer.h", |
| 24 "connection.cc", | 24 "connection.cc", |
| 25 "connection.h", | 25 "connection.h", |
| 26 "connection_finder.h", | 26 "connection_finder.h", |
| 27 "connection_observer.h", | 27 "connection_observer.h", |
| 28 "controller.h", |
| 28 "device_to_device_authenticator.cc", | 29 "device_to_device_authenticator.cc", |
| 29 "device_to_device_authenticator.h", | 30 "device_to_device_authenticator.h", |
| 30 "device_to_device_initiator_operations.cc", | 31 "device_to_device_initiator_operations.cc", |
| 31 "device_to_device_initiator_operations.h", | 32 "device_to_device_initiator_operations.h", |
| 32 "device_to_device_secure_context.cc", | 33 "device_to_device_secure_context.cc", |
| 33 "device_to_device_secure_context.h", | 34 "device_to_device_secure_context.h", |
| 34 "metrics.cc", | 35 "metrics.cc", |
| 35 "metrics.h", | 36 "metrics.h", |
| 36 "proximity_auth_client.h", | 37 "proximity_auth_client.h", |
| 37 "proximity_auth_system.cc", | 38 "proximity_auth_system.cc", |
| 38 "proximity_auth_system.h", | 39 "proximity_auth_system.h", |
| 39 "proximity_monitor.h", | 40 "proximity_monitor.h", |
| 40 "proximity_monitor_impl.cc", | 41 "proximity_monitor_impl.cc", |
| 41 "proximity_monitor_impl.h", | 42 "proximity_monitor_impl.h", |
| 42 "proximity_monitor_observer.h", | 43 "proximity_monitor_observer.h", |
| 43 "remote_device.cc", | 44 "remote_device.cc", |
| 44 "remote_device.h", | 45 "remote_device.h", |
| 45 "remote_status_update.cc", | 46 "remote_status_update.cc", |
| 46 "remote_status_update.h", | 47 "remote_status_update.h", |
| 47 "screenlock_bridge.cc", | 48 "screenlock_bridge.cc", |
| 48 "screenlock_bridge.h", | 49 "screenlock_bridge.h", |
| 49 "screenlock_state.h", | 50 "screenlock_state.h", |
| 50 "secure_context.h", | 51 "secure_context.h", |
| 51 "switches.cc", | 52 "switches.cc", |
| 52 "switches.h", | 53 "switches.h", |
| 53 "throttled_bluetooth_connection_finder.cc", | 54 "throttled_bluetooth_connection_finder.cc", |
| 54 "throttled_bluetooth_connection_finder.h", | 55 "throttled_bluetooth_connection_finder.h", |
| 56 "unlock_manager.cc", |
| 57 "unlock_manager.h", |
| 55 "wire_message.cc", | 58 "wire_message.cc", |
| 56 "wire_message.h", | 59 "wire_message.h", |
| 57 ] | 60 ] |
| 58 | 61 |
| 59 deps = [ | 62 deps = [ |
| 60 "cryptauth/proto", | 63 "cryptauth/proto", |
| 61 "logging", | 64 "logging", |
| 62 "//base", | 65 "//base", |
| 63 "//device/bluetooth", | 66 "//device/bluetooth", |
| 64 "//net", | 67 "//net", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 87 "bluetooth_throttler_impl_unittest.cc", | 90 "bluetooth_throttler_impl_unittest.cc", |
| 88 "client_impl_unittest.cc", | 91 "client_impl_unittest.cc", |
| 89 "connection_unittest.cc", | 92 "connection_unittest.cc", |
| 90 "device_to_device_authenticator_unittest.cc", | 93 "device_to_device_authenticator_unittest.cc", |
| 91 "device_to_device_operations_unittest.cc", | 94 "device_to_device_operations_unittest.cc", |
| 92 "device_to_device_secure_context_unittest.cc", | 95 "device_to_device_secure_context_unittest.cc", |
| 93 "proximity_auth_system_unittest.cc", | 96 "proximity_auth_system_unittest.cc", |
| 94 "proximity_monitor_impl_unittest.cc", | 97 "proximity_monitor_impl_unittest.cc", |
| 95 "remote_status_update_unittest.cc", | 98 "remote_status_update_unittest.cc", |
| 96 "throttled_bluetooth_connection_finder_unittest.cc", | 99 "throttled_bluetooth_connection_finder_unittest.cc", |
| 100 "unlock_manager_unittest.cc", |
| 97 "wire_message_unittest.cc", | 101 "wire_message_unittest.cc", |
| 98 ] | 102 ] |
| 99 | 103 |
| 100 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 104 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 101 | 105 |
| 102 deps = [ | 106 deps = [ |
| 103 ":proximity_auth", | 107 ":proximity_auth", |
| 104 ":test_support", | 108 ":test_support", |
| 105 "ble:unit_tests", | 109 "ble:unit_tests", |
| 106 "cryptauth:test_support", | 110 "cryptauth:test_support", |
| 107 "cryptauth:unit_tests", | 111 "cryptauth:unit_tests", |
| 108 "logging:unit_tests", | 112 "logging:unit_tests", |
| 109 "//base/test:test_support", | 113 "//base/test:test_support", |
| 110 "//device/bluetooth:mocks", | 114 "//device/bluetooth:mocks", |
| 111 "//testing/gmock", | 115 "//testing/gmock", |
| 112 "//testing/gtest", | 116 "//testing/gtest", |
| 113 ] | 117 ] |
| 114 } | 118 } |
| 115 | 119 |
| 116 # Note: This is a convenience target for ease of rapid iteration during | 120 # Note: This is a convenience target for ease of rapid iteration during |
| 117 # development. It is not executed on any try or build bots. | 121 # development. It is not executed on any try or build bots. |
| 118 test("proximity_auth_unittests") { | 122 test("proximity_auth_unittests") { |
| 119 sources = [ | 123 sources = [ |
| 120 "run_all_unittests.cc", | 124 "run_all_unittests.cc", |
| 121 ] | 125 ] |
| 122 deps = [ | 126 deps = [ |
| 123 ":unit_tests", | 127 ":unit_tests", |
| 124 ] | 128 ] |
| 125 } | 129 } |
| OLD | NEW |