load("//cuttlefish/bazel:rules.bzl", "cf_cc_binary", "cf_cc_library") package( default_visibility = ["//:android_cuttlefish"], ) cf_cc_binary( name = "secure_env", srcs = ["secure_env_only_oemlock.cpp"], deps = [ ":suspend_resume_handler", ":worker_thread_loop_body", "//cuttlefish/common/libs/fs", "//cuttlefish/common/libs/transport", "//cuttlefish/host/commands/kernel_log_monitor:kernel_log_monitor_utils", "//cuttlefish/host/commands/secure_env/oemlock", "//cuttlefish/host/commands/secure_env/oemlock:oemlock_responder", "//cuttlefish/host/commands/secure_env/storage:insecure_json_storage", "//cuttlefish/host/libs/config:known_paths", "//cuttlefish/host/libs/config:logging", "//libbase", "@gflags", ], ) cf_cc_library( name = "suspend_resume_handler", srcs = ["suspend_resume_handler.cpp"], hdrs = ["suspend_resume_handler.h"], deps = [ "//cuttlefish/common/libs/fs", "//cuttlefish/common/libs/utils:result", "//cuttlefish/host/libs/command_util", "//libbase", ], ) cf_cc_library( name = "worker_thread_loop_body", srcs = ["worker_thread_loop_body.cpp"], hdrs = ["worker_thread_loop_body.h"], deps = [ "//cuttlefish/common/libs/fs", "//cuttlefish/common/libs/utils:result", "//cuttlefish/host/commands/secure_env:suspend_resume_handler", ], )