| OLD | NEW |
| 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 "host_scan_scheduler.cc", |
| 10 "host_scan_scheduler.h", |
| 11 "host_scanner.cc", |
| 12 "host_scanner.h", |
| 9 "initializer.cc", | 13 "initializer.cc", |
| 10 "initializer.h", | 14 "initializer.h", |
| 11 ] | 15 ] |
| 12 | 16 |
| 13 deps = [ | 17 deps = [ |
| 14 "//base", | 18 "//base", |
| 19 "//chromeos", |
| 20 "//components/cryptauth", |
| 21 "//components/proximity_auth/logging", |
| 22 ] |
| 23 |
| 24 public_deps = [ |
| 25 "//components/cryptauth/proto", |
| 15 ] | 26 ] |
| 16 } | 27 } |
| 17 | 28 |
| 18 static_library("test_support") { | 29 static_library("test_support") { |
| 19 testonly = true | 30 testonly = true |
| 20 | 31 |
| 21 sources = [] | 32 sources = [] |
| 22 | 33 |
| 23 public_deps = [ | 34 public_deps = [ |
| 24 ":tether", | 35 ":tether", |
| 25 ] | 36 ] |
| 26 | 37 |
| 27 deps = [ | 38 deps = [ |
| 28 "//base", | 39 "//base", |
| 29 "//testing/gmock", | 40 "//testing/gmock", |
| 30 ] | 41 ] |
| 31 } | 42 } |
| 32 | 43 |
| 33 source_set("unit_tests") { | 44 source_set("unit_tests") { |
| 34 testonly = true | 45 testonly = true |
| 35 | 46 |
| 36 sources = [] | 47 sources = [ |
| 48 "host_scan_scheduler_unittest.cc", |
| 49 ] |
| 37 | 50 |
| 38 deps = [ | 51 deps = [ |
| 39 ":test_support", | 52 ":test_support", |
| 40 ":tether", | 53 ":tether", |
| 41 "//base/test:test_support", | 54 "//base/test:test_support", |
| 55 "//chromeos", |
| 56 "//components/cryptauth", |
| 57 "//testing/gmock", |
| 42 "//testing/gtest", | 58 "//testing/gtest", |
| 43 ] | 59 ] |
| 44 } | 60 } |
| OLD | NEW |