OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("suggestions") { | 5 source_set("suggestions") { |
6 sources = [ | 6 sources = [ |
7 "image_fetcher_impl.h", | 7 "image_fetcher_impl.h", |
8 "image_fetcher_impl.mm", | 8 "image_fetcher_impl.mm", |
9 "ios_image_decoder_impl.h", | 9 "ios_image_decoder_impl.h", |
10 "ios_image_decoder_impl.mm", | 10 "ios_image_decoder_impl.mm", |
| 11 "suggestions_coordinator.h", |
| 12 "suggestions_coordinator.mm", |
11 "suggestions_service_factory.h", | 13 "suggestions_service_factory.h", |
12 "suggestions_service_factory.mm", | 14 "suggestions_service_factory.mm", |
13 ] | 15 ] |
14 deps = [ | 16 deps = [ |
15 "//base", | 17 "//base", |
16 "//components/browser_sync", | 18 "//components/browser_sync", |
17 "//components/image_fetcher", | 19 "//components/image_fetcher", |
18 "//components/keyed_service/ios", | 20 "//components/keyed_service/ios", |
19 "//components/leveldb_proto", | 21 "//components/leveldb_proto", |
20 "//components/signin/core/browser", | 22 "//components/signin/core/browser", |
21 "//components/suggestions", | 23 "//components/suggestions", |
| 24 "//ios/chrome/app/strings", |
| 25 "//ios/chrome/browser", |
22 "//ios/chrome/browser/browser_state", | 26 "//ios/chrome/browser/browser_state", |
23 "//ios/chrome/browser/signin", | 27 "//ios/chrome/browser/signin", |
24 "//ios/chrome/browser/sync", | 28 "//ios/chrome/browser/sync", |
| 29 "//ios/chrome/browser/ui/suggestions", |
25 "//ios/web", | 30 "//ios/web", |
26 "//ios/web/public/image_fetcher", | 31 "//ios/web/public/image_fetcher", |
27 "//net", | 32 "//net", |
28 "//skia", | 33 "//skia", |
| 34 "//ui/base", |
29 "//ui/gfx", | 35 "//ui/gfx", |
30 ] | 36 ] |
31 } | 37 } |
32 | 38 |
33 source_set("unit_tests") { | 39 source_set("unit_tests") { |
34 configs += [ "//build/config/compiler:enable_arc" ] | 40 configs += [ "//build/config/compiler:enable_arc" ] |
35 testonly = true | 41 testonly = true |
36 sources = [ | 42 sources = [ |
37 "ios_image_decoder_impl_unittest.mm", | 43 "ios_image_decoder_impl_unittest.mm", |
38 ] | 44 ] |
39 deps = [ | 45 deps = [ |
40 ":suggestions", | 46 ":suggestions", |
41 "//base", | 47 "//base", |
42 "//testing/gtest", | 48 "//testing/gtest", |
43 "//ui/gfx", | 49 "//ui/gfx", |
44 ] | 50 ] |
45 } | 51 } |
OLD | NEW |