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