OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 source_set("browser") { | 7 source_set("browser") { |
8 sources = [ | 8 sources = [ |
9 "base_bookmark_model_observer.cc", | 9 "base_bookmark_model_observer.cc", |
10 "base_bookmark_model_observer.h", | 10 "base_bookmark_model_observer.h", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "//components/strings", | 52 "//components/strings", |
53 "//net", | 53 "//net", |
54 "//third_party/icu", | 54 "//third_party/icu", |
55 "//ui/base", | 55 "//ui/base", |
56 "//ui/gfx", | 56 "//ui/gfx", |
57 "//url", | 57 "//url", |
58 ] | 58 ] |
59 | 59 |
60 if (toolkit_views) { | 60 if (toolkit_views) { |
61 sources += [ "bookmark_node_data_views.cc" ] | 61 sources += [ "bookmark_node_data_views.cc" ] |
62 deps += [ "//ui/views" ] | |
63 } | 62 } |
64 } | 63 } |
65 | 64 |
66 source_set("unit_tests") { | 65 source_set("unit_tests") { |
67 testonly = true | 66 testonly = true |
68 sources = [ | 67 sources = [ |
69 "bookmark_codec_unittest.cc", | 68 "bookmark_codec_unittest.cc", |
70 "bookmark_expanded_state_tracker_unittest.cc", | 69 "bookmark_expanded_state_tracker_unittest.cc", |
71 "bookmark_index_unittest.cc", | 70 "bookmark_index_unittest.cc", |
72 "bookmark_model_unittest.cc", | 71 "bookmark_model_unittest.cc", |
73 "bookmark_utils_unittest.cc", | 72 "bookmark_utils_unittest.cc", |
74 ] | 73 ] |
75 | 74 |
76 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
77 | 76 |
78 deps = [ | 77 deps = [ |
79 ":browser", | 78 ":browser", |
80 "//base:prefs", | 79 "//base:prefs", |
81 "//base:prefs_test_support", | 80 "//base:prefs_test_support", |
82 "//components/bookmarks/common", | 81 "//components/bookmarks/common", |
83 "//components/bookmarks/test", | 82 "//components/bookmarks/test", |
84 "//components/pref_registry", | 83 "//components/pref_registry", |
85 "//testing/gtest", | 84 "//testing/gtest", |
86 "//ui/base", | 85 "//ui/base", |
87 "//url", | 86 "//url", |
88 ] | 87 ] |
89 } | 88 } |
OLD | NEW |