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

Side by Side 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: 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 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")
6
5 source_set("ble") { 7 source_set("ble") {
6 sources = [ 8 sources = [
7 "bluetooth_low_energy_connection.cc", 9 "bluetooth_low_energy_connection.cc",
8 "bluetooth_low_energy_connection.h", 10 "bluetooth_low_energy_connection.h",
9 "bluetooth_low_energy_connection_finder.cc", 11 "bluetooth_low_energy_connection_finder.cc",
10 "bluetooth_low_energy_connection_finder.h", 12 "bluetooth_low_energy_connection_finder.h",
11 "fake_wire_message.cc", 13 "fake_wire_message.cc",
12 "fake_wire_message.h", 14 "fake_wire_message.h",
13 "proximity_auth_ble_system.cc", 15 "proximity_auth_ble_system.cc",
14 "proximity_auth_ble_system.h", 16 "proximity_auth_ble_system.h",
15 ] 17 ]
16 18
17 deps = [ 19 deps = [
18 "//base", 20 "//base",
19 "//components/proximity_auth", 21 "//components/proximity_auth",
20 "//device/bluetooth", 22 "//device/bluetooth",
21 "//net", 23 "//net",
22 ] 24 ]
23 } 25 }
26
27 source_set("unit_tests") {
28 testonly = true
29 sources = [
30 "bluetooth_low_energy_connection_finder_unittest.cc",
Tim Song 2015/05/20 07:47:00 Please also add this test to the components_tests.
sacomoto 2015/05/20 22:34:21 Done.
31 ]
32
33 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
34
35 deps = [
36 ":ble",
37 "//components/proximity_auth",
38 "//base/test:test_support",
39 "//device/bluetooth:mocks",
40 "//testing/gmock",
41 "//testing/gtest",
42 ]
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698