summaryrefslogtreecommitdiffstats
path: root/components/webdata/common/BUILD.gn
blob: bf8cb7282649328d441fc3cf6523cf3dc08714af (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
50
51
52
# 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.

component("common") {
  output_name = "webdata_common"

  sources = [
    "web_database.cc",
    "web_database.h",
    "web_database_service.cc",
    "web_database_service.h",
    "web_database_table.cc",
    "web_database_table.h",
    "web_data_request_manager.cc",
    "web_data_request_manager.h",
    "web_data_results.h",
    "web_data_service_backend.cc",
    "web_data_service_backend.h",
    "web_data_service_base.cc",
    "web_data_service_base.h",
    "web_data_service_consumer.h",
    "webdata_constants.cc",
    "webdata_constants.h",
    "webdata_export.h",
  ]

  defines = [ "WEBDATA_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//sql",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "web_database_migration_unittest.cc",
  ]

  deps = [
    ":common",
    "//base",
    "//components/autofill/core/browser",
    "//components/password_manager/core/browser",
    "//components/search_engines",
    "//components/signin/core/browser",
    "//sql",
    "//testing/gtest",
  ]
}