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

Unified 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: Add missing dependency. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/components/tether/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/BUILD.gn
diff --git a/chromeos/components/tether/BUILD.gn b/chromeos/components/tether/BUILD.gn
index 68566649082b03a416b217427b1ff3b8eced8336..b187e2b8e6c9513d7258195dfda604ec7abe246a 100644
--- a/chromeos/components/tether/BUILD.gn
+++ b/chromeos/components/tether/BUILD.gn
@@ -10,6 +10,8 @@ static_library("tether") {
"ble_advertisement_device_queue.h",
"ble_constants.cc",
"ble_constants.h",
+ "ble_scanner.cc",
+ "ble_scanner.h",
"host_scan_scheduler.cc",
"host_scan_scheduler.h",
"host_scanner.cc",
@@ -25,6 +27,7 @@ static_library("tether") {
"//chromeos",
"//components/cryptauth",
"//components/proximity_auth/logging",
+ "//device/bluetooth",
]
public_deps = [
@@ -35,7 +38,10 @@ static_library("tether") {
static_library("test_support") {
testonly = true
- sources = []
+ sources = [
+ "mock_local_device_data_provider.cc",
+ "mock_local_device_data_provider.h",
+ ]
public_deps = [
":tether",
@@ -43,6 +49,7 @@ static_library("test_support") {
deps = [
"//base",
+ "//components/cryptauth",
"//testing/gmock",
]
}
@@ -52,6 +59,7 @@ source_set("unit_tests") {
sources = [
"ble_advertisement_device_queue_unittest.cc",
+ "ble_scanner_unittest.cc",
"host_scan_scheduler_unittest.cc",
"local_device_data_provider_unittest.cc",
]
@@ -63,6 +71,8 @@ source_set("unit_tests") {
"//chromeos",
"//components/cryptauth",
"//components/cryptauth:test_support",
+ "//device/bluetooth",
+ "//device/bluetooth:mocks",
"//testing/gmock",
"//testing/gtest",
]
« no previous file with comments | « no previous file | chromeos/components/tether/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698