1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- # Copyright 2015 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.
- static_library("core") {
- sources = [
- "bad_clock_ui.cc",
- "bad_clock_ui.h",
- "base_safe_browsing_error_ui.cc",
- "base_safe_browsing_error_ui.h",
- "common_string_util.cc",
- "common_string_util.h",
- "controller_client.cc",
- "controller_client.h",
- "https_only_mode_allowlist.cc",
- "https_only_mode_allowlist.h",
- "https_only_mode_metrics.cc",
- "https_only_mode_metrics.h",
- "https_only_mode_ui_util.cc",
- "https_only_mode_ui_util.h",
- "metrics_helper.cc",
- "metrics_helper.h",
- "omnibox_https_upgrade_metrics.cc",
- "omnibox_https_upgrade_metrics.h",
- "pref_names.cc",
- "pref_names.h",
- "safe_browsing_loud_error_ui.cc",
- "safe_browsing_loud_error_ui.h",
- "safe_browsing_quiet_error_ui.cc",
- "safe_browsing_quiet_error_ui.h",
- "ssl_error_options_mask.cc",
- "ssl_error_options_mask.h",
- "ssl_error_ui.cc",
- "ssl_error_ui.h",
- "urls.cc",
- "urls.h",
- ]
- if (!is_ios) {
- sources += [
- "blocked_interception_ui.cc",
- "blocked_interception_ui.h",
- "https_only_mode_policy_handler.cc",
- "https_only_mode_policy_handler.h",
- "mitm_software_ui.cc",
- "mitm_software_ui.h",
- ]
- }
- deps = [
- "//base",
- "//base:i18n",
- "//components/content_settings/core/browser",
- "//components/google/core/common",
- "//components/history/core/browser",
- "//components/metrics",
- "//components/policy/core/browser",
- "//components/policy/core/common",
- "//components/prefs",
- "//components/resources",
- "//components/ssl_errors",
- "//components/strings",
- "//components/url_formatter",
- "//net",
- "//third_party/zlib/google:compression_utils",
- "//ui/base",
- ]
- public_deps = [ "//components/security_interstitials/core/common/mojom" ]
- }
- static_library("unsafe_resource") {
- sources = [
- "unsafe_resource.cc",
- "unsafe_resource.h",
- ]
- deps = [
- "//base",
- "//components/safe_browsing/core/browser/db:hit_report",
- "//components/safe_browsing/core/browser/db:util",
- "//components/safe_browsing/core/common:common",
- "//net",
- "//services/network/public/mojom",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [ "ssl_error_options_mask_unittest.cc" ]
- deps = [
- ":core",
- "//base",
- "//net",
- "//testing/gtest",
- ]
- }
|