OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 static_library("sync_bookmarks") { | 7 static_library("sync_bookmarks") { |
8 sources = [ | 8 sources = [ |
9 "bookmark_change_processor.cc", | 9 "bookmark_change_processor.cc", |
10 "bookmark_change_processor.h", | 10 "bookmark_change_processor.h", |
11 "bookmark_data_type_controller.cc", | 11 "bookmark_data_type_controller.cc", |
12 "bookmark_data_type_controller.h", | 12 "bookmark_data_type_controller.h", |
13 "bookmark_model_associator.cc", | 13 "bookmark_model_associator.cc", |
14 "bookmark_model_associator.h", | 14 "bookmark_model_associator.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//components/bookmarks/browser", | 19 "//components/bookmarks/browser", |
20 "//components/favicon/core", | 20 "//components/favicon/core", |
21 "//components/history/core/browser", | 21 "//components/history/core/browser", |
22 "//components/sync", | 22 "//components/sync", |
23 "//components/sync_driver", | |
24 "//components/undo", | 23 "//components/undo", |
25 "//ui/gfx", | 24 "//ui/gfx", |
26 ] | 25 ] |
27 } | 26 } |
28 | 27 |
29 source_set("unit_tests") { | 28 source_set("unit_tests") { |
30 testonly = true | 29 testonly = true |
31 | 30 |
32 sources = [ | 31 sources = [ |
33 "bookmark_data_type_controller_unittest.cc", | 32 "bookmark_data_type_controller_unittest.cc", |
34 ] | 33 ] |
35 | 34 |
36 deps = [ | 35 deps = [ |
37 ":sync_bookmarks", | 36 ":sync_bookmarks", |
38 "//base", | 37 "//base", |
39 "//components/bookmarks/browser", | 38 "//components/bookmarks/browser", |
40 "//components/bookmarks/test", | 39 "//components/bookmarks/test", |
41 "//components/history/core/browser", | 40 "//components/history/core/browser", |
42 "//components/prefs:test_support", | 41 "//components/prefs:test_support", |
43 "//components/sync", | 42 "//components/sync", |
44 "//components/sync_driver", | 43 "//components/sync:test_support_sync_driver", |
45 "//components/sync_driver:test_support", | |
46 "//testing/gmock", | 44 "//testing/gmock", |
47 "//testing/gtest", | 45 "//testing/gtest", |
48 ] | 46 ] |
49 } | 47 } |
OLD | NEW |