Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: ios/clean/chrome/browser/ui/ntp/BUILD.gn

Issue 2785893003: [ios clean] Add placeholder for NTP bookmarks, chrome home and open tabs. (Closed)
Patch Set: Comment nit Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("ntp") { 5 source_set("ntp") {
6 sources = [ 6 sources = [
7 "new_tab_page_coordinator.h", 7 "ntp_coordinator.h",
8 "new_tab_page_coordinator.mm", 8 "ntp_coordinator.mm",
9 "ntp_home_coordinator.h",
10 "ntp_home_coordinator.mm",
11 "ntp_home_mediator.h",
12 "ntp_home_mediator.mm",
13 "ntp_mediator.h",
14 "ntp_mediator.mm",
9 ] 15 ]
10 16
11 configs += [ "//build/config/compiler:enable_arc" ] 17 configs += [ "//build/config/compiler:enable_arc" ]
12 18
13 deps = [ 19 deps = [
14 ":ntp_ui", 20 ":ntp_ui",
21 "//ios/chrome/app/strings:ios_strings_grit",
22 "//ios/chrome/browser/ui",
23 "//ios/chrome/browser/ui/ntp:ntp_internal",
24 "//ios/chrome/browser/ui/toolbar",
25 "//ios/clean/chrome/browser/ui/bookmarks",
26 "//ios/clean/chrome/browser/ui/commands",
27 "//ios/clean/chrome/browser/ui/recent_tabs",
28 "//ios/shared/chrome/browser/ui/browser_list",
29 "//ios/shared/chrome/browser/ui/commands",
15 "//ios/shared/chrome/browser/ui/coordinators", 30 "//ios/shared/chrome/browser/ui/coordinators",
31 "//ios/web:web_arc",
32 "//ui/base:base",
33 "//url:url",
16 ] 34 ]
17 } 35 }
18 36
19 source_set("ntp_ui") { 37 source_set("ntp_ui") {
20 sources = [ 38 sources = [
21 "new_tab_page_view_controller.h", 39 "ntp_consumer.h",
22 "new_tab_page_view_controller.mm", 40 "ntp_view_controller.h",
41 "ntp_view_controller.mm",
23 ] 42 ]
24 43
25 configs += [ "//build/config/compiler:enable_arc" ] 44 configs += [ "//build/config/compiler:enable_arc" ]
26 45
27 deps = [ 46 deps = [
28 "//base", 47 "//base",
29 "//components/strings:components_strings_grit", 48 "//components/strings:components_strings_grit",
30 "//ios/chrome/app/strings:ios_strings_grit", 49 "//ios/chrome/app/strings:ios_strings_grit",
50 "//ios/chrome/browser/ui:ui",
31 "//ios/chrome/browser/ui/ntp:ntp_internal", 51 "//ios/chrome/browser/ui/ntp:ntp_internal",
32 "//ios/clean/chrome/browser/ui", 52 "//ios/clean/chrome/browser/ui",
53 "//ios/clean/chrome/browser/ui/commands:commands",
33 "//ui/base:base", 54 "//ui/base:base",
34 ] 55 ]
35 } 56 }
57
58 source_set("unit_tests") {
59 testonly = true
60 sources = [
61 "ntp_coordinator_unittest.mm",
62 "ntp_home_coordinator_unittest.mm",
63 "ntp_home_mediator_unittest.mm",
64 "ntp_mediator_unittest.mm",
65 "ntp_view_controller_unittest.mm",
66 ]
67
68 deps = [
69 ":ntp",
70 ":ntp_ui",
71 "//testing/gtest",
72 ]
73 configs += [ "//build/config/compiler:enable_arc" ]
74 }
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/commands/tab_commands.h ('k') | ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698