blob: 026aa3ab806f45aadbc4360160a860957693606c [file] [log] [blame]
# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
static_library("sync_bookmarks") {
sources = [
"bookmark_local_changes_builder.cc",
"bookmark_local_changes_builder.h",
"bookmark_model_merger.cc",
"bookmark_model_merger.h",
"bookmark_model_observer_impl.cc",
"bookmark_model_observer_impl.h",
"bookmark_model_type_controller.cc",
"bookmark_model_type_controller.h",
"bookmark_model_type_processor.cc",
"bookmark_model_type_processor.h",
"bookmark_model_view.cc",
"bookmark_model_view.h",
"bookmark_remote_updates_handler.cc",
"bookmark_remote_updates_handler.h",
"bookmark_specifics_conversions.cc",
"bookmark_specifics_conversions.h",
"bookmark_sync_service.cc",
"bookmark_sync_service.h",
"local_bookmark_model_merger.cc",
"local_bookmark_model_merger.h",
"parent_guid_preprocessing.cc",
"parent_guid_preprocessing.h",
"switches.cc",
"switches.h",
"synced_bookmark_tracker.cc",
"synced_bookmark_tracker.h",
"synced_bookmark_tracker_entity.cc",
"synced_bookmark_tracker_entity.h",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//components/favicon/core",
"//components/keyed_service/core:core",
"//components/sync",
"//components/undo",
"//components/version_info",
"//ui/base",
"//ui/gfx",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"bookmark_model_merger_unittest.cc",
"bookmark_model_observer_impl_unittest.cc",
"bookmark_model_type_processor_unittest.cc",
"bookmark_model_view_unittest.cc",
"bookmark_remote_updates_handler_unittest.cc",
"bookmark_specifics_conversions_unittest.cc",
"local_bookmark_model_merger_unittest.cc",
"parent_guid_preprocessing_unittest.cc",
"synced_bookmark_tracker_unittest.cc",
"test_bookmark_model_view.cc",
"test_bookmark_model_view.h",
]
deps = [
":sync_bookmarks",
"//base",
"//base/test:test_support",
"//components/bookmarks/browser",
"//components/bookmarks/test",
"//components/favicon/core/test:test_support",
"//components/prefs:test_support",
"//components/sync:test_support",
"//components/sync/base:features",
"//components/undo",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//ui/base",
"//ui/gfx",
"//ui/gfx:test_support",
]
}