naiveproxy/ios/chrome/browser/history/BUILD.gn

81 lines
2.0 KiB
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
# 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("history") {
sources = [
"history_backend_client_impl.cc",
"history_backend_client_impl.h",
"history_client_impl.cc",
"history_client_impl.h",
"history_service_factory.cc",
"history_service_factory.h",
"history_utils.cc",
"history_utils.h",
"top_sites_factory.cc",
"top_sites_factory.h",
"web_history_service_factory.cc",
"web_history_service_factory.h",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//components/browser_sync",
"//components/dom_distiller/core",
"//components/history/core/browser",
"//components/history/ios/browser",
"//components/keyed_service/core",
"//components/keyed_service/ios",
"//components/pref_registry",
"//components/prefs",
"//components/signin/core/browser",
"//components/sync",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/signin",
"//ios/web",
"//net",
"//url",
]
}
source_set("tab_helper") {
sources = [
"history_tab_helper.h",
"history_tab_helper.mm",
]
deps = [
":history",
"//base",
"//components/history/core/browser",
"//components/keyed_service/core",
"//components/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/web",
"//ui/base",
"//url",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"history_tab_helper_unittest.mm",
]
deps = [
":history",
":tab_helper",
"//base",
"//base/test:test_support",
"//components/history/core/browser",
"//components/keyed_service/core",
"//ios/chrome/browser/browser_state:test_support",
"//ios/web",
"//ios/web/public/test/fakes",
"//testing/gtest",
]
configs += [ "//build/config/compiler:enable_arc" ]
}