mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
94 lines
1.9 KiB
Plaintext
94 lines
1.9 KiB
Plaintext
|
# 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.
|
||
|
|
||
|
import("//third_party/protobuf/proto_library.gni")
|
||
|
|
||
|
proto_library("csd_proto") {
|
||
|
sources = [
|
||
|
"proto/csd.proto",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
proto_library("webui_proto") {
|
||
|
sources = [
|
||
|
"proto/webui.proto",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("safe_browsing") {
|
||
|
sources = [
|
||
|
"base_blocking_page.cc",
|
||
|
"base_blocking_page.h",
|
||
|
"base_resource_throttle.cc",
|
||
|
"base_resource_throttle.h",
|
||
|
"base_ui_manager.cc",
|
||
|
"base_ui_manager.h",
|
||
|
"net_event_logger.cc",
|
||
|
"net_event_logger.h",
|
||
|
]
|
||
|
public_deps = [
|
||
|
"//components/security_interstitials/content:security_interstitial_page",
|
||
|
]
|
||
|
deps = [
|
||
|
":base_ping_manager",
|
||
|
":features",
|
||
|
"//base:base",
|
||
|
"//base:i18n",
|
||
|
"//components/safe_browsing/common:common",
|
||
|
"//components/safe_browsing/common:safe_browsing_prefs",
|
||
|
"//components/safe_browsing/db:database_manager",
|
||
|
"//components/safe_browsing/web_ui:constants",
|
||
|
"//components/security_interstitials/core:core",
|
||
|
"//content/public/browser:browser",
|
||
|
"//content/public/common:common",
|
||
|
"//net:net",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
static_library("base_ping_manager") {
|
||
|
sources = [
|
||
|
"base_ping_manager.cc",
|
||
|
"base_ping_manager.h",
|
||
|
]
|
||
|
|
||
|
public_deps = [
|
||
|
"//google_apis:google_apis",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base:base",
|
||
|
"//components/data_use_measurement/core:core",
|
||
|
"//components/safe_browsing/db:hit_report",
|
||
|
"//components/safe_browsing/db:util",
|
||
|
"//content/public/browser:browser",
|
||
|
"//net:net",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("base_ping_manager_unittest") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"base_ping_manager_unittest.cc",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
":base_ping_manager",
|
||
|
"//base:base",
|
||
|
"//net:net",
|
||
|
"//net:test_support",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
static_library("features") {
|
||
|
sources = [
|
||
|
"features.cc",
|
||
|
"features.h",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base:base",
|
||
|
]
|
||
|
}
|