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

40 lines
902 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +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",
"language_model.cc",
"language_model.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",
"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",
]
}