1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# 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.
import("//build/config/compiler/compiler.gni")
source_set("language_code_locator") {
sources = [ "language_code_locator.h" ]
deps = [ "//base" ]
}
static_library("browser") {
sources = [
"geo_language_model.cc",
"geo_language_model.h",
"geo_language_provider.cc",
"geo_language_provider.h",
"language_code_locator_provider.cc",
"language_code_locator_provider.h",
]
deps = [
":language_code_locator",
"//base",
"//components/language/content/browser/ulp_language_code_locator:s2langquadtree",
"//components/language/content/browser/ulp_language_code_locator:ulp_language_code_locator",
"//components/language/core/browser:browser",
"//components/language/core/common:common",
"//components/prefs:prefs",
"//content/public/browser",
"//net",
"//services/device/public/mojom",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"geo_language_model_unittest.cc",
"geo_language_provider_unittest.cc",
"test_utils.cc",
"test_utils.h",
]
deps = [
":browser",
"//base",
"//base/test:test_support",
"//components/language/content/browser/ulp_language_code_locator:ulp_language_code_locator",
"//components/language/content/browser/ulp_language_code_locator:unit_tests",
"//components/language/core/common",
"//components/prefs:test_support",
"//services/device/public/mojom",
"//testing/gmock",
"//testing/gtest",
]
}
|