summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/u2f/BUILD.gn
blob: b79d7ada07ec8d40084381e4f77cb5de29ca6330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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_controller.h",
    "u2f_controller.mm",
  ]
  deps = [
    "//base",
    "//components/google/core/browser",
    "//crypto",
    "//ios/chrome/browser",
    "//ios/chrome/common",
    "//ios/web",
    "//net",
    "//url",
  ]

  configs += [ "//build/config/compiler:enable_arc" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "u2f_controller_unittest.mm",
  ]
  deps = [
    ":u2f",
    "//base",
    "//ios/chrome/browser",
    "//ios/web",
    "//ios/web:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//url",
  ]

  configs += [ "//build/config/compiler:enable_arc" ]
}