naiveproxy/components/previews/core/BUILD.gn
2018-08-14 22:19:20 +00:00

56 lines
1.3 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.
static_library("core") {
sources = [
"previews_black_list.cc",
"previews_black_list.h",
"previews_decider.h",
"previews_experiments.cc",
"previews_experiments.h",
"previews_features.cc",
"previews_features.h",
"previews_logger.cc",
"previews_logger.h",
"previews_logger_observer.h",
"previews_switches.cc",
"previews_switches.h",
"previews_user_data.cc",
"previews_user_data.h",
"test_previews_decider.cc",
"test_previews_decider.h",
]
deps = [
"//base",
"//components/blacklist/opt_out_blacklist",
"//components/variations",
"//net:net",
"//third_party/re2",
"//url:url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"previews_black_list_unittest.cc",
"previews_experiments_unittest.cc",
"previews_logger_unittest.cc",
"previews_user_data_unittest.cc",
]
deps = [
":core",
"//base",
"//base/test:test_support",
"//components/blacklist/opt_out_blacklist",
"//components/variations",
"//net:net",
"//net:test_support",
"//testing/gtest",
"//url:url",
]
}