| 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 static_library("ble") { | 7 static_library("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", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 # TODO(https://crbug.com/562683): This component has a circular dependency | 36 # TODO(https://crbug.com/562683): This component has a circular dependency |
| 37 # with the root proximity auth target. It is whitelisted in that target for | 37 # with the root proximity auth target. It is whitelisted in that target for |
| 38 # includes. | 38 # includes. |
| 39 #"//components/proximity_auth", | 39 #"//components/proximity_auth", |
| 40 "//device/bluetooth", | 40 "//device/bluetooth", |
| 41 "//net", | 41 "//net", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 public_deps = [ | 44 public_deps = [ |
| 45 "//components/proximity_auth/cryptauth/proto", | 45 "//components/cryptauth/proto", |
| 46 ] | 46 ] |
| 47 } | 47 } |
| 48 | 48 |
| 49 source_set("unit_tests") { | 49 source_set("unit_tests") { |
| 50 testonly = true | 50 testonly = true |
| 51 sources = [ | 51 sources = [ |
| 52 "bluetooth_low_energy_characteristics_finder_unittest.cc", | 52 "bluetooth_low_energy_characteristics_finder_unittest.cc", |
| 53 "bluetooth_low_energy_connection_finder_unittest.cc", | 53 "bluetooth_low_energy_connection_finder_unittest.cc", |
| 54 "bluetooth_low_energy_connection_unittest.cc", | 54 "bluetooth_low_energy_connection_unittest.cc", |
| 55 "bluetooth_low_energy_device_whitelist_unittest.cc", | 55 "bluetooth_low_energy_device_whitelist_unittest.cc", |
| 56 "bluetooth_low_energy_weave_client_connection_unittest.cc", | 56 "bluetooth_low_energy_weave_client_connection_unittest.cc", |
| 57 "bluetooth_low_energy_weave_packet_generator_unittest.cc", | 57 "bluetooth_low_energy_weave_packet_generator_unittest.cc", |
| 58 "bluetooth_low_energy_weave_packet_receiver_unittest.cc", | 58 "bluetooth_low_energy_weave_packet_receiver_unittest.cc", |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 61 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 62 | 62 |
| 63 deps = [ | 63 deps = [ |
| 64 ":ble", | 64 ":ble", |
| 65 "//base/test:test_support", | 65 "//base/test:test_support", |
| 66 "//components/prefs:test_support", | 66 "//components/prefs:test_support", |
| 67 "//components/proximity_auth:test_support", | 67 "//components/proximity_auth:test_support", |
| 68 "//device/bluetooth:mocks", | 68 "//device/bluetooth:mocks", |
| 69 "//testing/gmock", | 69 "//testing/gmock", |
| 70 "//testing/gtest", | 70 "//testing/gtest", |
| 71 ] | 71 ] |
| 72 | 72 |
| 73 public_deps = [ | 73 public_deps = [ |
| 74 "//components/proximity_auth/cryptauth/proto", | 74 "//components/cryptauth/proto", |
| 75 ] | 75 ] |
| 76 } | 76 } |
| OLD | NEW |