| 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("recent_tabs") { |
| 6 sources = [ | 6 sources = [ |
| 7 "new_tab_page_coordinator.h", | 7 "recent_tabs_coordinator.h", |
| 8 "new_tab_page_coordinator.mm", | 8 "recent_tabs_coordinator.mm", |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 configs += [ "//build/config/compiler:enable_arc" ] | 11 configs += [ "//build/config/compiler:enable_arc" ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 ":ntp_ui", | 14 "//ios/chrome/browser/ui", |
| 15 "//ios/chrome/browser/ui/ntp/recent_tabs", |
| 15 "//ios/shared/chrome/browser/coordinator_context", | 16 "//ios/shared/chrome/browser/coordinator_context", |
| 17 "//ios/shared/chrome/browser/ui/browser_list", |
| 16 "//ios/shared/chrome/browser/ui/coordinators", | 18 "//ios/shared/chrome/browser/ui/coordinators", |
| 17 ] | 19 ] |
| 18 } | 20 } |
| 19 | 21 |
| 20 source_set("ntp_ui") { | 22 source_set("unit_tests") { |
| 23 testonly = true |
| 21 sources = [ | 24 sources = [ |
| 22 "new_tab_page_view_controller.h", | 25 "recent_tabs_coordinator_unittest.mm", |
| 23 "new_tab_page_view_controller.mm", | |
| 24 ] | 26 ] |
| 25 | 27 |
| 28 deps = [ |
| 29 ":recent_tabs", |
| 30 "//testing/gtest", |
| 31 ] |
| 26 configs += [ "//build/config/compiler:enable_arc" ] | 32 configs += [ "//build/config/compiler:enable_arc" ] |
| 27 | |
| 28 deps = [ | |
| 29 "//base", | |
| 30 "//components/strings:components_strings_grit", | |
| 31 "//ios/chrome/app/strings:ios_strings_grit", | |
| 32 "//ios/chrome/browser/ui/ntp:ntp_internal", | |
| 33 "//ios/clean/chrome/browser/ui", | |
| 34 "//ui/base:base", | |
| 35 ] | |
| 36 } | 33 } |
| OLD | NEW |