summaryrefslogtreecommitdiff
path: root/chromium/components/security_state/ios/BUILD.gn
blob: 3243ff0aa7554c75e2577282a58f56eb3ceb8655 (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
# Copyright 2017 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.

component("ios") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "insecure_input_tab_helper.h",
    "insecure_input_tab_helper.mm",
    "security_state_utils.h",
    "security_state_utils.mm",
    "ssl_status_input_event_data.h",
    "ssl_status_input_event_data.mm",
  ]
  deps = [
    "//base",
    "//components/autofill/ios/form_util",
    "//components/safe_browsing/ios/browser:allow_list",
    "//components/security_state/core",
    "//ios/web/common",
    "//ios/web/public",
    "//ios/web/public/security",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [ "security_state_utils_unittest.mm" ]
  deps = [
    ":ios",
    "//components/safe_browsing/ios/browser:allow_list",
    "//components/security_state/core",
    "//ios/web/public/security",
    "//ios/web/public/test",
  ]
}