Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ filegroup(
filegroup(
name = "lm_binaries",
srcs = [
"//src/control_client_lib",
"//src/launch_manager_daemon:launch_manager",
"//score/mw/lifecycle:control_cc",
"//score/mw/lifecycle:launch_manager",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
"//src/launch_manager_daemon/process_state_client_lib:process_state_client",
],
Expand Down
2 changes: 1 addition & 1 deletion examples/control_application/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ cc_binary(
visibility = ["//visibility:public"],
deps = [
"//externals/ipc_dropin",
"//src/control_client_lib",
"//score/mw/lifecycle:control_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
],
)
2 changes: 1 addition & 1 deletion examples/cpp_lifecycle_app/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cc_binary(
}),
visibility = ["//visibility:public"],
deps = [
"//src/lifecycle_client_lib",
"//score/mw/lifecycle:lifecycle_cc",
"@score_baselibs//score/mw/log",
],
)
4 changes: 2 additions & 2 deletions examples/cpp_supervised_app/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ cc_binary(
}),
visibility = ["//visibility:public"],
deps = [
"//src/health_monitoring_lib:health_monitoring_lib_cc",
"//src/launch_manager_daemon/health_monitor_lib:hm_shared_lib",
"//score/mw/health:health_monitoring_cc",
"//score/mw/lifecycle:alive_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
"@score_baselibs_rust//src/log/stdout_logger_cpp_init",
],
Expand Down
4 changes: 2 additions & 2 deletions examples/rust_supervised_app/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ rust_binary(
],
}),
deps = [
"//src/health_monitoring_lib",
"//src/launch_manager_daemon/lifecycle_client_lib/rust_bindings:lifecycle_client_rs",
"//score/mw/health:health_monitoring_rust",
"//score/mw/lifecycle:lifecycle_rust",
"@score_baselibs_rust//src/log/score_log",
"@score_baselibs_rust//src/log/stdout_logger",
"@score_crates//:clap",
Expand Down
24 changes: 24 additions & 0 deletions score/mw/health/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

package(default_visibility = ["//visibility:public"])

alias(
name = "health_monitoring_cc",
actual = "//src/health_monitoring_lib:health_monitoring_lib_cc",
)

alias(
name = "health_monitoring_rust",
actual = "//src/health_monitoring_lib:health_monitoring_lib",
)
59 changes: 59 additions & 0 deletions score/mw/lifecycle/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

package(default_visibility = ["//visibility:public"])

alias(
name = "lifecycle_cc",
actual = "//src/lifecycle_client_lib:lifecycle_client_lib",
)

alias(
name = "lifecycle_rust",
actual = "//src/launch_manager_daemon/lifecycle_client_lib/rust_bindings:lifecycle_client_rs",
)

alias(
name = "control_cc",
actual = "//src/control_client_lib:control_client_lib",
)

alias(
name = "alive_cc",
actual = "//src/launch_manager_daemon/health_monitor_lib:hm_shared_lib",
)

alias(
name = "alive_rust",
actual = "//src/launch_manager_daemon/health_monitor_lib/rust_bindings:monitor_rs",
)

alias(
name = "lifecycle",
actual = ":lifecycle_cc",
)

alias(
name = "control",
actual = ":control_cc",
)

alias(
name = "alive",
actual = ":alive_cc",
)

alias(
name = "launch_manager",
actual = "//src/launch_manager_daemon:launch_manager",
)
2 changes: 1 addition & 1 deletion src/health_monitoring_lib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COMMON_DEPS = [
"@score_baselibs_rust//src/containers:containers",
"@score_baselibs_rust//src/thread:thread",
"@score_baselibs_rust//src/log/score_log:score_log",
"//src/launch_manager_daemon/health_monitor_lib/rust_bindings:monitor_rs",
"//score/mw/lifecycle:alive_rust",
]

PROC_MACRO_DEPS = [
Expand Down
2 changes: 1 addition & 1 deletion src/launch_manager_daemon/health_monitor_lib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ cc_library_with_common_opts(
":factory",
":rb-watchdog-if",
"//externals/ipc_dropin",
"//src/control_client_lib",
"//score/mw/lifecycle:control_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rust_library(
"src/monitor.rs",
],
deps = [
"//src/launch_manager_daemon/health_monitor_lib:hm_shared_lib",
"//score/mw/lifecycle:alive_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
"@score_crates//:libc",
],
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/incorrect_config_non_reporting/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pkg_files(
name = "non_reporting_main_files",
srcs = [
":non_reporting_process",
"//src/launch_manager_daemon:launch_manager",
"//score/mw/lifecycle:launch_manager",
],
attributes = pkg_attributes(mode = "0755"),
prefix = "tests/incorrect_config_non_reporting",
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/smoke/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cc_binary(
srcs = ["control_daemon_mock.cpp"],
data = [],
deps = [
"//src/control_client_lib",
"//score/mw/lifecycle:control_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
"//tests/utils/test_helper",
"@googletest//:gtest_main",
Expand All @@ -46,7 +46,7 @@ cc_binary(
name = "gtest_process",
srcs = ["gtest_process.cpp"],
deps = [
"//src/control_client_lib",
"//score/mw/lifecycle:control_cc",
"//src/launch_manager_daemon/lifecycle_client_lib:lifecycle_client",
"//tests/utils/test_helper",
"@googletest//:gtest_main",
Expand All @@ -58,7 +58,7 @@ pkg_files(
srcs = [
":control_daemon_mock",
":gtest_process",
"//src/launch_manager_daemon:launch_manager",
"//score/mw/lifecycle:launch_manager",
],
attributes = pkg_attributes(mode = "0755"),
prefix = "tests/smoke",
Expand Down
Loading