BUILD.gn 852 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 2015 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. static_library("undo") {
  5. sources = [
  6. "bookmark_undo_service.cc",
  7. "bookmark_undo_service.h",
  8. "bookmark_undo_utils.cc",
  9. "bookmark_undo_utils.h",
  10. "undo_manager.cc",
  11. "undo_manager.h",
  12. "undo_manager_observer.h",
  13. "undo_operation.h",
  14. ]
  15. deps = [
  16. "//base",
  17. "//components/bookmarks/browser",
  18. "//components/keyed_service/core",
  19. "//components/strings",
  20. "//ui/base",
  21. ]
  22. }
  23. source_set("unit_tests") {
  24. testonly = true
  25. sources = [
  26. "bookmark_undo_service_test.cc",
  27. "undo_manager_test.cc",
  28. ]
  29. deps = [
  30. ":undo",
  31. "//base",
  32. "//components/bookmarks/browser",
  33. "//components/bookmarks/test",
  34. "//testing/gtest",
  35. ]
  36. }