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

Unified Diff: components/metrics/BUILD.gn

Issue 365793002: Add lots of GN targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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
« no previous file with comments | « components/metrics.gypi ('k') | components/policy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 72fc0fe1227ecd9d8d0ed56106944998391a40e6..689c0e841c653da716505733902e3d0b7b0208d5 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -2,13 +2,79 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# GYP version: components/metrics.gypi:metrics
source_set("metrics") {
sources = [
+ "compression_utils.cc",
+ "compression_utils.h",
+ "cloned_install_detector.cc",
+ "cloned_install_detector.h",
+ "machine_id_provider.h",
+ "machine_id_provider_stub.cc",
+ "machine_id_provider_win.cc",
"metrics_hashes.cc",
"metrics_hashes.h",
+ "metrics_log.cc",
+ "metrics_log.h",
+ "metrics_log_uploader.cc",
+ "metrics_log_uploader.h",
+ "metrics_log_manager.cc",
+ "metrics_log_manager.h",
+ "metrics_pref_names.cc",
+ "metrics_pref_names.h",
+ "metrics_provider.h",
+ "metrics_reporting_scheduler.cc",
+ "metrics_reporting_scheduler.h",
+ "metrics_service.cc",
+ "metrics_service.h",
+ "metrics_service_client.h",
+ "metrics_service_observer.cc",
+ "metrics_service_observer.h",
+ "metrics_state_manager.cc",
+ "metrics_state_manager.h",
+ "metrics_switches.cc",
+ "metrics_switches.h",
+ "persisted_logs.cc",
+ "persisted_logs.h",
]
deps = [
"//base",
+ "//components/metrics/proto",
+ "//components/variations",
+ "//third_party/zlib",
]
+
+ forward_dependent_configs_from = [ "//components/metrics/proto" ]
+}
+
+# GYP version: components/metrics.gypi:metrics_net
+static_library("net") {
+ sources = [
+ "net/net_metrics_log_uploader.cc",
+ "net/net_metrics_log_uploader.h",
+ ]
+
+ deps = [
+ ":metrics",
+ "//net",
+ ]
+
+ forward_dependent_configs_from = [ ":metrics" ]
}
+
+# GYP version: components/metrics.gypi:metrics_test_support
+static_library("test_support") {
+ sources = [
+ "test_metrics_service_client.cc",
+ "test_metrics_service_client.h",
+ ]
+
+ deps = [
+ ":metrics",
+ ]
+
+ forward_dependent_configs_from = [ ":metrics" ]
+}
+
+# TODO(GYP): metrics_chromeos
« no previous file with comments | « components/metrics.gypi ('k') | components/policy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698