| 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 source_set("proximity_auth") { | 5 source_set("proximity_auth") { |
| 6 sources = [ | 6 sources = [ |
| 7 "bluetooth_connection.cc", | 7 "bluetooth_connection.cc", |
| 8 "bluetooth_connection.h", | 8 "bluetooth_connection.h", |
| 9 "bluetooth_util.cc", | 9 "bluetooth_util.cc", |
| 10 "bluetooth_util_chromeos.cc", | 10 "bluetooth_util_chromeos.cc", |
| 11 "bluetooth_util.h", | 11 "bluetooth_util.h", |
| 12 "connection.cc", | 12 "connection.cc", |
| 13 "connection.h", | 13 "connection.h", |
| 14 "connection_observer.h", | 14 "connection_observer.h", |
| 15 "proximity_auth_system.cc", | 15 "proximity_auth_system.cc", |
| 16 "proximity_auth_system.h", | 16 "proximity_auth_system.h", |
| 17 "remote_device.h", | 17 "remote_device.h", |
| 18 "remote_status_update.cc", |
| 19 "remote_status_update.h", |
| 18 "wire_message.cc", | 20 "wire_message.cc", |
| 19 "wire_message.h", | 21 "wire_message.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 deps = [ | 24 deps = [ |
| 23 "//base", | 25 "//base", |
| 24 "//device/bluetooth", | 26 "//device/bluetooth", |
| 25 "//net", | 27 "//net", |
| 26 ] | 28 ] |
| 27 } | 29 } |
| 28 | 30 |
| 29 source_set("unit_tests") { | 31 source_set("unit_tests") { |
| 30 testonly = true | 32 testonly = true |
| 31 sources = [ | 33 sources = [ |
| 32 "bluetooth_connection_unittest.cc", | 34 "bluetooth_connection_unittest.cc", |
| 33 "connection_unittest.cc", | 35 "connection_unittest.cc", |
| 34 "proximity_auth_system_unittest.cc", | 36 "proximity_auth_system_unittest.cc", |
| 37 "remote_status_update_unittest.cc", |
| 35 "wire_message_unittest.cc", | 38 "wire_message_unittest.cc", |
| 36 ] | 39 ] |
| 37 | 40 |
| 38 deps = [ | 41 deps = [ |
| 39 ":proximity_auth", | 42 ":proximity_auth", |
| 40 "cryptauth:unit_tests", | 43 "cryptauth:unit_tests", |
| 41 "//base/test:test_support", | 44 "//base/test:test_support", |
| 42 "//device/bluetooth:mocks", | 45 "//device/bluetooth:mocks", |
| 43 "//testing/gmock", | 46 "//testing/gmock", |
| 44 "//testing/gtest", | 47 "//testing/gtest", |
| 45 ] | 48 ] |
| 46 } | 49 } |
| 47 | 50 |
| 48 # Note: This is a convenience target for ease of rapid iteration during | 51 # Note: This is a convenience target for ease of rapid iteration during |
| 49 # development. It is not executed on any try or build bots. | 52 # development. It is not executed on any try or build bots. |
| 50 test("proximity_auth_unittests") { | 53 test("proximity_auth_unittests") { |
| 51 sources = [ | 54 sources = [ |
| 52 "run_all_unittests.cc", | 55 "run_all_unittests.cc", |
| 53 ] | 56 ] |
| 54 | 57 |
| 55 deps = [ | 58 deps = [ |
| 56 ":unit_tests", | 59 ":unit_tests", |
| 57 ] | 60 ] |
| 58 } | 61 } |
| OLD | NEW |