naiveproxy/components/previews/content/BUILD.gn

57 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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.
static_library("content") {
sources = [
"hint_cache.cc",
"hint_cache.h",
"previews_content_util.cc",
"previews_content_util.h",
"previews_decider_impl.cc",
"previews_decider_impl.h",
"previews_hints.cc",
"previews_hints.h",
"previews_optimization_guide.cc",
"previews_optimization_guide.h",
"previews_ui_service.cc",
"previews_ui_service.h",
]
deps = [
"//base",
"//components/blacklist/opt_out_blacklist",
"//components/optimization_guide",
"//components/optimization_guide/proto:optimization_guide_proto",
"//components/previews/core",
"//components/url_matcher",
"//components/variations",
"//content/public/common",
"//net",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"hint_cache_unittest.cc",
"previews_content_util_unittest.cc",
"previews_decider_impl_unittest.cc",
"previews_optimization_guide_unittest.cc",
"previews_ui_service_unittest.cc",
]
deps = [
":content",
"//base",
"//components/blacklist/opt_out_blacklist",
"//components/optimization_guide",
"//components/optimization_guide/proto:optimization_guide_proto",
"//components/previews/core",
"//components/variations",
"//content/public/common",
"//net:test_support",
"//testing/gtest",
]
}