jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 1 | # 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 Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 4 | import("//third_party/protobuf/proto_library.gni") |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 5 | |
jialiul | a2c06925 | 2017-01-05 18:13:04 | [diff] [blame] | 6 | static_library("security_interstitial_page") { |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 7 | sources = [ |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 8 | "cert_report_helper.cc", |
| 9 | "cert_report_helper.h", |
| 10 | "certificate_error_report.cc", |
| 11 | "certificate_error_report.h", |
Carlos IL | 8e8d788 | 2018-03-21 18:23:36 | [diff] [blame] | 12 | "connection_help_ui.cc", |
| 13 | "connection_help_ui.h", |
Daniel Vogelheim | 7badd0d | 2019-02-04 14:42:18 | [diff] [blame] | 14 | "origin_policy_interstitial_page.cc", |
| 15 | "origin_policy_interstitial_page.h", |
Daniel Vogelheim | 6008f57 | 2018-09-24 14:35:14 | [diff] [blame] | 16 | "origin_policy_ui.cc", |
| 17 | "origin_policy_ui.h", |
jialiul | a2c06925 | 2017-01-05 18:13:04 | [diff] [blame] | 18 | "security_interstitial_controller_client.cc", |
| 19 | "security_interstitial_controller_client.h", |
| 20 | "security_interstitial_page.cc", |
| 21 | "security_interstitial_page.h", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 22 | "security_interstitial_tab_helper.cc", |
| 23 | "security_interstitial_tab_helper.h", |
Colin Blundell | 72dfce1 | 2019-11-21 10:51:43 | [diff] [blame^] | 24 | "ssl_blocking_page.cc", |
| 25 | "ssl_blocking_page.h", |
| 26 | "ssl_blocking_page_base.cc", |
| 27 | "ssl_blocking_page_base.h", |
Evan Stade | 1e71d6dd | 2019-10-29 03:04:49 | [diff] [blame] | 28 | "ssl_cert_reporter.h", |
| 29 | "ssl_error_navigation_throttle.cc", |
| 30 | "ssl_error_navigation_throttle.h", |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 31 | "unsafe_resource.cc", |
| 32 | "unsafe_resource.h", |
Carlos IL | 8e8d788 | 2018-03-21 18:23:36 | [diff] [blame] | 33 | "urls.cc", |
| 34 | "urls.h", |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 35 | ] |
| 36 | |
ntfschr | a323433 | 2016-12-22 01:15:42 | [diff] [blame] | 37 | public_deps = [ |
Tim Volodine | e4593847 | 2017-09-21 10:08:22 | [diff] [blame] | 38 | "//components/safe_browsing/db:hit_report", |
ntfschr | a323433 | 2016-12-22 01:15:42 | [diff] [blame] | 39 | ] |
| 40 | |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 41 | deps = [ |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 42 | ":proto", |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 43 | "//base", |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 44 | "//build:branding_buildflags", |
| 45 | "//components/network_time", |
jialiul | a2c06925 | 2017-01-05 18:13:04 | [diff] [blame] | 46 | "//components/prefs:prefs", |
| 47 | "//components/resources", |
timvolodine | 89cf1171 | 2017-05-15 18:05:07 | [diff] [blame] | 48 | "//components/safe_browsing/common:safe_browsing_prefs", |
Tim Volodine | e4593847 | 2017-09-21 10:08:22 | [diff] [blame] | 49 | "//components/safe_browsing/db:hit_report", |
| 50 | "//components/safe_browsing/db:util", |
jialiul | a2c06925 | 2017-01-05 18:13:04 | [diff] [blame] | 51 | "//components/security_interstitials/core:core", |
Carlos IL | 8e8d788 | 2018-03-21 18:23:36 | [diff] [blame] | 52 | "//components/strings:components_strings_grit", |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 53 | "//components/user_prefs", |
| 54 | "//components/variations", |
| 55 | "//components/version_info", |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 56 | "//content/public/browser", |
jialiul | a2c06925 | 2017-01-05 18:13:04 | [diff] [blame] | 57 | "//content/public/common", |
Andy Paicu | 8b6f871 | 2019-07-16 15:02:26 | [diff] [blame] | 58 | "//services/network/public/cpp:cpp", |
jialiul | 792a666 | 2016-12-03 01:44:10 | [diff] [blame] | 59 | ] |
| 60 | } |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 61 | |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 62 | proto_library("proto") { |
| 63 | sources = [ |
| 64 | "cert_logger.proto", |
| 65 | ] |
| 66 | } |
| 67 | |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 68 | source_set("unit_tests") { |
| 69 | testonly = true |
| 70 | sources = [ |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 71 | "certificate_error_report_unittest.cc", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 72 | "security_interstitial_tab_helper_unittest.cc", |
Colin Blundell | 463ed0a | 2019-11-19 11:45:37 | [diff] [blame] | 73 | "ssl_error_navigation_throttle_unittest.cc", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 74 | ] |
| 75 | |
| 76 | deps = [ |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 77 | ":proto", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 78 | ":security_interstitial_page", |
| 79 | "//base", |
| 80 | "//base/test:test_support", |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 81 | "//components/network_time:network_time_test_support", |
| 82 | "//components/prefs:test_support", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 83 | "//components/security_interstitials/core:core", |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 84 | "//components/version_info", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 85 | "//content/public/browser", |
| 86 | "//content/public/common", |
| 87 | "//content/test:test_support", |
| 88 | "//net:", |
| 89 | "//net:test_support", |
Colin Blundell | 8a0bf625 | 2019-11-20 09:42:27 | [diff] [blame] | 90 | "//services/network:test_support", |
Carlos IL | e2201a45 | 2018-05-10 20:19:12 | [diff] [blame] | 91 | "//testing/gtest", |
| 92 | ] |
| 93 | } |