Index: ios/clean/chrome/browser/ui/recent_tabs/BUILD.gn |
diff --git a/ios/clean/chrome/browser/ui/ntp/BUILD.gn b/ios/clean/chrome/browser/ui/recent_tabs/BUILD.gn |
similarity index 51% |
copy from ios/clean/chrome/browser/ui/ntp/BUILD.gn |
copy to ios/clean/chrome/browser/ui/recent_tabs/BUILD.gn |
index 363e9659226490453ab39cdc4f3e06ad49bac1d9..f4c8ec7ff416d00243f332039e8bdfe6c1d25c3e 100644 |
--- a/ios/clean/chrome/browser/ui/ntp/BUILD.gn |
+++ b/ios/clean/chrome/browser/ui/recent_tabs/BUILD.gn |
@@ -2,35 +2,32 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("ntp") { |
+source_set("recent_tabs") { |
sources = [ |
- "new_tab_page_coordinator.h", |
- "new_tab_page_coordinator.mm", |
+ "recent_tabs_coordinator.h", |
+ "recent_tabs_coordinator.mm", |
] |
configs += [ "//build/config/compiler:enable_arc" ] |
deps = [ |
- ":ntp_ui", |
+ "//ios/chrome/browser/ui", |
+ "//ios/chrome/browser/ui/ntp/recent_tabs", |
"//ios/shared/chrome/browser/coordinator_context", |
+ "//ios/shared/chrome/browser/ui/browser_list", |
"//ios/shared/chrome/browser/ui/coordinators", |
] |
} |
-source_set("ntp_ui") { |
+source_set("unit_tests") { |
+ testonly = true |
sources = [ |
- "new_tab_page_view_controller.h", |
- "new_tab_page_view_controller.mm", |
+ "recent_tabs_coordinator_unittest.mm", |
] |
- configs += [ "//build/config/compiler:enable_arc" ] |
- |
deps = [ |
- "//base", |
- "//components/strings:components_strings_grit", |
- "//ios/chrome/app/strings:ios_strings_grit", |
- "//ios/chrome/browser/ui/ntp:ntp_internal", |
- "//ios/clean/chrome/browser/ui", |
- "//ui/base:base", |
+ ":recent_tabs", |
+ "//testing/gtest", |
] |
+ configs += [ "//build/config/compiler:enable_arc" ] |
} |