Skip to content

Commit c3386cd

Browse files
committed
infra: remove unused dependencies
- Remove unused dependencies (non-exhaustive). - Fix deps load in `BUILD` files.
1 parent a37a044 commit c3386cd

46 files changed

Lines changed: 53 additions & 244 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313
load("@score_docs_as_code//:docs.bzl", "docs")
14-
load("@score_tooling//:defs.bzl", "copyright_checker", "dash_license_checker", "setup_starpls", "use_format_targets")
15-
load("//:project_config.bzl", "PROJECT_CONFIG")
14+
load("@score_tooling//:defs.bzl", "copyright_checker", "setup_starpls", "use_format_targets")
1615

1716
setup_starpls(
1817
name = "starpls_server",

MODULE.bazel

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -83,24 +83,6 @@ git_override(
8383

8484
use_repo(gcc, "gcc_toolchain", "gcc_toolchain_gcc")
8585

86-
bazel_dep(name = "download_utils", version = "1.0.1")
87-
88-
download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
89-
90-
download_archive(
91-
name = "json_schema_validator",
92-
build = "//third_party/json_schema_validator:json_schema_validator.BUILD",
93-
strip_prefix = "json-schema-validator-2.1.0",
94-
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
95-
)
96-
97-
download_archive(
98-
name = "jsonschema",
99-
build = "//third_party/jsonschema:jsonschema.BUILD",
100-
strip_prefix = "jsonschema-4.23.0",
101-
urls = ["https://github.com/python-jsonschema/jsonschema/archive/refs/tags/v4.23.0.tar.gz"],
102-
)
103-
10486
toolchains_qnx = use_extension("@score_toolchains_qnx//:extensions.bzl", "toolchains_qnx", dev_dependency = True)
10587
toolchains_qnx.sdp(
10688
sha256 = "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
@@ -124,32 +106,14 @@ use_repo(toolchains_qnx, "toolchains_qnx_ifs")
124106
# C++ dependencies
125107

126108
bazel_dep(name = "googletest", version = "1.17.0.bcr.1")
127-
bazel_dep(name = "google_benchmark", version = "1.9.4")
128109
bazel_dep(name = "rapidjson", version = "1.1.0")
129-
bazel_dep(name = "jemalloc", version = "5.3.0-bcr.alpha.4")
130-
bazel_dep(name = "libatomic", version = "1.0")
131-
local_path_override(
132-
module_name = "libatomic",
133-
path = "third_party/libatomic",
134-
)
135-
136-
bazel_dep(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost")
137-
archive_override(
138-
module_name = "rules_boost",
139-
strip_prefix = "rules_boost-master",
140-
urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz"],
141-
)
142-
143-
bazel_dep(name = "boost.program_options", version = "1.87.0")
144110
bazel_dep(name = "score_communication", version = "0.1.2")
145111
git_override(
146112
module_name = "score_communication",
147113
commit = "5a70133dd8bd632f5c07f200a5ee4bc9f507c23b",
148114
remote = "https://github.com/eclipse-score/communication.git",
149115
)
150116

151-
bazel_dep(name = "nlohmann_json", version = "3.11.3")
152-
bazel_dep(name = "rules_doxygen", version = "2.5.0")
153117
bazel_dep(name = "score_baselibs", version = "0.2.0")
154118
git_override(
155119
module_name = "score_baselibs",

score/datarouter/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
15+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1416
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1517

1618
## ===========================================================================

score/datarouter/daemon_communication/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
cc_library(

score/datarouter/dlt_filetransfer_trigger_lib/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
## ===========================================================================

score/datarouter/dynamic_configuration/config_session_factory/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
[

score/datarouter/dynamic_configuration/config_session_stub/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
[

score/datarouter/dynamic_configuration/i_session/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
cc_library(

score/datarouter/error/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
cc_library(

score/datarouter/file_transfer/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
1415
load("@score_baselibs//score/language/safecpp:toolchain_features.bzl", "COMPILER_WARNING_FEATURES")
1516

1617
cc_library(

0 commit comments

Comments
 (0)