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 3# found in the LICENSE file. 4 5static_library("proximity_auth") { 6 sources = [ 7 "bluetooth_connection.cc", 8 "bluetooth_connection.h", 9 "bluetooth_util.cc", 10 "bluetooth_util_chromeos.cc", 11 "bluetooth_util.h", 12 "connection.cc", 13 "connection.h", 14 "connection_observer.h", 15 "proximity_auth_system.cc", 16 "proximity_auth_system.h", 17 "remote_device.h", 18 "wire_message.cc", 19 "wire_message.h", 20 ] 21 22 deps = [ 23 "//base", 24 "//device/bluetooth", 25 "//net", 26 ] 27} 28 29source_set("unit_tests") { 30 testonly = true 31 sources = [ 32 "bluetooth_connection_unittest.cc", 33 "connection_unittest.cc", 34 "proximity_auth_system_unittest.cc", 35 "wire_message_unittest.cc", 36 ] 37 38 deps = [ 39 ":proximity_auth", 40 "//base/test:test_support", 41 "//device/bluetooth:mocks", 42 "//testing/gmock", 43 "//testing/gtest", 44 ] 45} 46 47# Note: This is a convenience target for ease of rapid iteration during 48# development. It is not executed on any try or build bots. 49test("proximity_auth_unittests") { 50 sources = [ 51 "run_all_unittests.cc", 52 ] 53 54 deps = [ 55 ":unit_tests", 56 ] 57} 58