Remove implicit conversions from scoped_refptr to T* in net/socket/
[chromium-blink-merge.git] / components / bookmarks / browser / BUILD.gn
blobdf6e2f32742d720fc94f7c5fe6336620958cd47a
1 # Copyright 2014 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 import("//build/config/ui.gni")
7 source_set("browser") {
8   sources = [
9     "base_bookmark_model_observer.cc",
10     "base_bookmark_model_observer.h",
11     "bookmark_client.cc",
12     "bookmark_client.h",
13     "bookmark_codec.cc",
14     "bookmark_codec.h",
15     "bookmark_expanded_state_tracker.cc",
16     "bookmark_expanded_state_tracker.h",
17     "bookmark_index.cc",
18     "bookmark_index.h",
19     "bookmark_match.cc",
20     "bookmark_match.h",
21     "bookmark_model.cc",
22     "bookmark_model.h",
23     "bookmark_model_observer.h",
24     "bookmark_node.cc",
25     "bookmark_node.h",
26     "bookmark_node_data.cc",
27     "bookmark_node_data.h",
28     "bookmark_node_data_ios.cc",
29     "bookmark_node_data_mac.cc",
30     "bookmark_pasteboard_helper_mac.h",
31     "bookmark_pasteboard_helper_mac.mm",
32     "bookmark_storage.cc",
33     "bookmark_storage.h",
34     "bookmark_utils.cc",
35     "bookmark_utils.h",
36     "scoped_group_bookmark_actions.cc",
37     "scoped_group_bookmark_actions.h",
38   ]
40   deps = [
41     "//base",
42     "//components/bookmarks/common",
43     "//components/favicon_base",
44     "//components/keyed_service/core",
45     "//components/pref_registry",
46     "//components/query_parser",
47     "//components/startup_metric_utils",
48     "//components/strings",
49     "//net",
50     "//third_party/icu",
51     "//ui/base",
52     "//ui/gfx",
53     "//url",
54   ]
56   if (toolkit_views) {
57     sources += [
58       "bookmark_node_data_views.cc",
59     ]
60   }
63 source_set("unit_tests") {
64   sources = [
65     "bookmark_codec_unittest.cc",
66     "bookmark_expanded_state_tracker_unittest.cc",
67     "bookmark_index_unittest.cc",
68     "bookmark_model_unittest.cc",
69     "bookmark_utils_unittest.cc",
70   ]
72   deps = [
73     ":browser",
74     "//testing/gtest",
75   ]