@@ -225,28 +225,61 @@ cf_cc_library(
225225)
226226
227227cf_cc_library (
228- name = "power_btn" ,
229- srcs = ["power_btn.cpp" ],
230- hdrs = ["power_btn.h" ],
228+ name = "logs" ,
229+ srcs = ["logs.cpp" ],
230+ hdrs = ["logs.h" ],
231+ deps = [
232+ "//cuttlefish/common/libs/utils:files" ,
233+ "//cuttlefish/common/libs/utils:flag_parser" ,
234+ "//cuttlefish/host/commands/cvd/cli:command_request" ,
235+ "//cuttlefish/host/commands/cvd/cli:types" ,
236+ "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
237+ "//cuttlefish/host/commands/cvd/cli/selector" ,
238+ "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
239+ "//cuttlefish/result" ,
240+ "//libbase" ,
241+ "@abseil-cpp//absl/log" ,
242+ ],
243+ )
244+
245+ cf_cc_library (
246+ name = "monitor" ,
247+ srcs = ["monitor.cpp" ],
248+ hdrs = ["monitor.h" ],
231249 deps = [
250+ "//cuttlefish/common/libs/fs" ,
251+ "//cuttlefish/common/libs/utils:flag_parser" ,
232252 "//cuttlefish/host/commands/cvd/cli:command_request" ,
233253 "//cuttlefish/host/commands/cvd/cli:types" ,
254+ "//cuttlefish/host/commands/cvd/cli:utils" ,
234255 "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
235256 "//cuttlefish/host/commands/cvd/cli/selector" ,
236257 "//cuttlefish/host/commands/cvd/instances" ,
237258 "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
238259 "//cuttlefish/result" ,
239260 "//libbase" ,
261+ "@abseil-cpp//absl/strings" ,
262+ "@abseil-cpp//absl/strings:cord" ,
240263 "@fmt" ,
241264 ],
242265)
243266
267+ cf_cc_test (
268+ name = "monitor_test" ,
269+ srcs = ["monitor_test.cpp" ],
270+ deps = [
271+ ":monitor" ,
272+ "//cuttlefish/common/libs/fs" ,
273+ "//cuttlefish/result:result_matchers" ,
274+ "@abseil-cpp//absl/strings" ,
275+ ],
276+ )
277+
244278cf_cc_library (
245- name = "powerwash " ,
246- srcs = ["powerwash .cpp" ],
247- hdrs = ["powerwash .h" ],
279+ name = "power_btn " ,
280+ srcs = ["power_btn .cpp" ],
281+ hdrs = ["power_btn .h" ],
248282 deps = [
249- "//cuttlefish/common/libs/utils:flag_parser" ,
250283 "//cuttlefish/host/commands/cvd/cli:command_request" ,
251284 "//cuttlefish/host/commands/cvd/cli:types" ,
252285 "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
@@ -260,9 +293,9 @@ cf_cc_library(
260293)
261294
262295cf_cc_library (
263- name = "screen_recording " ,
264- srcs = ["screen_recording .cpp" ],
265- hdrs = ["screen_recording .h" ],
296+ name = "powerwash " ,
297+ srcs = ["powerwash .cpp" ],
298+ hdrs = ["powerwash .h" ],
266299 deps = [
267300 "//cuttlefish/common/libs/utils:flag_parser" ,
268301 "//cuttlefish/host/commands/cvd/cli:command_request" ,
@@ -273,9 +306,7 @@ cf_cc_library(
273306 "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
274307 "//cuttlefish/result" ,
275308 "//libbase" ,
276- "@abseil-cpp//absl/log" ,
277309 "@fmt" ,
278- "@jsoncpp" ,
279310 ],
280311)
281312
@@ -333,6 +364,26 @@ cf_cc_library(
333364 ],
334365)
335366
367+ cf_cc_library (
368+ name = "screen_recording" ,
369+ srcs = ["screen_recording.cpp" ],
370+ hdrs = ["screen_recording.h" ],
371+ deps = [
372+ "//cuttlefish/common/libs/utils:flag_parser" ,
373+ "//cuttlefish/host/commands/cvd/cli:command_request" ,
374+ "//cuttlefish/host/commands/cvd/cli:types" ,
375+ "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
376+ "//cuttlefish/host/commands/cvd/cli/selector" ,
377+ "//cuttlefish/host/commands/cvd/instances" ,
378+ "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
379+ "//cuttlefish/result" ,
380+ "//libbase" ,
381+ "@abseil-cpp//absl/log" ,
382+ "@fmt" ,
383+ "@jsoncpp" ,
384+ ],
385+ )
386+
336387cf_cc_library (
337388 name = "snapshot" ,
338389 srcs = ["snapshot.cpp" ],
@@ -453,54 +504,3 @@ cf_cc_library(
453504 "@jsoncpp" ,
454505 ],
455506)
456-
457- cf_cc_library (
458- name = "logs" ,
459- srcs = ["logs.cpp" ],
460- hdrs = ["logs.h" ],
461- deps = [
462- "//cuttlefish/common/libs/utils:files" ,
463- "//cuttlefish/common/libs/utils:flag_parser" ,
464- "//cuttlefish/host/commands/cvd/cli:command_request" ,
465- "//cuttlefish/host/commands/cvd/cli:types" ,
466- "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
467- "//cuttlefish/host/commands/cvd/cli/selector" ,
468- "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
469- "//cuttlefish/result" ,
470- "//libbase" ,
471- "@abseil-cpp//absl/log" ,
472- ],
473- )
474-
475- cf_cc_library (
476- name = "monitor" ,
477- srcs = ["monitor.cpp" ],
478- hdrs = ["monitor.h" ],
479- deps = [
480- "//cuttlefish/common/libs/fs" ,
481- "//cuttlefish/common/libs/utils:flag_parser" ,
482- "//cuttlefish/host/commands/cvd/cli:command_request" ,
483- "//cuttlefish/host/commands/cvd/cli:types" ,
484- "//cuttlefish/host/commands/cvd/cli:utils" ,
485- "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
486- "//cuttlefish/host/commands/cvd/cli/selector" ,
487- "//cuttlefish/host/commands/cvd/instances" ,
488- "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
489- "//cuttlefish/result" ,
490- "//libbase" ,
491- "@abseil-cpp//absl/strings" ,
492- "@abseil-cpp//absl/strings:cord" ,
493- "@fmt" ,
494- ],
495- )
496-
497- cf_cc_test (
498- name = "monitor_test" ,
499- srcs = ["monitor_test.cpp" ],
500- deps = [
501- ":monitor" ,
502- "//cuttlefish/common/libs/fs" ,
503- "//cuttlefish/result:result_matchers" ,
504- "@abseil-cpp//absl/strings" ,
505- ],
506- )
0 commit comments