blob: b9fbbf028a0b61a632fccb383ad991fae9fcc61c [file] [log] [blame]
# 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/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/browser/ui/util",
"//ios/chrome/common/ui/favicon",
"//ios/showcase/common",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("eg2_tests") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [ "sc_content_suggestions_egtest.mm" ]
deps = [
"//base",
"//components/strings",
"//ios/chrome/app/strings",
"//ios/chrome/browser/ui/content_suggestions:constants",
"//ios/showcase/test:eg2_test",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}