summaryrefslogtreecommitdiff
path: root/chromium/components/feedback/BUILD.gn
blob: 28cae94debccde4f8074e6ff8c018e42e52e8058 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# 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("feedback") {
  sources = [
    "anonymizer_tool.cc",
    "anonymizer_tool.h",
    "feedback_common.cc",
    "feedback_common.h",
    "feedback_data.cc",
    "feedback_data.h",
    "feedback_report.cc",
    "feedback_report.h",
    "feedback_switches.cc",
    "feedback_switches.h",
    "feedback_uploader.cc",
    "feedback_uploader.h",
    "feedback_uploader_chrome.cc",
    "feedback_uploader_chrome.h",
    "feedback_uploader_delegate.cc",
    "feedback_uploader_delegate.h",
    "feedback_uploader_factory.cc",
    "feedback_uploader_factory.h",
    "feedback_util.cc",
    "feedback_util.h",
    "tracing_manager.cc",
    "tracing_manager.h",
  ]

  deps = [
    "//base",
    "//components/data_use_measurement/core",
    "//components/feedback/proto",
    "//components/keyed_service/content",
    "//components/keyed_service/core",
    "//components/variations/net",
    "//content/public/browser",
    "//content/public/common",
    "//net",
    "//third_party/re2",
    "//third_party/zlib/google:zip",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "anonymizer_tool_unittest.cc",
    "feedback_common_unittest.cc",
    "feedback_data_unittest.cc",
    "feedback_uploader_chrome_unittest.cc",
    "feedback_uploader_unittest.cc",
  ]
  deps = [
    ":feedback",
    "//base",
    "//components/feedback/proto",
    "//components/keyed_service/core",
    "//components/prefs:test_support",
    "//components/sync_preferences:test_support",
    "//components/user_prefs",
    "//components/variations/net",
    "//content/test:test_support",
    "//net:test_support",
    "//testing/gmock",
    "//testing/gtest",
  ]
}