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") |
| 6 |
5 source_set("ble") { | 7 source_set("ble") { |
6 sources = [ | 8 sources = [ |
7 "bluetooth_low_energy_connection.cc", | 9 "bluetooth_low_energy_connection.cc", |
8 "bluetooth_low_energy_connection.h", | 10 "bluetooth_low_energy_connection.h", |
9 "bluetooth_low_energy_connection_finder.cc", | 11 "bluetooth_low_energy_connection_finder.cc", |
10 "bluetooth_low_energy_connection_finder.h", | 12 "bluetooth_low_energy_connection_finder.h", |
11 "fake_wire_message.cc", | 13 "fake_wire_message.cc", |
12 "fake_wire_message.h", | 14 "fake_wire_message.h", |
13 "proximity_auth_ble_system.cc", | 15 "proximity_auth_ble_system.cc", |
14 "proximity_auth_ble_system.h", | 16 "proximity_auth_ble_system.h", |
15 ] | 17 ] |
16 | 18 |
17 deps = [ | 19 deps = [ |
18 "//base", | 20 "//base", |
19 "//components/proximity_auth", | 21 "//components/proximity_auth", |
20 "//device/bluetooth", | 22 "//device/bluetooth", |
21 "//net", | 23 "//net", |
22 ] | 24 ] |
23 } | 25 } |
| 26 |
| 27 source_set("unit_tests") { |
| 28 testonly = true |
| 29 sources = [ |
| 30 "bluetooth_low_energy_connection_finder_unittest.cc", |
| 31 ] |
| 32 |
| 33 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 34 |
| 35 deps = [ |
| 36 ":ble", |
| 37 "//components/proximity_auth", |
| 38 "//base/test:test_support", |
| 39 "//device/bluetooth:mocks", |
| 40 "//testing/gmock", |
| 41 "//testing/gtest", |
| 42 ] |
| 43 } |
OLD | NEW |