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("test") { | 7 source_set("test") { |
| 8 testonly = true |
8 sources = [ | 9 sources = [ |
9 "bookmark_test_helpers.cc", | 10 "bookmark_test_helpers.cc", |
10 "bookmark_test_helpers.h", | 11 "bookmark_test_helpers.h", |
11 "mock_bookmark_model_observer.cc", | 12 "mock_bookmark_model_observer.cc", |
12 "mock_bookmark_model_observer.h", | 13 "mock_bookmark_model_observer.h", |
13 "test_bookmark_client.cc", | 14 "test_bookmark_client.cc", |
14 "test_bookmark_client.h", | 15 "test_bookmark_client.h", |
15 ] | 16 ] |
16 | 17 |
17 deps = [ | 18 deps = [ |
18 "//base", | 19 "//base", |
19 "//components/bookmarks/browser", | 20 "//components/bookmarks/browser", |
20 "//testing/gmock", | 21 "//testing/gmock", |
21 "//ui/events/platform", | 22 "//ui/events/platform", |
22 "//url", | 23 "//url", |
23 ] | 24 ] |
24 | 25 |
25 if (use_x11) { | 26 if (use_x11) { |
26 deps += [ | 27 deps += [ |
27 "//ui/events/platform/x11", | 28 "//ui/events/platform/x11", |
28 ] | 29 ] |
29 } | 30 } |
30 } | 31 } |
OLD | NEW |