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