summaryrefslogtreecommitdiff
path: root/chromium/components/sync_bookmarks/BUILD.gn
blob: a1eb017f43b671266ede01b318f22920b0ed9ba7 (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
45
46
47
48
49
# Copyright 2015 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.

import("//build/config/features.gni")

source_set("sync_bookmarks") {
  sources = [
    "bookmark_change_processor.cc",
    "bookmark_change_processor.h",
    "bookmark_data_type_controller.cc",
    "bookmark_data_type_controller.h",
    "bookmark_model_associator.cc",
    "bookmark_model_associator.h",
  ]

  deps = [
    "//base",
    "//components/bookmarks/browser",
    "//components/favicon/core",
    "//components/history/core/browser",
    "//components/sync_driver",
    "//components/undo",
    "//sync",
    "//ui/gfx",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [
    "bookmark_data_type_controller_unittest.cc",
  ]

  deps = [
    ":sync_bookmarks",
    "//base",
    "//components/bookmarks/browser",
    "//components/bookmarks/test",
    "//components/history/core/browser",
    "//components/prefs:test_support",
    "//components/sync_driver",
    "//components/sync_driver:test_support",
    "//sync",
    "//testing/gmock",
    "//testing/gtest",
  ]
}