summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/ssl/BUILD.gn
blob: 29e125e345a5de3ccb5ea81d4a454e3786bda2aa (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
# 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("ssl") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "captive_portal_detector_tab_helper.h",
    "captive_portal_detector_tab_helper.mm",
    "ios_security_state_tab_helper.h",
    "ios_security_state_tab_helper.mm",
    "ios_ssl_blocking_page.h",
    "ios_ssl_blocking_page.mm",
    "ios_ssl_error_handler.h",
    "ios_ssl_error_handler.mm",
  ]
  deps = [
    "//base",
    "//components/captive_portal",
    "//components/security_interstitials/core",
    "//components/security_state/core",
    "//components/strings",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/browser_state",
    "//ios/chrome/browser/interstitials",
    "//ios/public/provider/chrome/browser",
    "//ios/web",
    "//net",
    "//ui/base",
    "//url",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "ios_ssl_error_handler_unittest.mm",
  ]
  deps = [
    ":ssl",
    "//ios/chrome/browser/browser_state:test_support",
    "//ios/web",
    "//ios/web:test_support",
    "//net",
    "//net:test_support",
  ]
}