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_fetcher.h", | 10 "image_fetcher.h", |
10 "image_fetcher_delegate.h", | 11 "image_fetcher_delegate.h", |
11 "image_manager.cc", | 12 "image_manager.cc", |
12 "image_manager.h", | 13 "image_manager.h", |
13 "suggestions_pref_names.cc", | 14 "suggestions_pref_names.cc", |
14 "suggestions_pref_names.h", | 15 "suggestions_pref_names.h", |
15 "suggestions_service.cc", | 16 "suggestions_service.cc", |
16 "suggestions_service.h", | 17 "suggestions_service.h", |
17 "suggestions_store.cc", | 18 "suggestions_store.cc", |
18 "suggestions_store.h", | 19 "suggestions_store.h", |
19 "suggestions_utils.cc", | 20 "suggestions_utils.cc", |
20 "suggestions_utils.h", | 21 "suggestions_utils.h", |
21 ] | 22 ] |
22 | 23 |
23 deps = [ | 24 deps = [ |
24 "//base", | 25 "//base", |
25 "//components/keyed_service/core", | 26 "//components/keyed_service/core", |
26 "//components/pref_registry", | 27 "//components/pref_registry", |
27 "//components/suggestions/proto", | 28 "//components/suggestions/proto", |
28 "//components/variations", | 29 "//components/variations", |
29 "//net", | 30 "//net", |
30 "//ui/gfx", | 31 "//ui/gfx", |
31 "//url", | 32 "//url", |
32 ] | 33 ] |
33 | 34 |
34 if (is_ios) { | 35 if (is_ios) { |
35 sources += [ | 36 sources += [ |
36 "image_encoder_ios.h", | |
37 "image_encoder_ios.mm", | 37 "image_encoder_ios.mm", |
38 ] | 38 ] |
39 } else { | 39 } else { |
40 sources += [ | 40 sources += [ |
41 "image_encoder.cc", | 41 "image_encoder.cc", |
42 "image_encoder.h", | |
43 ] | 42 ] |
44 } | 43 } |
45 } | 44 } |
OLD | NEW |