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