mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 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.
|
||
|
|
||
|
source_set("language") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"language_model_manager_factory.cc",
|
||
|
"language_model_manager_factory.h",
|
||
|
"url_language_histogram_factory.cc",
|
||
|
"url_language_histogram_factory.h",
|
||
|
]
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//components/keyed_service/core",
|
||
|
"//components/keyed_service/ios",
|
||
|
"//components/language/core/browser",
|
||
|
"//components/language/core/common",
|
||
|
"//components/pref_registry",
|
||
|
"//components/prefs",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/browser_state",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"language_model_manager_factory_unittest.cc",
|
||
|
"url_language_histogram_factory_unittest.cc",
|
||
|
]
|
||
|
deps = [
|
||
|
":language",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//components/language/core/browser",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/browser_state:test_support",
|
||
|
"//ios/chrome/browser/web:test_support",
|
||
|
"//ios/public/provider/chrome/browser:test_support",
|
||
|
"//ios/web",
|
||
|
"//ios/web/public/test",
|
||
|
"//testing/gmock:gmock",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|