OLD | NEW |
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 "new_tab_page_coordinator.h", |
8 "new_tab_page_coordinator.mm", | 8 "new_tab_page_coordinator.mm", |
| 9 "new_tab_page_home_coordinator.h", |
| 10 "new_tab_page_home_coordinator.mm", |
| 11 "new_tab_page_incognito_coordinator.h", |
| 12 "new_tab_page_incognito_coordinator.mm", |
| 13 "new_tab_page_mediator.h", |
| 14 "new_tab_page_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:ui", |
| 23 "//ios/chrome/browser/ui/ntp:ntp_internal", |
| 24 "//ios/chrome/browser/ui/toolbar:toolbar", |
| 25 "//ios/clean/chrome/browser/ui/bookmarks/", |
| 26 "//ios/clean/chrome/browser/ui/commands:commands", |
| 27 "//ios/clean/chrome/browser/ui/open_tabs/", |
15 "//ios/shared/chrome/browser/coordinator_context", | 28 "//ios/shared/chrome/browser/coordinator_context", |
| 29 "//ios/shared/chrome/browser/ui/browser_list:browser_list", |
16 "//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", |
17 ] | 34 ] |
18 } | 35 } |
19 | 36 |
20 source_set("ntp_ui") { | 37 source_set("ntp_ui") { |
21 sources = [ | 38 sources = [ |
| 39 "new_tab_page_consumer.h", |
22 "new_tab_page_view_controller.h", | 40 "new_tab_page_view_controller.h", |
23 "new_tab_page_view_controller.mm", | 41 "new_tab_page_view_controller.mm", |
24 ] | 42 ] |
25 | 43 |
26 configs += [ "//build/config/compiler:enable_arc" ] | 44 configs += [ "//build/config/compiler:enable_arc" ] |
27 | 45 |
28 deps = [ | 46 deps = [ |
29 "//base", | 47 "//base", |
30 "//components/strings:components_strings_grit", | 48 "//components/strings:components_strings_grit", |
31 "//ios/chrome/app/strings:ios_strings_grit", | 49 "//ios/chrome/app/strings:ios_strings_grit", |
| 50 "//ios/chrome/browser/ui:ui", |
32 "//ios/chrome/browser/ui/ntp:ntp_internal", | 51 "//ios/chrome/browser/ui/ntp:ntp_internal", |
33 "//ios/clean/chrome/browser/ui", | 52 "//ios/clean/chrome/browser/ui", |
| 53 "//ios/clean/chrome/browser/ui/commands:commands", |
34 "//ui/base:base", | 54 "//ui/base:base", |
35 ] | 55 ] |
36 } | 56 } |
OLD | NEW |