Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame^] | 1 | # Copyright 2015 The Chromium Authors |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | static_library("undo") { |
| 6 | sources = [ |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 7 | "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 | |
| 26 | source_set("unit_tests") { |
| 27 | testonly = true |
| 28 | sources = [ |
| 29 | "bookmark_undo_service_test.cc", |
| 30 | "undo_manager_test.cc", |
| 31 | ] |
| 32 | |
| 33 | deps = [ |
sdefresne | e936869 | 2015-04-20 15:38:57 | [diff] [blame] | 34 | ":undo", |
tfarina | a6fc3a2 | 2015-06-17 15:00:54 | [diff] [blame] | 35 | "//base", |
| 36 | "//components/bookmarks/browser", |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 37 | "//components/bookmarks/test", |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 38 | "//testing/gtest", |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 39 | ] |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 40 | } |