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", |