# Copyright 2022 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. assert(is_chromeos, "Non-ChromeOS builds cannot depend on //ash") static_library("backend") { sources = [ "feedback_service_provider.cc", "feedback_service_provider.h", "help_content_provider.cc", "help_content_provider.h", "histogram_util.cc", "histogram_util.h", "os_feedback_delegate.h", ] deps = [ "//ash/public/cpp", "//ash/public/mojom", "//ash/webui/os_feedback_ui/mojom", "//base", "//content/public/browser", "//google_apis", "//mojo/public/cpp/bindings", "//services/network/public/cpp", "//services/network/public/mojom", ] } source_set("unit_tests") { testonly = true sources = [ "feedback_service_provider_unittest.cc", "help_content_provider_unittest.cc", ] deps = [ ":backend", "//ash/public/cpp", "//ash/public/mojom", "//ash/webui/os_feedback_ui/mojom", "//base/test:test_support", "//content/public/browser", "//content/test:test_support", "//mojo/public/cpp/bindings", "//services/network:test_support", "//services/network/public/cpp", "//services/network/public/mojom", "//testing/gtest", "//url", ] # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and # enable the diagnostic by removing this line. configs += [ "//build/config/compiler:no_exit_time_destructors" ] }