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

Unified Diff: remoting/base/BUILD.gn

Issue 2775983003: [Chromoting] Retrieve process resource usage (ProcessStats) and its tests (Closed)
Patch Set: Resolve review comments Created 3 years, 9 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 | remoting/base/current_process_stats_agent.h » ('j') | remoting/base/process_stats.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/BUILD.gn
diff --git a/remoting/base/BUILD.gn b/remoting/base/BUILD.gn
index da46b4b265a7816e662d9891edc25331fcf68b75..eee5bc297cdab9f62b0ffd33ab7913ab7649a757 100644
--- a/remoting/base/BUILD.gn
+++ b/remoting/base/BUILD.gn
@@ -20,8 +20,17 @@ source_set("base") {
"compound_buffer.h",
"constants.cc",
"constants.h",
+ "forward_process_stats_agent.cc",
+ "forward_process_stats_agent.h",
"leaky_bucket.cc",
"leaky_bucket.h",
+ "process_stats.cc",
+ "process_stats.h",
+ "process_stats_agent.cc",
+ "process_stats_agent.h",
+ "process_stats_stub.h",
+ "process_stats_util.cc",
+ "process_stats_util.h",
"rate_counter.cc",
"rate_counter.h",
"rsa_key_pair.cc",
@@ -43,6 +52,14 @@ source_set("base") {
"vlog_net_log.h",
]
+ if (!is_nacl) {
Sergey Ulanov 2017/04/03 23:50:21 In most other places we put everything in sources
Hzj_jie 2017/04/05 20:52:16 Done.
+ # There is no ProcessMetrics implementation on NACL.
Sergey Ulanov 2017/04/03 23:50:21 It's not implemented for Android either. Do we nee
Hzj_jie 2017/04/05 20:52:16 Done.
+ sources += [
+ "current_process_stats_agent.cc",
+ "current_process_stats_agent.h",
+ ]
+ }
+
configs += [
"//build/config/compiler:wexit_time_destructors",
"//remoting/build/config:version",
@@ -162,6 +179,10 @@ source_set("unit_tests") {
"util_unittest.cc",
]
+ if (!is_nacl) {
+ sources += [ "process_stats_unittest.cc" ]
+ }
+
deps = [
":test_support",
"//mojo/edk/system",
« no previous file with comments | « no previous file | remoting/base/current_process_stats_agent.h » ('j') | remoting/base/process_stats.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698