Chromium Code Reviews| 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", |
| + ] |
| +} |