blob: 78a8854348730e7a6e9fce069916ad8b56f697a9 [file] [log] [blame]
jialiul792a6662016-12-03 01:44:101# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
Colin Blundell8a0bf6252019-11-20 09:42:274import("//third_party/protobuf/proto_library.gni")
jialiul792a6662016-12-03 01:44:105
jialiula2c069252017-01-05 18:13:046static_library("security_interstitial_page") {
jialiul792a6662016-12-03 01:44:107 sources = [
Colin Blundell8a0bf6252019-11-20 09:42:278 "cert_report_helper.cc",
9 "cert_report_helper.h",
10 "certificate_error_report.cc",
11 "certificate_error_report.h",
Carlos IL8e8d7882018-03-21 18:23:3612 "connection_help_ui.cc",
13 "connection_help_ui.h",
Daniel Vogelheim7badd0d2019-02-04 14:42:1814 "origin_policy_interstitial_page.cc",
15 "origin_policy_interstitial_page.h",
Daniel Vogelheim6008f572018-09-24 14:35:1416 "origin_policy_ui.cc",
17 "origin_policy_ui.h",
jialiula2c069252017-01-05 18:13:0418 "security_interstitial_controller_client.cc",
19 "security_interstitial_controller_client.h",
20 "security_interstitial_page.cc",
21 "security_interstitial_page.h",
Carlos ILe2201a452018-05-10 20:19:1222 "security_interstitial_tab_helper.cc",
23 "security_interstitial_tab_helper.h",
Colin Blundell72dfce12019-11-21 10:51:4324 "ssl_blocking_page.cc",
25 "ssl_blocking_page.h",
26 "ssl_blocking_page_base.cc",
27 "ssl_blocking_page_base.h",
Evan Stade1e71d6dd2019-10-29 03:04:4928 "ssl_cert_reporter.h",
29 "ssl_error_navigation_throttle.cc",
30 "ssl_error_navigation_throttle.h",
jialiul792a6662016-12-03 01:44:1031 "unsafe_resource.cc",
32 "unsafe_resource.h",
Carlos IL8e8d7882018-03-21 18:23:3633 "urls.cc",
34 "urls.h",
jialiul792a6662016-12-03 01:44:1035 ]
36
ntfschra3234332016-12-22 01:15:4237 public_deps = [
Tim Volodinee45938472017-09-21 10:08:2238 "//components/safe_browsing/db:hit_report",
ntfschra3234332016-12-22 01:15:4239 ]
40
jialiul792a6662016-12-03 01:44:1041 deps = [
Colin Blundell8a0bf6252019-11-20 09:42:2742 ":proto",
jialiul792a6662016-12-03 01:44:1043 "//base",
Colin Blundell8a0bf6252019-11-20 09:42:2744 "//build:branding_buildflags",
45 "//components/network_time",
jialiula2c069252017-01-05 18:13:0446 "//components/prefs:prefs",
47 "//components/resources",
timvolodine89cf11712017-05-15 18:05:0748 "//components/safe_browsing/common:safe_browsing_prefs",
Tim Volodinee45938472017-09-21 10:08:2249 "//components/safe_browsing/db:hit_report",
50 "//components/safe_browsing/db:util",
jialiula2c069252017-01-05 18:13:0451 "//components/security_interstitials/core:core",
Carlos IL8e8d7882018-03-21 18:23:3652 "//components/strings:components_strings_grit",
Colin Blundell8a0bf6252019-11-20 09:42:2753 "//components/user_prefs",
54 "//components/variations",
55 "//components/version_info",
jialiul792a6662016-12-03 01:44:1056 "//content/public/browser",
jialiula2c069252017-01-05 18:13:0457 "//content/public/common",
Andy Paicu8b6f8712019-07-16 15:02:2658 "//services/network/public/cpp:cpp",
jialiul792a6662016-12-03 01:44:1059 ]
60}
Carlos ILe2201a452018-05-10 20:19:1261
Colin Blundell8a0bf6252019-11-20 09:42:2762proto_library("proto") {
63 sources = [
64 "cert_logger.proto",
65 ]
66}
67
Carlos ILe2201a452018-05-10 20:19:1268source_set("unit_tests") {
69 testonly = true
70 sources = [
Colin Blundell8a0bf6252019-11-20 09:42:2771 "certificate_error_report_unittest.cc",
Carlos ILe2201a452018-05-10 20:19:1272 "security_interstitial_tab_helper_unittest.cc",
Colin Blundell463ed0a2019-11-19 11:45:3773 "ssl_error_navigation_throttle_unittest.cc",
Carlos ILe2201a452018-05-10 20:19:1274 ]
75
76 deps = [
Colin Blundell8a0bf6252019-11-20 09:42:2777 ":proto",
Carlos ILe2201a452018-05-10 20:19:1278 ":security_interstitial_page",
79 "//base",
80 "//base/test:test_support",
Colin Blundell8a0bf6252019-11-20 09:42:2781 "//components/network_time:network_time_test_support",
82 "//components/prefs:test_support",
Carlos ILe2201a452018-05-10 20:19:1283 "//components/security_interstitials/core:core",
Colin Blundell8a0bf6252019-11-20 09:42:2784 "//components/version_info",
Carlos ILe2201a452018-05-10 20:19:1285 "//content/public/browser",
86 "//content/public/common",
87 "//content/test:test_support",
88 "//net:",
89 "//net:test_support",
Colin Blundell8a0bf6252019-11-20 09:42:2790 "//services/network:test_support",
Carlos ILe2201a452018-05-10 20:19:1291 "//testing/gtest",
92 ]
93}