naiveproxy/components/assist_ranker/BUILD.gn

58 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2018-01-28 21:32:06 +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("assist_ranker") {
sources = [
"assist_ranker_service.h",
"assist_ranker_service_impl.cc",
"assist_ranker_service_impl.h",
"base_predictor.cc",
"base_predictor.h",
"binary_classifier_predictor.cc",
"binary_classifier_predictor.h",
"fake_ranker_model_loader.cc",
"fake_ranker_model_loader.h",
"generic_logistic_regression_inference.cc",
"generic_logistic_regression_inference.h",
"ranker_example_util.cc",
"ranker_example_util.h",
"ranker_model.cc",
"ranker_model.h",
"ranker_model_loader.h",
"ranker_model_loader_impl.cc",
"ranker_model_loader_impl.h",
"ranker_url_fetcher.cc",
"ranker_url_fetcher.h",
]
deps = [
"//base",
"//components/assist_ranker/proto",
"//components/data_use_measurement/core",
"//components/keyed_service/core",
"//net",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"binary_classifier_predictor_unittest.cc",
"generic_logistic_regression_inference_unittest.cc",
"ranker_example_util_unittest.cc",
"ranker_model_loader_impl_unittest.cc",
"ranker_model_unittest.cc",
]
deps = [
":assist_ranker",
"//base",
"//components/assist_ranker/proto",
"//net:test_support",
"//testing/gtest",
]
}