[go: nahoru, domu]

blob: f126e0560b6862f4494434869da1c5ac6ccef104 [file] [log] [blame]
# 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.
source_set("feedback") {
sources = [
"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/feedback/proto",
"//components/keyed_service/content",
"//components/keyed_service/core",
"//components/variations/net",
"//content/public/browser",
"//content/public/common",
"//net",
"//third_party/zlib:zip",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"feedback_common_unittest.cc",
"feedback_data_unittest.cc",
"feedback_uploader_chrome_unittest.cc",
"feedback_uploader_unittest.cc",
]
deps = [
":feedback",
"//base",
"//base:prefs_test_support",
"//components/feedback/proto",
"//components/keyed_service/core",
"//components/pref_registry:test_support",
"//components/user_prefs",
"//components/variations/net",
"//content/test:test_support",
"//net:test_support",
"//testing/gmock",
"//testing/gtest",
]
}