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