| Index: ios/clean/chrome/browser/ui/bookmarks/BUILD.gn
|
| diff --git a/ios/clean/chrome/browser/ui/ntp/BUILD.gn b/ios/clean/chrome/browser/ui/bookmarks/BUILD.gn
|
| similarity index 51%
|
| copy from ios/clean/chrome/browser/ui/ntp/BUILD.gn
|
| copy to ios/clean/chrome/browser/ui/bookmarks/BUILD.gn
|
| index 363e9659226490453ab39cdc4f3e06ad49bac1d9..45857a3f3775c6d315855aa07077130db6083c9b 100644
|
| --- a/ios/clean/chrome/browser/ui/ntp/BUILD.gn
|
| +++ b/ios/clean/chrome/browser/ui/bookmarks/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("bookmarks") {
|
| sources = [
|
| - "new_tab_page_coordinator.h",
|
| - "new_tab_page_coordinator.mm",
|
| + "bookmarks_coordinator.h",
|
| + "bookmarks_coordinator.mm",
|
| ]
|
|
|
| configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
| deps = [
|
| - ":ntp_ui",
|
| + "//ios/chrome/browser/ui",
|
| + "//ios/chrome/browser/ui/bookmarks",
|
| "//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",
|
| + "bookmarks_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",
|
| + ":bookmarks",
|
| + "//testing/gtest",
|
| ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| }
|
|
|