blob: 2916fa9975eccbfda0cfb7860826786ec70ae046 [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("u2f") {
sources = [
"u2f_tab_helper.h",
"u2f_tab_helper.mm",
]
deps = [
":u2f_internal",
"//base",
"//ios/chrome/browser/web:tab_id_tab_helper",
"//ios/web",
"//net",
"//url",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("u2f_internal") {
sources = [
"u2f_controller.h",
"u2f_controller.mm",
]
deps = [
"//base",
"//components/google/core/browser",
"//crypto",
"//ios/chrome/browser",
"//ios/chrome/common",
"//ios/web/public",
"//ios/web/public/deprecated",
"//net",
"//url",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"u2f_controller_unittest.mm",
"u2f_tab_helper_unittest.mm",
]
deps = [
":u2f",
":u2f_internal",
"//base",
"//ios/chrome/browser",
"//ios/chrome/browser/web:tab_id_tab_helper",
"//ios/web/public/deprecated",
"//ios/web/public/test/fakes",
"//net",
"//testing/gmock",
"//testing/gtest",
"//url",
]
configs += [ "//build/config/compiler:enable_arc" ]
}