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

Unified Diff: components/proximity_auth/ble/BUILD.gn

Issue 1129983004: Adding BLE connection finder unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 5 years, 7 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
Index: components/proximity_auth/ble/BUILD.gn
diff --git a/components/proximity_auth/ble/BUILD.gn b/components/proximity_auth/ble/BUILD.gn
index 3a6603ecaaa78181b21acd843476d9641bf13575..e1b759e3235b73adc2daecba0c8899ed1a100308 100644
--- a/components/proximity_auth/ble/BUILD.gn
+++ b/components/proximity_auth/ble/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/test.gni")
+
source_set("ble") {
sources = [
"bluetooth_low_energy_connection.cc",
@@ -21,3 +23,21 @@ source_set("ble") {
"//net",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "bluetooth_low_energy_connection_finder_unittest.cc",
+ ]
+
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ deps = [
+ ":ble",
+ "//components/proximity_auth",
+ "//base/test:test_support",
+ "//device/bluetooth:mocks",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/proximity_auth/BUILD.gn ('k') | components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698