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