| # 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_service.cc", |
| "send_tab_to_self_service.h", |
| ] |
| deps = [ |
| "//base", |
| "//components/keyed_service/core", |
| "//components/sync", |
| "//components/version_info", |
| "//url", |
| ] |
| } |
| |
| 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/sync", |
| "//components/sync:test_support_driver", |
| "//components/sync:test_support_model", |
| "//testing/gtest", |
| "//url", |
| ] |
| } |