summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/u2f/BUILD.gn
blob: fd09a0e018fd6601fdd2eba887c265a2690debc9 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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/common",
    "//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" ]
}