| Index: components/ukm/BUILD.gn
|
| diff --git a/components/ukm/BUILD.gn b/components/ukm/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a49f89529e1fc91049ad7d95105a90c75802eb6
|
| --- /dev/null
|
| +++ b/components/ukm/BUILD.gn
|
| @@ -0,0 +1,42 @@
|
| +# Copyright 2017 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("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",
|
| + ]
|
| +}
|
|
|