# Copyright 2016 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") { sources = [ "sc_content_suggestions_coordinator.h", "sc_content_suggestions_coordinator.mm", "sc_content_suggestions_data_source.h", "sc_content_suggestions_data_source.mm", "sc_content_suggestions_item.h", "sc_content_suggestions_item.mm", "sc_content_suggestions_most_visited_item.h", "sc_content_suggestions_most_visited_item.mm", ] deps = [ "//base", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser/ui:ui_util", "//ios/chrome/browser/ui/collection_view/cells", "//ios/chrome/browser/ui/content_suggestions:content_suggestions_ui", "//ios/chrome/browser/ui/content_suggestions/cells:cells_ui", "//ios/chrome/browser/ui/content_suggestions/identifier", "//ios/chrome/common/favicon", "//ios/showcase/common", "//ui/base", ] libs = [ "UIKit.framework" ] configs += [ "//build/config/compiler:enable_arc" ] } source_set("eg_tests") { testonly = true sources = [ "sc_content_suggestions_egtest.mm", ] deps = [ ":content_suggestions", "//components/strings", "//ios/chrome/app/strings", "//ios/chrome/browser/ui:ui_util", "//ios/chrome/browser/ui/content_suggestions:content_suggestions_ui", "//ios/chrome/browser/ui/content_suggestions/cells:cells_ui", "//ios/chrome/test/earl_grey:test_support", "//ios/showcase/test", "//ios/third_party/earl_grey:earl_grey+link", "//ui/base", ] configs += [ "//build/config/compiler:enable_arc" ] }