Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: components/ukm/BUILD.gn

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Proto and client_id Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ukm/BUILD.gn
diff --git a/components/ukm/BUILD.gn b/components/ukm/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9fbad41b6e8dffe9c3e2101f380ed8f108bc0efa
--- /dev/null
+++ b/components/ukm/BUILD.gn
@@ -0,0 +1,42 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
rkaplow 2017/01/02 23:23:03 nit 2017, also elsewhere
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("ukm") {
+ sources = [
+ "metrics_reporting_scheduler.cc",
+ "metrics_reporting_scheduler.h",
+ "persisted_logs_metrics_impl.cc",
+ "persisted_logs_metrics_impl.h",
+ "ukm_pref_names.cc",
+ "ukm_pref_names.h",
+ "ukm_service.cc",
+ "ukm_service.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/data_use_measurement/core",
+ "//components/metrics",
+ "//components/prefs",
+ "//components/variations",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "ukm_service_unittest.cc",
+ ]
+
+ deps = [
+ ":ukm",
+ "//base",
+ "//base/test:test_support",
+ "//components/metrics",
+ "//components/prefs:test_support",
+ "//net:test_support",
+ "//testing/gtest",
+ "//url",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698