Update build system

This commit is contained in:
Ali 2023-03-31 00:19:15 +04:00
parent 0e3fbeb08b
commit 1de7bae929
14 changed files with 87 additions and 77 deletions

View file

@ -1,15 +1,15 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
http_archive(
'''http_archive(
name = "com_google_protobuf",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.14.0.zip"],
sha256 = "bf0e5070b4b99240183b29df78155eee335885e53a8af8683964579c214ad301",
strip_prefix = "protobuf-3.14.0",
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protobuf-22.2.zip"],
sha256 = "bf1f92aebd619651220711e97b3d560cdc2484718cd56d95161bfb2fadb8628e",
strip_prefix = "protobuf-22.2",
type = "zip",
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
protobuf_deps()'''
local_repository(
name = "build_bazel_rules_apple",
@ -26,6 +26,11 @@ local_repository(
path = "build-system/bazel-rules/apple_support",
)
local_repository(
name = "rules_xcodeproj",
path = "build-system/bazel-rules/rules_xcodeproj",
)
load(
"@build_bazel_rules_apple//apple:repositories.bzl",
"apple_rules_dependencies",
@ -47,6 +52,13 @@ load(
apple_support_dependencies()
load(
"@rules_xcodeproj//xcodeproj:repositories.bzl",
"xcodeproj_rules_dependencies",
)
xcodeproj_rules_dependencies()
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()