Roll leveldb 3f7758:803d69 (v1.17 -> v1.18)
[chromium-blink-merge.git] / components / suggestions / BUILD.gn
blobe2bb9070f5a50012e28be708cc8140a28fc17813
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
3 # found in the LICENSE file.
5 static_library("suggestions") {
6   sources = [
7     "blacklist_store.cc",
8     "blacklist_store.h",
9     "image_encoder.h",
10     "image_fetcher.h",
11     "image_fetcher_delegate.h",
12     "image_manager.cc",
13     "image_manager.h",
14     "suggestions_pref_names.cc",
15     "suggestions_pref_names.h",
16     "suggestions_service.cc",
17     "suggestions_service.h",
18     "suggestions_store.cc",
19     "suggestions_store.h",
20     "suggestions_utils.cc",
21     "suggestions_utils.h",
22   ]
24   deps = [
25     "//base",
26     "//components/keyed_service/core",
27     "//components/pref_registry",
28     "//components/suggestions/proto",
29     "//components/variations",
30     "//components/variations/net",
31     "//net",
32     "//ui/gfx",
33     "//url",
34   ]
36   if (is_ios) {
37     sources += [
38       "image_encoder_ios.mm",
39     ]
40   } else {
41     sources += [
42       "image_encoder.cc",
43     ]
44   }