# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source_set("content_suggestions") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "content_suggestions_alert_factory.h", "content_suggestions_alert_factory.mm", "content_suggestions_category_wrapper.h", "content_suggestions_category_wrapper.mm", "content_suggestions_coordinator.h", "content_suggestions_coordinator.mm", "content_suggestions_favicon_mediator.h", "content_suggestions_favicon_mediator.mm", "content_suggestions_header_view_controller.h", "content_suggestions_header_view_controller.mm", "content_suggestions_mediator.h", "content_suggestions_mediator.mm", "content_suggestions_metrics_recorder.h", "content_suggestions_metrics_recorder.mm", "content_suggestions_service_bridge_observer.h", "content_suggestions_service_bridge_observer.mm", "mediator_util.h", "mediator_util.mm", "ntp_home_mediator.h", "ntp_home_mediator.mm", "ntp_home_metrics.h", "ntp_home_metrics.mm", ] deps = [ "//base", "//components/favicon/core", "//components/ntp_snippets", "//components/ntp_tiles", "//components/reading_list/core", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser", "//ios/chrome/browser/browser_state", "//ios/chrome/browser/favicon", "//ios/chrome/browser/metrics:metrics_internal", "//ios/chrome/browser/ntp_snippets", "//ios/chrome/browser/ntp_tiles", "//ios/chrome/browser/reading_list", "//ios/chrome/browser/tabs", "//ios/chrome/browser/ui", "//ios/chrome/browser/ui/alert_coordinator", "//ios/chrome/browser/ui/collection_view/cells", "//ios/chrome/browser/ui/commands", "//ios/chrome/browser/ui/content_suggestions", "//ios/chrome/browser/ui/content_suggestions:content_suggestions_constant", "//ios/chrome/browser/ui/content_suggestions:content_suggestions_util", "//ios/chrome/browser/ui/content_suggestions/cells", "//ios/chrome/browser/ui/content_suggestions/cells:cells_ui", "//ios/chrome/browser/ui/content_suggestions/identifier", "//ios/chrome/browser/ui/favicon", "//ios/chrome/browser/ui/favicon:favicon_ui", "//ios/chrome/browser/ui/ntp", "//ios/chrome/browser/ui/ntp:ntp_header", "//ios/chrome/browser/ui/ntp:ntp_internal", "//ios/chrome/browser/ui/overscroll_actions", "//ios/chrome/browser/ui/reading_list", "//ios/chrome/browser/ui/toolbar", "//ios/chrome/browser/web_state_list", "//ios/chrome/common/app_group", "//ios/public/provider/chrome/browser", "//ios/public/provider/chrome/browser/images", "//ios/public/provider/chrome/browser/voice", "//ios/web", "//ui/base", "//ui/strings", ] } source_set("unit_tests") { testonly = true sources = [ "content_suggestions_category_wrapper_unittest.mm", ] deps = [ ":content_suggestions", "//components/ntp_snippets", "//testing/gtest", ] configs += [ "//build/config/compiler:enable_arc" ] }