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