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

Unified Diff: blimp/engine/BUILD.gn

Issue 1885673003: Create and integrate a metrics service client into Blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move newline and ASSERT as requested. Created 4 years, 8 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 | « no previous file | blimp/engine/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/BUILD.gn
diff --git a/blimp/engine/BUILD.gn b/blimp/engine/BUILD.gn
index 3c9d0d794ddaeaf23b4708c7af79fb42fbfde93b..f88a2ed03f0a0c6153bcc604f4851b2752465681 100644
--- a/blimp/engine/BUILD.gn
+++ b/blimp/engine/BUILD.gn
@@ -55,6 +55,10 @@ source_set("app") {
"app/blimp_content_main_delegate.h",
]
+ public_deps = [
+ ":app_metrics",
+ ]
+
deps = [
":app_config",
":app_net",
@@ -71,6 +75,14 @@ source_set("app") {
"//blimp/common/proto",
"//blimp/engine:blob_channel_mojo_cpp_sources",
"//blimp/net",
+ "//components/metrics",
+ "//components/metrics:gpu",
+ "//components/metrics:net",
+ "//components/metrics:profiler",
+ "//components/metrics:ui",
+ "//components/prefs",
+ "//components/web_cache/renderer",
+ "//content",
"//content/public/app:both",
"//content/public/browser",
"//content/public/common",
@@ -91,6 +103,30 @@ source_set("app_config") {
]
}
+source_set("app_metrics") {
+ sources = [
+ "app/blimp_metrics_service_client.cc",
+ "app/blimp_metrics_service_client.h",
+ ]
+
+ public_deps = [
+ "//components/metrics",
+ "//content/public/browser",
+ ]
+
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//components/metrics:gpu",
+ "//components/metrics:net",
+ "//components/metrics:profiler",
+ "//components/metrics:ui",
+ "//components/prefs",
+ "//components/version_info",
+ "//net",
+ ]
+}
+
source_set("app_net") {
sources = [
"app/blimp_network_delegate.cc",
@@ -175,11 +211,15 @@ source_set("common") {
]
deps = [
+ ":app_metrics",
":app_net",
":app_permissions",
":common_user_agent",
"//base",
- "//content/public/browser",
+ "//components/metrics",
+ "//components/pref_registry",
+ "//components/prefs",
+ "//components/version_info",
"//content/public/common",
"//net",
"//ui/base",
@@ -294,6 +334,7 @@ source_set("app_unit_tests") {
sources = [
"app/blimp_engine_config_unittest.cc",
+ "app/blimp_metrics_service_client_unittest.cc",
"app/settings_manager_unittest.cc",
"app/ui/blimp_screen_unittest.cc",
]
@@ -301,12 +342,16 @@ source_set("app_unit_tests") {
deps = [
":app",
":app_config",
+ ":app_metrics",
":app_settings",
":app_switches",
"//base",
"//base/test:run_all_unittests",
"//base/test:test_support",
"//blimp/engine:app_ui",
+ "//components/pref_registry:pref_registry",
+ "//components/prefs:prefs",
+ "//net:test_support",
"//testing/gmock",
"//testing/gtest",
"//ui/display",
« no previous file with comments | « no previous file | blimp/engine/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698