| OLD | NEW |
| 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") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 static_library("proximity_auth") { | 7 static_library("proximity_auth") { |
| 8 sources = [ | 8 sources = [ |
| 9 "bluetooth_connection.cc", | 9 "bluetooth_connection.cc", |
| 10 "bluetooth_connection.h", | 10 "bluetooth_connection.h", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "throttled_bluetooth_connection_finder.h", | 48 "throttled_bluetooth_connection_finder.h", |
| 49 "unlock_manager.h", | 49 "unlock_manager.h", |
| 50 "unlock_manager_impl.cc", | 50 "unlock_manager_impl.cc", |
| 51 "unlock_manager_impl.h", | 51 "unlock_manager_impl.h", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 deps = [ | 54 deps = [ |
| 55 "//base", | 55 "//base", |
| 56 "//components/cryptauth", | 56 "//components/cryptauth", |
| 57 "//components/cryptauth/ble", | 57 "//components/cryptauth/ble", |
| 58 "//components/pref_registry:pref_registry", |
| 58 "//components/prefs", | 59 "//components/prefs", |
| 59 "//components/proximity_auth/logging", | 60 "//components/proximity_auth/logging", |
| 60 "//components/proximity_auth/public/interfaces", | 61 "//components/proximity_auth/public/interfaces", |
| 61 "//components/signin/core/account_id:account_id", | 62 "//components/signin/core/account_id:account_id", |
| 62 "//device/bluetooth", | 63 "//device/bluetooth", |
| 63 "//net", | 64 "//net", |
| 64 ] | 65 ] |
| 65 | 66 |
| 66 if (is_chromeos) { | 67 if (is_chromeos) { |
| 67 deps += [ "//chromeos" ] | 68 deps += [ "//chromeos" ] |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 ":proximity_auth", | 115 ":proximity_auth", |
| 115 ":test_support", | 116 ":test_support", |
| 116 "//base", | 117 "//base", |
| 117 "//base/test:test_support", | 118 "//base/test:test_support", |
| 118 "//components/cryptauth:test_support", | 119 "//components/cryptauth:test_support", |
| 119 "//components/cryptauth:unit_tests", | 120 "//components/cryptauth:unit_tests", |
| 120 "//components/cryptauth/ble", | 121 "//components/cryptauth/ble", |
| 121 "//components/prefs:test_support", | 122 "//components/prefs:test_support", |
| 122 "//components/proximity_auth/logging", | 123 "//components/proximity_auth/logging", |
| 123 "//components/proximity_auth/logging:unit_tests", | 124 "//components/proximity_auth/logging:unit_tests", |
| 125 "//components/sync_preferences:test_support", |
| 124 "//device/bluetooth:mocks", | 126 "//device/bluetooth:mocks", |
| 125 "//testing/gmock", | 127 "//testing/gmock", |
| 126 "//testing/gtest", | 128 "//testing/gtest", |
| 127 ] | 129 ] |
| 128 | 130 |
| 129 if (is_chromeos) { | 131 if (is_chromeos) { |
| 130 deps += [ "//chromeos" ] | 132 deps += [ "//chromeos" ] |
| 131 } | 133 } |
| 132 } | 134 } |
| 133 | 135 |
| 134 # Note: This is a convenience target for ease of rapid iteration during | 136 # Note: This is a convenience target for ease of rapid iteration during |
| 135 # development. It is not executed on any try or build bots. | 137 # development. It is not executed on any try or build bots. |
| 136 if (!is_chromeos) { | 138 if (!is_chromeos) { |
| 137 test("proximity_auth_unittests") { | 139 test("proximity_auth_unittests") { |
| 138 sources = [ | 140 sources = [ |
| 139 "run_all_unittests.cc", | 141 "run_all_unittests.cc", |
| 140 ] | 142 ] |
| 141 deps = [ | 143 deps = [ |
| 142 ":unit_tests", | 144 ":unit_tests", |
| 143 "//base", | 145 "//base", |
| 144 "//base/test:test_support", | 146 "//base/test:test_support", |
| 145 ] | 147 ] |
| 146 } | 148 } |
| 147 } | 149 } |
| OLD | NEW |