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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 source_set("unit_tests") { | 67 source_set("unit_tests") { |
68 testonly = true | 68 testonly = true |
69 sources = [ | 69 sources = [ |
70 "bookmark_codec_unittest.cc", | 70 "bookmark_codec_unittest.cc", |
71 "bookmark_expanded_state_tracker_unittest.cc", | 71 "bookmark_expanded_state_tracker_unittest.cc", |
72 "bookmark_index_unittest.cc", | 72 "bookmark_index_unittest.cc", |
73 "bookmark_model_unittest.cc", | 73 "bookmark_model_unittest.cc", |
74 "bookmark_utils_unittest.cc", | 74 "bookmark_utils_unittest.cc", |
75 ] | 75 ] |
76 | 76 |
| 77 if (toolkit_views) { |
| 78 sources += [ "bookmark_node_data_unittest.cc" ] |
| 79 } |
| 80 |
77 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
78 | 82 |
79 deps = [ | 83 deps = [ |
80 ":browser", | 84 ":browser", |
81 "//base:prefs", | 85 "//base:prefs", |
82 "//base:prefs_test_support", | 86 "//base:prefs_test_support", |
83 "//components/bookmarks/common", | 87 "//components/bookmarks/common", |
84 "//components/bookmarks/test", | 88 "//components/bookmarks/test", |
85 "//components/favicon_base", | 89 "//components/favicon_base", |
86 "//components/pref_registry", | 90 "//components/pref_registry", |
87 "//testing/gtest", | 91 "//testing/gtest", |
88 "//ui/base", | 92 "//ui/base", |
89 "//url", | 93 "//url", |
90 ] | 94 ] |
91 } | 95 } |
OLD | NEW |