[Telemetry] Always uploading browser log if enabled instead of wait for crash to...
[chromium-blink-merge.git] / components / undo / BUILD.gn
blobee93779a2bdd5316aa0fa1e28e693d6d365be829
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.
5 static_library("undo") {
6   sources = [
7     "bookmark_renumber_observer.h",
8     "bookmark_undo_service.cc",
9     "bookmark_undo_service.h",
10     "bookmark_undo_utils.cc",
11     "bookmark_undo_utils.h",
12     "undo_manager.cc",
13     "undo_manager.h",
14     "undo_manager_observer.h",
15     "undo_operation.h",
16   ]
18   deps = [
19     "//base",
20     "//components/bookmarks/browser",
21     "//components/keyed_service/core",
22     "//components/strings",
23     "//ui/base",
24   ]
27 source_set("unit_tests") {
28   testonly = true
29   sources = [
30     "bookmark_undo_service_test.cc",
31     "undo_manager_test.cc",
32   ]
34   deps = [
35     ":undo",
36     "//base",
37     "//components/bookmarks/browser",
38     "//components/bookmarks/test",
39     "//testing/gtest",
40   ]
41   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]