mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
|
# 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",
|
||
|
]
|
||
|
}
|