blob: d40d45ca54f6fad9d1320918cba9ca1696c9b193 [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361# Copyright 2015 The Chromium Authors
sdefresnec083d1f2015-04-17 21:12:182# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5static_library("undo") {
6 sources = [
sdefresnec083d1f2015-04-17 21:12:187 "bookmark_undo_service.cc",
8 "bookmark_undo_service.h",
9 "bookmark_undo_utils.cc",
10 "bookmark_undo_utils.h",
11 "undo_manager.cc",
12 "undo_manager.h",
13 "undo_manager_observer.h",
14 "undo_operation.h",
15 ]
16
17 deps = [
18 "//base",
19 "//components/bookmarks/browser",
20 "//components/keyed_service/core",
21 "//components/strings",
22 "//ui/base",
23 ]
24}
25
26source_set("unit_tests") {
27 testonly = true
28 sources = [
29 "bookmark_undo_service_test.cc",
30 "undo_manager_test.cc",
31 ]
32
33 deps = [
sdefresnee9368692015-04-20 15:38:5734 ":undo",
tfarinaa6fc3a22015-06-17 15:00:5435 "//base",
36 "//components/bookmarks/browser",
sdefresnec083d1f2015-04-17 21:12:1837 "//components/bookmarks/test",
sdefresnec083d1f2015-04-17 21:12:1838 "//testing/gtest",
sdefresnec083d1f2015-04-17 21:12:1839 ]
sdefresnec083d1f2015-04-17 21:12:1840}