mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
|
# Copyright 2017 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("//build/config/features.gni")
|
||
|
|
||
|
assert(!is_ios, "Policy Throttle should not be referenced on iOS")
|
||
|
|
||
|
source_set("content") {
|
||
|
sources = [
|
||
|
"policy_blacklist_navigation_throttle.cc",
|
||
|
"policy_blacklist_navigation_throttle.h",
|
||
|
"policy_blacklist_service.cc",
|
||
|
"policy_blacklist_service.h",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//components/keyed_service/content:content",
|
||
|
"//components/policy/core/browser",
|
||
|
"//components/prefs",
|
||
|
"//components/safe_search_api",
|
||
|
"//components/user_prefs:user_prefs",
|
||
|
"//content/public/browser",
|
||
|
"//net",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"policy_blacklist_navigation_throttle_unittest.cc",
|
||
|
]
|
||
|
deps = [
|
||
|
":content",
|
||
|
"//base",
|
||
|
"//components/keyed_service/content",
|
||
|
"//components/policy/core/browser",
|
||
|
"//components/safe_search_api",
|
||
|
"//components/safe_search_api:test_support",
|
||
|
"//components/sync_preferences:test_support",
|
||
|
"//components/user_prefs:user_prefs",
|
||
|
"//content/public/browser",
|
||
|
"//content/test:test_support",
|
||
|
"//testing/gtest",
|
||
|
"//url",
|
||
|
]
|
||
|
}
|