@@ -225,28 +225,62 @@ 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/log:check" ,
262+ "@abseil-cpp//absl/strings" ,
263+ "@abseil-cpp//absl/strings:cord" ,
240264 "@fmt" ,
241265 ],
242266)
243267
268+ cf_cc_test (
269+ name = "monitor_test" ,
270+ srcs = ["monitor_test.cpp" ],
271+ deps = [
272+ ":monitor" ,
273+ "//cuttlefish/common/libs/fs" ,
274+ "//cuttlefish/result:result_matchers" ,
275+ "@abseil-cpp//absl/strings" ,
276+ ],
277+ )
278+
244279cf_cc_library (
245- name = "powerwash " ,
246- srcs = ["powerwash .cpp" ],
247- hdrs = ["powerwash .h" ],
280+ name = "power_btn " ,
281+ srcs = ["power_btn .cpp" ],
282+ hdrs = ["power_btn .h" ],
248283 deps = [
249- "//cuttlefish/common/libs/utils:flag_parser" ,
250284 "//cuttlefish/host/commands/cvd/cli:command_request" ,
251285 "//cuttlefish/host/commands/cvd/cli:types" ,
252286 "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
@@ -260,9 +294,9 @@ cf_cc_library(
260294)
261295
262296cf_cc_library (
263- name = "screen_recording " ,
264- srcs = ["screen_recording .cpp" ],
265- hdrs = ["screen_recording .h" ],
297+ name = "powerwash " ,
298+ srcs = ["powerwash .cpp" ],
299+ hdrs = ["powerwash .h" ],
266300 deps = [
267301 "//cuttlefish/common/libs/utils:flag_parser" ,
268302 "//cuttlefish/host/commands/cvd/cli:command_request" ,
@@ -273,9 +307,7 @@ cf_cc_library(
273307 "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
274308 "//cuttlefish/result" ,
275309 "//libbase" ,
276- "@abseil-cpp//absl/log" ,
277310 "@fmt" ,
278- "@jsoncpp" ,
279311 ],
280312)
281313
@@ -333,6 +365,26 @@ cf_cc_library(
333365 ],
334366)
335367
368+ cf_cc_library (
369+ name = "screen_recording" ,
370+ srcs = ["screen_recording.cpp" ],
371+ hdrs = ["screen_recording.h" ],
372+ deps = [
373+ "//cuttlefish/common/libs/utils:flag_parser" ,
374+ "//cuttlefish/host/commands/cvd/cli:command_request" ,
375+ "//cuttlefish/host/commands/cvd/cli:types" ,
376+ "//cuttlefish/host/commands/cvd/cli/commands:command_handler" ,
377+ "//cuttlefish/host/commands/cvd/cli/selector" ,
378+ "//cuttlefish/host/commands/cvd/instances" ,
379+ "//cuttlefish/host/commands/cvd/instances:instance_manager" ,
380+ "//cuttlefish/result" ,
381+ "//libbase" ,
382+ "@abseil-cpp//absl/log" ,
383+ "@fmt" ,
384+ "@jsoncpp" ,
385+ ],
386+ )
387+
336388cf_cc_library (
337389 name = "snapshot" ,
338390 srcs = ["snapshot.cpp" ],
@@ -453,55 +505,3 @@ cf_cc_library(
453505 "@jsoncpp" ,
454506 ],
455507)
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/log:check" ,
492- "@abseil-cpp//absl/strings" ,
493- "@abseil-cpp//absl/strings:cord" ,
494- "@fmt" ,
495- ],
496- )
497-
498- cf_cc_test (
499- name = "monitor_test" ,
500- srcs = ["monitor_test.cpp" ],
501- deps = [
502- ":monitor" ,
503- "//cuttlefish/common/libs/fs" ,
504- "//cuttlefish/result:result_matchers" ,
505- "@abseil-cpp//absl/strings" ,
506- ],
507- )
0 commit comments