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

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

Issue 2604063003: [CrOS Tether] Create BleScanner, a class which scan BLE advertisements and identifies nearby device… (Closed)
Patch Set: Adjusted comment. Created 3 years, 11 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
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 "ble_advertisement_device_queue.cc", 9 "ble_advertisement_device_queue.cc",
10 "ble_advertisement_device_queue.h", 10 "ble_advertisement_device_queue.h",
11 "ble_constants.cc", 11 "ble_constants.cc",
12 "ble_constants.h", 12 "ble_constants.h",
13 "ble_scanner.cc",
14 "ble_scanner.h",
13 "host_scan_scheduler.cc", 15 "host_scan_scheduler.cc",
14 "host_scan_scheduler.h", 16 "host_scan_scheduler.h",
15 "host_scanner.cc", 17 "host_scanner.cc",
16 "host_scanner.h", 18 "host_scanner.h",
17 "initializer.cc", 19 "initializer.cc",
18 "initializer.h", 20 "initializer.h",
19 "local_device_data_provider.cc", 21 "local_device_data_provider.cc",
20 "local_device_data_provider.h", 22 "local_device_data_provider.h",
21 ] 23 ]
22 24
23 deps = [ 25 deps = [
24 "//base", 26 "//base",
25 "//chromeos", 27 "//chromeos",
26 "//components/cryptauth", 28 "//components/cryptauth",
27 "//components/proximity_auth/logging", 29 "//components/proximity_auth/logging",
30 "//device/bluetooth",
28 ] 31 ]
29 32
30 public_deps = [ 33 public_deps = [
31 "//components/cryptauth/proto", 34 "//components/cryptauth/proto",
32 ] 35 ]
33 } 36 }
34 37
35 static_library("test_support") { 38 static_library("test_support") {
36 testonly = true 39 testonly = true
37 40
38 sources = [] 41 sources = [
42 "mock_local_device_data_provider.cc",
43 "mock_local_device_data_provider.h",
44 ]
39 45
40 public_deps = [ 46 public_deps = [
41 ":tether", 47 ":tether",
42 ] 48 ]
43 49
44 deps = [ 50 deps = [
45 "//base", 51 "//base",
46 "//testing/gmock", 52 "//testing/gmock",
47 ] 53 ]
48 } 54 }
49 55
50 source_set("unit_tests") { 56 source_set("unit_tests") {
51 testonly = true 57 testonly = true
52 58
53 sources = [ 59 sources = [
54 "ble_advertisement_device_queue_unittest.cc", 60 "ble_advertisement_device_queue_unittest.cc",
61 "ble_scanner_unittest.cc",
55 "host_scan_scheduler_unittest.cc", 62 "host_scan_scheduler_unittest.cc",
56 "local_device_data_provider_unittest.cc", 63 "local_device_data_provider_unittest.cc",
57 ] 64 ]
58 65
59 deps = [ 66 deps = [
60 ":test_support", 67 ":test_support",
61 ":tether", 68 ":tether",
62 "//base/test:test_support", 69 "//base/test:test_support",
63 "//chromeos", 70 "//chromeos",
64 "//components/cryptauth", 71 "//components/cryptauth",
65 "//components/cryptauth:test_support", 72 "//components/cryptauth:test_support",
73 "//device/bluetooth",
74 "//device/bluetooth:mocks",
66 "//testing/gmock", 75 "//testing/gmock",
67 "//testing/gtest", 76 "//testing/gtest",
68 ] 77 ]
69 } 78 }
OLDNEW
« no previous file with comments | « no previous file | chromeos/components/tether/DEPS » ('j') | chromeos/components/tether/ble_scanner.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698