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 static_library("suggestions") { | 5 static_library("suggestions") { |
6 sources = [ | 6 sources = [ |
7 "blacklist_store.cc", | 7 "blacklist_store.cc", |
8 "blacklist_store.h", | 8 "blacklist_store.h", |
9 "image_encoder.h", | 9 "image_encoder.h", |
10 "image_manager.cc", | 10 "image_manager.cc", |
11 "image_manager.h", | 11 "image_manager.h", |
12 "suggestions_pref_names.cc", | 12 "suggestions_pref_names.cc", |
13 "suggestions_pref_names.h", | 13 "suggestions_pref_names.h", |
14 "suggestions_service.cc", | |
15 "suggestions_service.h", | 14 "suggestions_service.h", |
| 15 "suggestions_service_impl.cc", |
| 16 "suggestions_service_impl.h", |
16 "suggestions_store.cc", | 17 "suggestions_store.cc", |
17 "suggestions_store.h", | 18 "suggestions_store.h", |
18 ] | 19 ] |
19 | 20 |
20 public_deps = [ | 21 public_deps = [ |
21 "//base", | 22 "//base", |
22 "//components/prefs", | 23 "//components/prefs", |
23 "//components/suggestions/proto", | 24 "//components/suggestions/proto", |
24 "//net", | 25 "//net", |
25 "//ui/gfx", | 26 "//ui/gfx", |
(...skipping 18 matching lines...) Expand all Loading... |
44 } else { | 45 } else { |
45 sources += [ "image_encoder.cc" ] | 46 sources += [ "image_encoder.cc" ] |
46 } | 47 } |
47 } | 48 } |
48 | 49 |
49 source_set("unit_tests") { | 50 source_set("unit_tests") { |
50 testonly = true | 51 testonly = true |
51 sources = [ | 52 sources = [ |
52 "blacklist_store_unittest.cc", | 53 "blacklist_store_unittest.cc", |
53 "image_manager_unittest.cc", | 54 "image_manager_unittest.cc", |
54 "suggestions_service_unittest.cc", | 55 "suggestions_service_impl_unittest.cc", |
55 "suggestions_store_unittest.cc", | 56 "suggestions_store_unittest.cc", |
56 ] | 57 ] |
57 deps = [ | 58 deps = [ |
58 ":suggestions", | 59 ":suggestions", |
59 "//base/test:test_support", | 60 "//base/test:test_support", |
60 "//components/image_fetcher", | 61 "//components/image_fetcher", |
61 "//components/leveldb_proto:test_support", | 62 "//components/leveldb_proto:test_support", |
62 "//components/signin/core/browser:test_support", | 63 "//components/signin/core/browser:test_support", |
63 "//components/sync", | 64 "//components/sync", |
64 "//components/sync:test_support_driver", | 65 "//components/sync:test_support_driver", |
65 "//components/sync_preferences:test_support", | 66 "//components/sync_preferences:test_support", |
66 "//net:test_support", | 67 "//net:test_support", |
67 "//testing/gmock", | 68 "//testing/gmock", |
68 "//testing/gtest", | 69 "//testing/gtest", |
69 ] | 70 ] |
70 } | 71 } |
OLD | NEW |