OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("base") { | 5 source_set("base") { |
6 sources = [ | 6 sources = [ |
7 "auto_thread.cc", | 7 "auto_thread.cc", |
8 "auto_thread.h", | 8 "auto_thread.h", |
9 "auto_thread_task_runner.cc", | 9 "auto_thread_task_runner.cc", |
10 "auto_thread_task_runner.h", | 10 "auto_thread_task_runner.h", |
11 "buffered_socket_writer.cc", | 11 "buffered_socket_writer.cc", |
12 "buffered_socket_writer.h", | 12 "buffered_socket_writer.h", |
13 "capabilities.cc", | 13 "capabilities.cc", |
14 "capabilities.h", | 14 "capabilities.h", |
15 "chromium_url_request.cc", | 15 "chromium_url_request.cc", |
16 "chromium_url_request.h", | 16 "chromium_url_request.h", |
17 "chromoting_event.cc", | 17 "chromoting_event.cc", |
18 "chromoting_event.h", | 18 "chromoting_event.h", |
19 "compound_buffer.cc", | 19 "compound_buffer.cc", |
20 "compound_buffer.h", | 20 "compound_buffer.h", |
21 "constants.cc", | 21 "constants.cc", |
22 "constants.h", | 22 "constants.h", |
23 "forward_process_stats_agent.cc", | |
24 "forward_process_stats_agent.h", | |
23 "leaky_bucket.cc", | 25 "leaky_bucket.cc", |
24 "leaky_bucket.h", | 26 "leaky_bucket.h", |
27 "process_stats.cc", | |
28 "process_stats.h", | |
29 "process_stats_agent.cc", | |
30 "process_stats_agent.h", | |
31 "process_stats_stub.h", | |
32 "process_stats_util.cc", | |
33 "process_stats_util.h", | |
25 "rate_counter.cc", | 34 "rate_counter.cc", |
26 "rate_counter.h", | 35 "rate_counter.h", |
27 "rsa_key_pair.cc", | 36 "rsa_key_pair.cc", |
28 "rsa_key_pair.h", | 37 "rsa_key_pair.h", |
29 "running_samples.cc", | 38 "running_samples.cc", |
30 "running_samples.h", | 39 "running_samples.h", |
31 "scoped_sc_handle_win.h", | 40 "scoped_sc_handle_win.h", |
32 "socket_reader.cc", | 41 "socket_reader.cc", |
33 "socket_reader.h", | 42 "socket_reader.h", |
34 "telemetry_log_writer.cc", | 43 "telemetry_log_writer.cc", |
35 "telemetry_log_writer.h", | 44 "telemetry_log_writer.h", |
36 "typed_buffer.h", | 45 "typed_buffer.h", |
37 "url_request.h", | 46 "url_request.h", |
38 "url_request_context_getter.cc", | 47 "url_request_context_getter.cc", |
39 "url_request_context_getter.h", | 48 "url_request_context_getter.h", |
40 "util.cc", | 49 "util.cc", |
41 "util.h", | 50 "util.h", |
42 "vlog_net_log.cc", | 51 "vlog_net_log.cc", |
43 "vlog_net_log.h", | 52 "vlog_net_log.h", |
44 ] | 53 ] |
45 | 54 |
55 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.
| |
56 # 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.
| |
57 sources += [ | |
58 "current_process_stats_agent.cc", | |
59 "current_process_stats_agent.h", | |
60 ] | |
61 } | |
62 | |
46 configs += [ | 63 configs += [ |
47 "//build/config/compiler:wexit_time_destructors", | 64 "//build/config/compiler:wexit_time_destructors", |
48 "//remoting/build/config:version", | 65 "//remoting/build/config:version", |
49 ] | 66 ] |
50 | 67 |
51 public_deps = [ | 68 public_deps = [ |
52 "//base", | 69 "//base", |
53 "//net", | 70 "//net", |
54 "//remoting/proto", | 71 "//remoting/proto", |
55 "//third_party/protobuf:protobuf_lite", | 72 "//third_party/protobuf:protobuf_lite", |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 "oauth_helper_unittest.cc", | 172 "oauth_helper_unittest.cc", |
156 "rate_counter_unittest.cc", | 173 "rate_counter_unittest.cc", |
157 "rsa_key_pair_unittest.cc", | 174 "rsa_key_pair_unittest.cc", |
158 "run_all_unittests.cc", | 175 "run_all_unittests.cc", |
159 "running_samples_unittest.cc", | 176 "running_samples_unittest.cc", |
160 "telemetry_log_writer_unittest.cc", | 177 "telemetry_log_writer_unittest.cc", |
161 "typed_buffer_unittest.cc", | 178 "typed_buffer_unittest.cc", |
162 "util_unittest.cc", | 179 "util_unittest.cc", |
163 ] | 180 ] |
164 | 181 |
182 if (!is_nacl) { | |
183 sources += [ "process_stats_unittest.cc" ] | |
184 } | |
185 | |
165 deps = [ | 186 deps = [ |
166 ":test_support", | 187 ":test_support", |
167 "//mojo/edk/system", | 188 "//mojo/edk/system", |
168 "//net:test_support", | 189 "//net:test_support", |
169 "//third_party/libyuv", | 190 "//third_party/libyuv", |
170 "//third_party/webrtc/modules/desktop_capture:primitives", | 191 "//third_party/webrtc/modules/desktop_capture:primitives", |
171 ] | 192 ] |
172 | 193 |
173 if (is_win || is_mac || is_chromeos) { | 194 if (is_win || is_mac || is_chromeos) { |
174 deps += [ "//breakpad:client" ] | 195 deps += [ "//breakpad:client" ] |
175 } | 196 } |
176 | 197 |
177 if (is_win) { | 198 if (is_win) { |
178 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. | 199 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. |
179 } | 200 } |
180 } | 201 } |
OLD | NEW |