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
|
# Copyright 2018 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("ntp") {
sources = [
"new_tab_page_tab_helper.h",
"new_tab_page_tab_helper.mm",
"new_tab_page_tab_helper_delegate.h",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
":features",
"//base:base",
"//components/strings:components_strings_grit",
"//ios/chrome/browser",
"//ios/chrome/browser/ui:feature_flags",
"//ios/web/common:features",
"//ios/web/public",
"//ui/base:base",
]
}
source_set("features") {
sources = [
"features.cc",
"features.h",
]
deps = [ "//base" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "new_tab_page_tab_helper_unittest.mm" ]
deps = [
"//base/test:test_support",
"//components/strings:components_strings_grit",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/favicon:favicon",
"//ios/chrome/browser/ntp",
"//ios/chrome/browser/ntp_snippets:ntp_snippets",
"//ios/chrome/browser/search_engines:search_engines",
"//ios/chrome/browser/web_state_list",
"//ios/chrome/browser/web_state_list:test_support",
"//ios/chrome/test:test_support",
"//ios/web/public/test:test",
"//ios/web/public/test/fakes",
"//testing/gtest:gtest",
"//third_party/ocmock",
"//ui/base:base",
]
}
|