blob: c9da2de7d679cf43041c2d986086e3d900f146d1 [file] [log] [blame]
# Copyright 2018 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.
static_library("send_tab_to_self") {
sources = [
"send_tab_to_self_bridge.cc",
"send_tab_to_self_bridge.h",
"send_tab_to_self_entry.cc",
"send_tab_to_self_entry.h",
"send_tab_to_self_model.cc",
"send_tab_to_self_model.h",
"send_tab_to_self_model_observer.h",
"send_tab_to_self_sync_service.cc",
"send_tab_to_self_sync_service.h",
]
deps = [
"//base",
"//components/history/core/browser",
"//components/keyed_service/core",
"//components/send_tab_to_self/proto:send_tab_to_self_proto",
"//components/sync",
"//components/version_info",
"//url",
]
public_deps = [
"//components/send_tab_to_self/proto:send_tab_to_self_proto",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"send_tab_to_self_bridge_unittest.cc",
"send_tab_to_self_entry_unittest.cc",
]
deps = [
":send_tab_to_self",
"//base",
"//base/test:test_support",
"//components/history/core/browser",
"//components/send_tab_to_self/proto:send_tab_to_self_proto",
"//components/sync",
"//components/sync:test_support_driver",
"//components/sync:test_support_model",
"//testing/gtest",
"//url",
]
}