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

Unified Diff: ios/clean/chrome/browser/ui/recent_tabs/BUILD.gn

Issue 2785893003: [ios clean] Add placeholder for NTP bookmarks, chrome home and open tabs. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
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" ]
}

Powered by Google App Engine
This is Rietveld 408576698