Updated module name PiperOrigin-RevId: 893595048 Change-Id: I8ba055d8e624e544b5872194db611f53a2a1f9ca
diff --git a/.bazelrc b/.bazelrc index 98cb785..f8990a4 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -25,4 +25,3 @@ # Force include cstdint to provide uintptr_t for Abseil and other deps build --cxxopt=-include --cxxopt=cstdint build --host_cxxopt=-include --host_cxxopt=cstdint -
diff --git a/MODULE.bazel b/MODULE.bazel index af9ac3d..4960d31 100644 --- a/MODULE.bazel +++ b/MODULE.bazel
@@ -13,7 +13,7 @@ # limitations under the License. module( - name = "com_google_mpact-sim", + name = "mpact-sim", version = "1.0.0", )
diff --git a/deps.bzl b/deps.bzl deleted file mode 100644 index 633c5d2..0000000 --- a/deps.bzl +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright 2023 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Set up extra repositories with the dependencies""" - -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") - -def mpact_sim_deps(): - """ Extra dependencies to finish setting up Google repositories""" - - protobuf_deps()
diff --git a/protobuf_deps.bzl b/protobuf_deps.bzl deleted file mode 100644 index 037eecb..0000000 --- a/protobuf_deps.bzl +++ /dev/null
@@ -1,21 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Set up extra repositories with the protobuf dependencies""" - -load("@rules_python//python:repositories.bzl", "py_repositories") - -def mpact_sim_protobuf_deps(): - """ Extra dependencies to finish setting up Google repositories""" - py_repositories()
diff --git a/repos.bzl b/repos.bzl deleted file mode 100644 index 8369fb5..0000000 --- a/repos.bzl +++ /dev/null
@@ -1,46 +0,0 @@ -# Copyright 2023 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Load dependent repositories""" - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") - -def mpact_sim_repos(): - """ Load dependencies needed to use mpact-sim as a 3rd-party consumer""" - - # ELFIO header based library. - http_archive( - name = "com_github_serge1_elfio", - build_file = "@com_google_mpact-sim//:external/BUILD.elfio", - sha256 = "caf49f3bf55a9c99c98ebea4b05c79281875783802e892729eea0415505f68c4", - strip_prefix = "elfio-3.12", - urls = ["https://github.com/serge1/ELFIO/releases/download/Release_3.12/elfio-3.12.tar.gz"], - ) - - # Antlr4 tool (java). - http_file( - name = "org_antlr_tool", - sha256 = "bc13a9c57a8dd7d5196888211e5ede657cb64a3ce968608697e4f668251a8487", - url = "https://www.antlr.org/download/antlr-4.13.1-complete.jar", - ) - - # Antlr4 c++ runtime. - http_archive( - name = "org_antlr4_cpp_runtime", - add_prefix = "antlr4-runtime", - build_file = "@com_google_mpact-sim//:external/BUILD.antlr4", - sha256 = "d350e09917a633b738c68e1d6dc7d7710e91f4d6543e154a78bb964cfd8eb4de", - strip_prefix = "runtime/src", - urls = ["https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip"], - )