Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: components/cryptauth/ble/BUILD.gn

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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",
11 "bluetooth_low_energy_connection.cc",
12 "bluetooth_low_energy_connection.h",
13 "bluetooth_low_energy_connection_finder.cc",
14 "bluetooth_low_energy_connection_finder.h",
15 "bluetooth_low_energy_device_whitelist.cc",
16 "bluetooth_low_energy_device_whitelist.h",
17 "bluetooth_low_energy_weave_client_connection.cc", 11 "bluetooth_low_energy_weave_client_connection.cc",
18 "bluetooth_low_energy_weave_client_connection.h", 12 "bluetooth_low_energy_weave_client_connection.h",
19 "bluetooth_low_energy_weave_defines.h", 13 "bluetooth_low_energy_weave_defines.h",
20 "bluetooth_low_energy_weave_packet_generator.cc", 14 "bluetooth_low_energy_weave_packet_generator.cc",
21 "bluetooth_low_energy_weave_packet_generator.h", 15 "bluetooth_low_energy_weave_packet_generator.h",
22 "bluetooth_low_energy_weave_packet_receiver.cc", 16 "bluetooth_low_energy_weave_packet_receiver.cc",
23 "bluetooth_low_energy_weave_packet_receiver.h", 17 "bluetooth_low_energy_weave_packet_receiver.h",
24 "fake_wire_message.cc", 18 "fake_wire_message.cc",
25 "fake_wire_message.h", 19 "fake_wire_message.h",
26 "pref_names.cc",
27 "pref_names.h",
28 "remote_attribute.h", 20 "remote_attribute.h",
29 ] 21 ]
30 22
31 deps = [ 23 deps = [
32 "//base", 24 "//base",
33 "//components/cryptauth", 25
26 # TODO (hansberry): This component has a circular dependency
27 # with the root cryptauth target. It is whitelisted in that target for
28 # includes.
29 # "//components/cryptauth",
34 "//components/prefs", 30 "//components/prefs",
35 "//components/proximity_auth/logging", 31 "//components/proximity_auth/logging",
36
37 # TODO(https://crbug.com/562683): This component has a circular dependency
38 # with the root proximity auth target. It is whitelisted in that target for
39 # includes.
40 #"//components/proximity_auth",
41 "//device/bluetooth", 32 "//device/bluetooth",
42 "//net", 33 "//net",
43 ] 34 ]
44 35
45 public_deps = [ 36 public_deps = [
46 "//components/cryptauth/proto", 37 "//components/cryptauth/proto",
47 ] 38 ]
48 } 39 }
49 40
50 source_set("unit_tests") { 41 source_set("unit_tests") {
51 testonly = true 42 testonly = true
52 sources = [ 43 sources = [
53 "bluetooth_low_energy_characteristics_finder_unittest.cc", 44 "bluetooth_low_energy_characteristics_finder_unittest.cc",
54 "bluetooth_low_energy_connection_finder_unittest.cc",
55 "bluetooth_low_energy_connection_unittest.cc",
56 "bluetooth_low_energy_device_whitelist_unittest.cc",
57 "bluetooth_low_energy_weave_client_connection_unittest.cc", 45 "bluetooth_low_energy_weave_client_connection_unittest.cc",
58 "bluetooth_low_energy_weave_packet_generator_unittest.cc", 46 "bluetooth_low_energy_weave_packet_generator_unittest.cc",
59 "bluetooth_low_energy_weave_packet_receiver_unittest.cc", 47 "bluetooth_low_energy_weave_packet_receiver_unittest.cc",
60 ] 48 ]
61 49
62 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 50 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
63 51
64 deps = [ 52 deps = [
65 ":ble", 53 ":ble",
66 "//base/test:test_support", 54 "//base/test:test_support",
67 "//components/cryptauth", 55 "//components/cryptauth",
68 "//components/prefs:test_support", 56 "//components/prefs:test_support",
69 "//components/proximity_auth:test_support", 57 "//components/proximity_auth:test_support",
70 "//device/bluetooth:mocks", 58 "//device/bluetooth:mocks",
71 "//testing/gmock", 59 "//testing/gmock",
72 "//testing/gtest", 60 "//testing/gtest",
73 ] 61 ]
74 62
75 public_deps = [ 63 public_deps = [
76 "//components/cryptauth/proto", 64 "//components/cryptauth/proto",
77 ] 65 ]
78 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698