# 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("//chromecast/chromecast.gni") cast_source_set("metrics") { sources = [ "cast_browser_metrics.cc", "cast_browser_metrics.h", "cast_metrics_prefs.cc", "cast_metrics_prefs.h", "cast_stability_metrics_provider.cc", "cast_stability_metrics_provider.h", ] deps = [ "//base", "//base:i18n", "//chromecast/base", "//chromecast/base:cast_sys_info_util", "//chromecast/base:cast_version", "//chromecast/metrics", "//components/metrics", "//components/metrics:content", "//components/metrics:net", "//components/metrics:ui", "//components/prefs", "//content/public/browser", "//content/public/common", "//services/network/public/cpp", "//third_party/metrics_proto", ] if (is_linux || is_chromeos) { sources += [ "external_metrics.cc", "external_metrics.h", ] deps += [ "//chromecast/base/metrics", "//components/metrics:serialization", ] } }