| 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 "fake_wire_message.cc", | 17 "fake_wire_message.cc", |
| 18 "fake_wire_message.h", | 18 "fake_wire_message.h", |
| 19 "pref_names.cc", | 19 "pref_names.cc", |
| 20 "pref_names.h", | 20 "pref_names.h", |
| 21 "remote_attribute.h", | 21 "remote_attribute.h", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 deps = [ | 24 deps = [ |
| 25 "//base", | 25 "//base", |
| 26 "//base:prefs", | 26 "//components/prefs", |
| 27 "//components/proximity_auth/logging", | 27 "//components/proximity_auth/logging", |
| 28 | 28 |
| 29 # TODO(https://crbug.com/562683): This component has a circular dependency | 29 # TODO(https://crbug.com/562683): This component has a circular dependency |
| 30 # with the root proximity auth target. It is whitelisted in that target for | 30 # with the root proximity auth target. It is whitelisted in that target for |
| 31 # includes. | 31 # includes. |
| 32 #"//components/proximity_auth", | 32 #"//components/proximity_auth", |
| 33 "//device/bluetooth", | 33 "//device/bluetooth", |
| 34 "//net", | 34 "//net", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 public_deps = [ | 37 public_deps = [ |
| 38 "//components/proximity_auth/cryptauth/proto", | 38 "//components/proximity_auth/cryptauth/proto", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 source_set("unit_tests") { | 42 source_set("unit_tests") { |
| 43 testonly = true | 43 testonly = true |
| 44 sources = [ | 44 sources = [ |
| 45 "bluetooth_low_energy_characteristics_finder_unittest.cc", | 45 "bluetooth_low_energy_characteristics_finder_unittest.cc", |
| 46 "bluetooth_low_energy_connection_finder_unittest.cc", | 46 "bluetooth_low_energy_connection_finder_unittest.cc", |
| 47 "bluetooth_low_energy_connection_unittest.cc", | 47 "bluetooth_low_energy_connection_unittest.cc", |
| 48 "bluetooth_low_energy_device_whitelist_unittest.cc", | 48 "bluetooth_low_energy_device_whitelist_unittest.cc", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 51 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 52 | 52 |
| 53 deps = [ | 53 deps = [ |
| 54 ":ble", | 54 ":ble", |
| 55 "//base:prefs_test_support", | |
| 56 "//base/test:test_support", | 55 "//base/test:test_support", |
| 56 "//components/prefs:test_support", |
| 57 "//components/proximity_auth:test_support", | 57 "//components/proximity_auth:test_support", |
| 58 "//device/bluetooth:mocks", | 58 "//device/bluetooth:mocks", |
| 59 "//testing/gmock", | 59 "//testing/gmock", |
| 60 "//testing/gtest", | 60 "//testing/gtest", |
| 61 ] | 61 ] |
| 62 | 62 |
| 63 public_deps = [ | 63 public_deps = [ |
| 64 "//components/proximity_auth/cryptauth/proto", | 64 "//components/proximity_auth/cryptauth/proto", |
| 65 ] | 65 ] |
| 66 } | 66 } |
| OLD | NEW |