summaryrefslogtreecommitdiff
path: root/chromium/ios/components/security_interstitials/BUILD.gn
blob: 14ec5e8b3100f184ca51a10869e1cd0d87c87665 (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
# 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("security_interstitials") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "ios_blocking_page_controller_client.h",
    "ios_blocking_page_controller_client.mm",
    "ios_blocking_page_metrics_helper.h",
    "ios_blocking_page_metrics_helper.mm",
    "ios_blocking_page_tab_helper.h",
    "ios_blocking_page_tab_helper.mm",
    "ios_security_interstitial_page.h",
    "ios_security_interstitial_page.mm",
  ]
  deps = [
    "//base",
    "//components/history/core/browser",
    "//components/keyed_service/core",
    "//components/prefs",
    "//components/rappor",
    "//components/resources",
    "//components/security_interstitials/core",
    "//ios/components/ui_util",
    "//ios/web",
    "//ios/web/common",
    "//ios/web/public",
    "//ios/web/public/security",
    "//ui/base",
    "//url",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [ "ios_blocking_page_tab_helper_unittest.mm" ]
  deps = [
    ":security_interstitials",
    "//ios/web",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
  ]
}