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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 2016 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("spotlight") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"actions_spotlight_manager.h",
"actions_spotlight_manager.mm",
"base_spotlight_manager.h",
"base_spotlight_manager.mm",
"bookmarks_spotlight_manager.h",
"bookmarks_spotlight_manager.mm",
"spotlight_manager.h",
"spotlight_manager.mm",
"spotlight_util.h",
"spotlight_util.mm",
"topsites_spotlight_manager.h",
"topsites_spotlight_manager.mm",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//components/browser_sync",
"//components/favicon/core",
"//components/favicon_base",
"//components/history/core/browser",
"//components/suggestions",
"//ios/chrome/app/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/bookmarks",
"//ios/chrome/browser/favicon",
"//ios/chrome/browser/history",
"//ios/chrome/browser/suggestions",
"//ios/chrome/browser/sync",
"//ios/chrome/browser/ui/content_suggestions",
"//ios/chrome/common/app_group",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/spotlight",
"//ios/third_party/material_components_ios",
"//net",
"//skia",
"//ui/base",
"//url",
]
libs = [
"CoreSpotlight.framework",
"UIKit.framework",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"spotlight_manager_unittest.mm",
]
deps = [
":spotlight",
"//base",
"//base/test:test_support",
"//components/bookmarks/browser",
"//components/bookmarks/test",
"//components/favicon/core",
"//components/favicon/core/test:test_support",
"//components/favicon_base",
"//ios/chrome/browser/bookmarks",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/spotlight",
"//net",
"//testing/gtest",
]
libs = [ "CoreSpotlight.framework" ]
}
|