[go: nahoru, domu]

blob: f94482dc1bdff0afec66f2f6fac4074d35d1fad6 [file] [log] [blame]
# 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.
static_library("browser") {
sources = [
"ruleset_distributor.h",
"ruleset_service.cc",
"ruleset_service.h",
"subresource_filter_constants.cc",
"subresource_filter_constants.h",
"subresource_filter_features.cc",
"subresource_filter_features.h",
]
deps = [
"//base",
"//components/prefs:prefs",
"//components/subresource_filter/core/common",
"//components/variations",
]
}
static_library("test_support") {
testonly = true
sources = [
"subresource_filter_features_test_support.cc",
"subresource_filter_features_test_support.h",
]
deps = [
":browser",
"//base",
"//components/variations",
"//testing/gtest",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"ruleset_service_unittest.cc",
"subresource_filter_features_unittest.cc",
]
deps = [
":browser",
":test_support",
"//base",
"//base/test:test_support",
"//components/prefs:test_support",
"//testing/gmock",
"//testing/gtest",
]
}