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

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

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

Powered by Google App Engine
This is Rietveld 408576698