| # Copyright 2020 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("reauthentication") { |
| sources = [ |
| "reauthentication_event.h", |
| "reauthentication_module.h", |
| "reauthentication_module.mm", |
| "reauthentication_protocol.h", |
| ] |
| deps = [ "//base" ] |
| frameworks = [ "LocalAuthentication.framework" ] |
| } |
| |
| source_set("test_support") { |
| testonly = true |
| sources = [ "reauthentication_module_for_testing.h" ] |
| deps = [ ":reauthentication" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "reauthentication_module_unittest.mm" ] |
| deps = [ |
| ":reauthentication", |
| ":test_support", |
| "//base", |
| "//base/test:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| ] |
| } |