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