blob: e44e3677f6446e2c180dbd5bff0b2fbe759e020e [file] [log] [blame]
# Copyright 2018 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.
source_set("support") {
sources = [
"//third_party/protobuf:protobuf_lite",
"rule_stream.cc",
"rule_stream.h",
"ruleset_converter.cc",
"ruleset_converter.h",
"ruleset_format.cc",
"ruleset_format.h",
]
public_deps = [
"//components/url_pattern_index/proto:url_pattern_index",
]
deps = [
"../rule_parser",
"//base",
"//components/subresource_filter/core/common",
"//third_party/protobuf:protobuf_lite",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"rule_stream_unittest.cc",
"ruleset_converter_unittest.cc",
"ruleset_test_util.cc",
"ruleset_test_util.h",
]
deps = [
":support",
"../rule_parser",
"//base",
"//base/test:test_support",
"//components/url_pattern_index:test_support",
"//components/url_pattern_index/proto:url_pattern_index",
"//testing/gmock",
"//testing/gtest",
]
}