Index: components/proximity_auth/ble/BUILD.gn |
diff --git a/components/proximity_auth/ble/BUILD.gn b/components/proximity_auth/ble/BUILD.gn |
index 8375506623696741221b02f55adc034a13d61c56..4641f5ab74f321b5715362dd4aa9ad9cdf0ca18d 100644 |
--- a/components/proximity_auth/ble/BUILD.gn |
+++ b/components/proximity_auth/ble/BUILD.gn |
@@ -6,31 +6,20 @@ import("//testing/test.gni") |
static_library("ble") { |
sources = [ |
- "bluetooth_low_energy_characteristics_finder.cc", |
- "bluetooth_low_energy_characteristics_finder.h", |
"bluetooth_low_energy_connection.cc", |
"bluetooth_low_energy_connection.h", |
"bluetooth_low_energy_connection_finder.cc", |
"bluetooth_low_energy_connection_finder.h", |
"bluetooth_low_energy_device_whitelist.cc", |
"bluetooth_low_energy_device_whitelist.h", |
- "bluetooth_low_energy_weave_client_connection.cc", |
- "bluetooth_low_energy_weave_client_connection.h", |
- "bluetooth_low_energy_weave_defines.h", |
- "bluetooth_low_energy_weave_packet_generator.cc", |
- "bluetooth_low_energy_weave_packet_generator.h", |
- "bluetooth_low_energy_weave_packet_receiver.cc", |
- "bluetooth_low_energy_weave_packet_receiver.h", |
- "fake_wire_message.cc", |
- "fake_wire_message.h", |
"pref_names.cc", |
"pref_names.h", |
- "remote_attribute.h", |
] |
deps = [ |
"//base", |
"//components/cryptauth", |
+ "//components/cryptauth/ble", |
"//components/prefs", |
"//components/proximity_auth/logging", |
@@ -50,13 +39,9 @@ static_library("ble") { |
source_set("unit_tests") { |
testonly = true |
sources = [ |
- "bluetooth_low_energy_characteristics_finder_unittest.cc", |
"bluetooth_low_energy_connection_finder_unittest.cc", |
"bluetooth_low_energy_connection_unittest.cc", |
"bluetooth_low_energy_device_whitelist_unittest.cc", |
- "bluetooth_low_energy_weave_client_connection_unittest.cc", |
- "bluetooth_low_energy_weave_packet_generator_unittest.cc", |
- "bluetooth_low_energy_weave_packet_receiver_unittest.cc", |
] |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
@@ -65,6 +50,8 @@ source_set("unit_tests") { |
":ble", |
"//base/test:test_support", |
"//components/cryptauth", |
+ "//components/cryptauth:test_support", |
+ "//components/cryptauth/ble:ble", |
"//components/prefs:test_support", |
"//components/proximity_auth:test_support", |
"//device/bluetooth:mocks", |