Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: components/undo/BUILD.gn

Issue 1090993003: Move undo files into //components/undo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@utils
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/undo.gypi ('k') | components/undo/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/undo/BUILD.gn
diff --git a/components/bookmarks/managed/BUILD.gn b/components/undo/BUILD.gn
similarity index 51%
copy from components/bookmarks/managed/BUILD.gn
copy to components/undo/BUILD.gn
index 5091386cccb00457bda0bfba74ce0704af42cd8f..1b059cf32948bec7fdb9304e0659719794fb01c3 100644
--- a/components/bookmarks/managed/BUILD.gn
+++ b/components/undo/BUILD.gn
@@ -2,31 +2,36 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("managed") {
+static_library("undo") {
sources = [
- "managed_bookmarks_tracker.cc",
- "managed_bookmarks_tracker.h",
+ "bookmark_renumber_observer.h",
+ "bookmark_undo_service.cc",
+ "bookmark_undo_service.h",
+ "undo_manager.cc",
+ "undo_manager.h",
+ "undo_manager_observer.h",
+ "undo_operation.h",
]
deps = [
+ "//base",
"//components/bookmarks/browser",
+ "//components/keyed_service/core",
"//components/strings",
+ "//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "managed_bookmarks_tracker_unittest.cc",
+ "bookmark_undo_service_test.cc",
+ "undo_manager_test.cc",
]
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
deps = [
- ":managed",
"//components/bookmarks/test",
- "//components/strings",
- "//testing/gmock",
+ "//components/undo",
droger 2015/04/17 09:06:21 Should it be ":undo" instead? I don't know if this
sdefresne 2015/04/17 13:52:00 There is no need, as //a/b is the same as //a/b:b.
tfarina 2015/04/17 20:53:15 I think that is not Roger was suggesting. What I
"//testing/gtest",
]
}
« no previous file with comments | « components/undo.gypi ('k') | components/undo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698