summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/suggestions/BUILD.gn
blob: 7cf651ac6a827553d9cf08df08ccb142c94b6ed2 (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
42
43
44
# Copyright 2016 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.

source_set("suggestions") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "ios_image_decoder_impl.h",
    "ios_image_decoder_impl.mm",
    "suggestions_service_factory.h",
    "suggestions_service_factory.mm",
  ]
  deps = [
    "//base",
    "//components/browser_sync",
    "//components/image_fetcher",
    "//components/image_fetcher/ios",
    "//components/keyed_service/ios",
    "//components/leveldb_proto",
    "//components/signin/core/browser",
    "//components/suggestions",
    "//ios/chrome/browser/browser_state",
    "//ios/chrome/browser/signin",
    "//ios/chrome/browser/sync",
    "//ios/web",
    "//net",
    "//skia",
    "//ui/gfx",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "ios_image_decoder_impl_unittest.mm",
  ]
  deps = [
    ":suggestions",
    "//base",
    "//testing/gtest",
    "//ui/gfx",
  ]
}