mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
45 lines
1.0 KiB
Plaintext
45 lines
1.0 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("browser") {
|
|
sources = [
|
|
"baseline_language_model.cc",
|
|
"baseline_language_model.h",
|
|
"heuristic_language_model.cc",
|
|
"heuristic_language_model.h",
|
|
"language_model.cc",
|
|
"language_model.h",
|
|
"pref_names.cc",
|
|
"pref_names.h",
|
|
"url_language_histogram.cc",
|
|
"url_language_histogram.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/keyed_service/core",
|
|
"//components/pref_registry",
|
|
"//components/prefs",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"baseline_language_model_unittest.cc",
|
|
"heuristic_language_model_unittest.cc",
|
|
"url_language_histogram_unittest.cc",
|
|
]
|
|
deps = [
|
|
":browser",
|
|
"//base",
|
|
"//components/pref_registry:pref_registry",
|
|
"//components/prefs",
|
|
"//components/prefs:test_support",
|
|
"//net:test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|