# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("model") {
sources = [
"ios_most_visited_sites_factory.cc",
"ios_most_visited_sites_factory.h",
"ios_popular_sites_factory.h",
"ios_popular_sites_factory.mm",
"most_visited_sites_observer_bridge.h",
"most_visited_sites_observer_bridge.mm",
]
deps = [
"//base",
"//components/history/core/browser",
"//components/image_fetcher/core",
"//components/image_fetcher/ios",
"//components/keyed_service/core",
"//components/ntp_tiles",
"//ios/chrome/browser/favicon/model",
"//ios/chrome/browser/history/model",
"//ios/chrome/browser/search_engines/model",
"//ios/chrome/browser/shared/model/application_context",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/signin/model",
"//ios/chrome/browser/supervised_user/model",
"//ios/web",
"//services/data_decoder/public/cpp",
"//services/network/public/cpp",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "ntp_tiles_egtest.mm" ]
deps = [
"//base/test:test_support",
"//ios/chrome/browser/shared/public/features",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/web/public/test/http_server:http_server",
"//net",
]
frameworks = [ "UIKit.framework" ]
}