summaryrefslogtreecommitdiff
path: root/chromium/components/undo/BUILD.gn
blob: 09c2426ebbb704d4626bd5be96cadc8df42d9611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

static_library("undo") {
  sources = [
    "bookmark_undo_service.cc",
    "bookmark_undo_service.h",
    "bookmark_undo_utils.cc",
    "bookmark_undo_utils.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 = [
    "bookmark_undo_service_test.cc",
    "undo_manager_test.cc",
  ]

  deps = [
    ":undo",
    "//base",
    "//components/bookmarks/browser",
    "//components/bookmarks/test",
    "//testing/gtest",
  ]
  configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}