summaryrefslogtreecommitdiffstats
path: root/components/suggestions/BUILD.gn
blob: 58291765f4860dc76e827c1c4fc11738f6b6787b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

static_library("suggestions") {
  sources = [
    "blacklist_store.cc",
    "blacklist_store.h",
    "image_encoder.h",
    "image_fetcher.h",
    "image_fetcher_delegate.h",
    "image_manager.cc",
    "image_manager.h",
    "suggestions_pref_names.cc",
    "suggestions_pref_names.h",
    "suggestions_service.cc",
    "suggestions_service.h",
    "suggestions_store.cc",
    "suggestions_store.h",
    "suggestions_utils.cc",
    "suggestions_utils.h",
  ]

  deps = [
    "//base",
    "//components/keyed_service/core",
    "//components/pref_registry",
    "//components/suggestions/proto",
    "//components/variations",
    "//components/variations/net",
    "//net",
    "//ui/gfx",
    "//url",
  ]

  if (is_ios) {
    sources += [ "image_encoder_ios.mm" ]
  } else {
    sources += [ "image_encoder.cc" ]
  }
}