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