naiveproxy/components/language/core/browser/BUILD.gn

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +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("browser") {
sources = [
"baseline_language_model.cc",
"baseline_language_model.h",
"heuristic_language_model.cc",
"heuristic_language_model.h",
"language_model.cc",
"language_model.h",
"language_model_manager.cc",
"language_model_manager.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",
]
}