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

Side by Side Diff: chromeos/components/tether/BUILD.gn

Issue 2741253002: [CrOS Tether] Create KeepAliveScheduler, a class which schedules keep-alive tickles to be sent to a… (Closed)
Patch Set: Add missing dependency. Created 3 years, 9 months 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
« no previous file with comments | « no previous file | chromeos/components/tether/active_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") 5 assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
6 6
7 static_library("tether") { 7 static_library("tether") {
8 sources = [ 8 sources = [
9 "active_host.cc", 9 "active_host.cc",
10 "active_host.h", 10 "active_host.h",
(...skipping 14 matching lines...) Expand all
25 "host_scan_scheduler.cc", 25 "host_scan_scheduler.cc",
26 "host_scan_scheduler.h", 26 "host_scan_scheduler.h",
27 "host_scanner.cc", 27 "host_scanner.cc",
28 "host_scanner.h", 28 "host_scanner.h",
29 "host_scanner_operation.cc", 29 "host_scanner_operation.cc",
30 "host_scanner_operation.h", 30 "host_scanner_operation.h",
31 "initializer.cc", 31 "initializer.cc",
32 "initializer.h", 32 "initializer.h",
33 "keep_alive_operation.cc", 33 "keep_alive_operation.cc",
34 "keep_alive_operation.h", 34 "keep_alive_operation.h",
35 "keep_alive_scheduler.cc",
36 "keep_alive_scheduler.h",
35 "local_device_data_provider.cc", 37 "local_device_data_provider.cc",
36 "local_device_data_provider.h", 38 "local_device_data_provider.h",
37 "message_transfer_operation.cc", 39 "message_transfer_operation.cc",
38 "message_transfer_operation.h", 40 "message_transfer_operation.h",
39 "message_wrapper.cc", 41 "message_wrapper.cc",
40 "message_wrapper.h", 42 "message_wrapper.h",
41 "pref_names.cc", 43 "pref_names.cc",
42 "pref_names.h", 44 "pref_names.h",
43 "tether_host_fetcher.cc", 45 "tether_host_fetcher.cc",
44 "tether_host_fetcher.h", 46 "tether_host_fetcher.h",
(...skipping 12 matching lines...) Expand all
57 59
58 public_deps = [ 60 public_deps = [
59 "//components/cryptauth/proto", 61 "//components/cryptauth/proto",
60 ] 62 ]
61 } 63 }
62 64
63 static_library("test_support") { 65 static_library("test_support") {
64 testonly = true 66 testonly = true
65 67
66 sources = [ 68 sources = [
69 "fake_active_host.cc",
70 "fake_active_host.h",
67 "fake_ble_connection_manager.cc", 71 "fake_ble_connection_manager.cc",
68 "fake_ble_connection_manager.h", 72 "fake_ble_connection_manager.h",
69 "fake_tether_host_fetcher.cc", 73 "fake_tether_host_fetcher.cc",
70 "fake_tether_host_fetcher.h", 74 "fake_tether_host_fetcher.h",
71 "mock_local_device_data_provider.cc", 75 "mock_local_device_data_provider.cc",
72 "mock_local_device_data_provider.h", 76 "mock_local_device_data_provider.h",
73 ] 77 ]
74 78
75 public_deps = [ 79 public_deps = [
76 ":tether", 80 ":tether",
77 ] 81 ]
78 82
79 deps = [ 83 deps = [
80 "//base", 84 "//base",
81 "//components/cryptauth", 85 "//components/cryptauth",
82 "//testing/gmock", 86 "//testing/gmock",
87 "//testing/gtest",
83 ] 88 ]
84 } 89 }
85 90
86 source_set("unit_tests") { 91 source_set("unit_tests") {
87 testonly = true 92 testonly = true
88 93
89 sources = [ 94 sources = [
90 "active_host_unittest.cc", 95 "active_host_unittest.cc",
91 "ble_advertisement_device_queue_unittest.cc", 96 "ble_advertisement_device_queue_unittest.cc",
92 "ble_advertiser_unittest.cc", 97 "ble_advertiser_unittest.cc",
93 "ble_connection_manager_unittest.cc", 98 "ble_connection_manager_unittest.cc",
94 "ble_scanner_unittest.cc", 99 "ble_scanner_unittest.cc",
95 "connect_tethering_operation_unittest.cc", 100 "connect_tethering_operation_unittest.cc",
96 "host_scan_device_prioritizer_unittest.cc", 101 "host_scan_device_prioritizer_unittest.cc",
97 "host_scan_scheduler_unittest.cc", 102 "host_scan_scheduler_unittest.cc",
98 "host_scanner_operation_unittest.cc", 103 "host_scanner_operation_unittest.cc",
99 "host_scanner_unittest.cc", 104 "host_scanner_unittest.cc",
100 "keep_alive_operation_unittest.cc", 105 "keep_alive_operation_unittest.cc",
106 "keep_alive_scheduler_unittest.cc",
101 "local_device_data_provider_unittest.cc", 107 "local_device_data_provider_unittest.cc",
102 "message_transfer_operation_unittest.cc", 108 "message_transfer_operation_unittest.cc",
103 "message_wrapper_unittest.cc", 109 "message_wrapper_unittest.cc",
104 "tether_host_fetcher_unittest.cc", 110 "tether_host_fetcher_unittest.cc",
105 ] 111 ]
106 112
107 deps = [ 113 deps = [
108 ":test_support", 114 ":test_support",
109 ":tether", 115 ":tether",
110 "//base/test:test_support", 116 "//base/test:test_support",
111 "//chromeos", 117 "//chromeos",
112 "//chromeos/components/tether/proto", 118 "//chromeos/components/tether/proto",
113 "//components/cryptauth", 119 "//components/cryptauth",
114 "//components/cryptauth:test_support", 120 "//components/cryptauth:test_support",
115 "//components/cryptauth/ble", 121 "//components/cryptauth/ble",
116 "//components/prefs:test_support", 122 "//components/prefs:test_support",
117 "//device/bluetooth", 123 "//device/bluetooth",
118 "//device/bluetooth:mocks", 124 "//device/bluetooth:mocks",
119 "//testing/gmock", 125 "//testing/gmock",
120 "//testing/gtest", 126 "//testing/gtest",
121 ] 127 ]
122 } 128 }
OLDNEW
« no previous file with comments | « no previous file | chromeos/components/tether/active_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698