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("ble") { | 7 source_set("ble") { |
8 sources = [ | 8 sources = [ |
9 "bluetooth_low_energy_characteristics_finder.cc", | 9 "bluetooth_low_energy_characteristics_finder.cc", |
10 "bluetooth_low_energy_characteristics_finder.h", | 10 "bluetooth_low_energy_characteristics_finder.h", |
11 "bluetooth_low_energy_connection.cc", | 11 "bluetooth_low_energy_connection.cc", |
12 "bluetooth_low_energy_connection.h", | 12 "bluetooth_low_energy_connection.h", |
13 "bluetooth_low_energy_connection_finder.cc", | 13 "bluetooth_low_energy_connection_finder.cc", |
14 "bluetooth_low_energy_connection_finder.h", | 14 "bluetooth_low_energy_connection_finder.h", |
15 "bluetooth_low_energy_device_whitelist.cc", | 15 "bluetooth_low_energy_device_whitelist.cc", |
16 "bluetooth_low_energy_device_whitelist.h", | 16 "bluetooth_low_energy_device_whitelist.h", |
| 17 "bluetooth_low_energy_weave_client_connection.cc", |
| 18 "bluetooth_low_energy_weave_client_connection.h", |
17 "bluetooth_low_energy_weave_packet_generator.cc", | 19 "bluetooth_low_energy_weave_packet_generator.cc", |
18 "bluetooth_low_energy_weave_packet_generator.h", | 20 "bluetooth_low_energy_weave_packet_generator.h", |
| 21 "bluetooth_low_energy_weave_packet_receiver.cc", |
| 22 "bluetooth_low_energy_weave_packet_receiver.h", |
19 "fake_wire_message.cc", | 23 "fake_wire_message.cc", |
20 "fake_wire_message.h", | 24 "fake_wire_message.h", |
21 "pref_names.cc", | 25 "pref_names.cc", |
22 "pref_names.h", | 26 "pref_names.h", |
23 "remote_attribute.h", | 27 "remote_attribute.h", |
24 ] | 28 ] |
25 | 29 |
26 deps = [ | 30 deps = [ |
27 "//base", | 31 "//base", |
28 "//components/prefs", | 32 "//components/prefs", |
(...skipping 12 matching lines...) Expand all Loading... |
41 ] | 45 ] |
42 } | 46 } |
43 | 47 |
44 source_set("unit_tests") { | 48 source_set("unit_tests") { |
45 testonly = true | 49 testonly = true |
46 sources = [ | 50 sources = [ |
47 "bluetooth_low_energy_characteristics_finder_unittest.cc", | 51 "bluetooth_low_energy_characteristics_finder_unittest.cc", |
48 "bluetooth_low_energy_connection_finder_unittest.cc", | 52 "bluetooth_low_energy_connection_finder_unittest.cc", |
49 "bluetooth_low_energy_connection_unittest.cc", | 53 "bluetooth_low_energy_connection_unittest.cc", |
50 "bluetooth_low_energy_device_whitelist_unittest.cc", | 54 "bluetooth_low_energy_device_whitelist_unittest.cc", |
| 55 "bluetooth_low_energy_weave_client_connection_unittest.cc", |
51 "bluetooth_low_energy_weave_packet_generator_unittest.cc", | 56 "bluetooth_low_energy_weave_packet_generator_unittest.cc", |
| 57 "bluetooth_low_energy_weave_packet_receiver_unittest.cc", |
52 ] | 58 ] |
53 | 59 |
54 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 60 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
55 | 61 |
56 deps = [ | 62 deps = [ |
57 ":ble", | 63 ":ble", |
58 "//base/test:test_support", | 64 "//base/test:test_support", |
59 "//components/prefs:test_support", | 65 "//components/prefs:test_support", |
60 "//components/proximity_auth:test_support", | 66 "//components/proximity_auth:test_support", |
61 "//device/bluetooth:mocks", | 67 "//device/bluetooth:mocks", |
62 "//testing/gmock", | 68 "//testing/gmock", |
63 "//testing/gtest", | 69 "//testing/gtest", |
64 ] | 70 ] |
65 | 71 |
66 public_deps = [ | 72 public_deps = [ |
67 "//components/proximity_auth/cryptauth/proto", | 73 "//components/proximity_auth/cryptauth/proto", |
68 ] | 74 ] |
69 } | 75 } |
OLD | NEW |