2023-05-06 07:56:00 +00:00
|
|
|
bazel_dep(name = "rules_foreign_cc", version = "0.0.0")
|
|
|
|
local_path_override(
|
|
|
|
module_name = "rules_foreign_cc",
|
|
|
|
path = "..",
|
|
|
|
)
|
|
|
|
|
|
|
|
tools = use_extension("@rules_foreign_cc//foreign_cc:extensions.bzl", "tools")
|
|
|
|
tools.cmake(version = "3.23.1")
|
|
|
|
tools.ninja(version = "1.11.1")
|
2023-06-09 10:29:12 +00:00
|
|
|
use_repo(
|
|
|
|
tools,
|
|
|
|
"meson_src",
|
|
|
|
)
|
2023-05-06 07:56:00 +00:00
|
|
|
|
|
|
|
bazel_dep(name = "platforms", version = "0.0.6")
|
|
|
|
bazel_dep(name = "rules_swift", version = "1.6.0", repo_name = "build_bazel_rules_swift")
|
2024-04-05 15:25:40 +00:00
|
|
|
bazel_dep(name = "rules_apple", version = "3.4.0", repo_name = "build_bazel_rules_apple")
|
2024-02-16 06:19:09 +00:00
|
|
|
bazel_dep(name = "apple_support", version = "1.12.0", repo_name = "build_bazel_apple_support")
|
2023-12-21 10:42:09 +00:00
|
|
|
bazel_dep(name = "rules_python", version = "0.23.0")
|
2023-06-09 10:29:12 +00:00
|
|
|
|
|
|
|
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
|
|
|
|
python.toolchain(
|
2023-12-21 10:42:09 +00:00
|
|
|
configure_coverage_tool = True,
|
|
|
|
# Only set when you have mulitple toolchain versions.
|
|
|
|
is_default = True,
|
|
|
|
python_version = "3.10",
|
2023-06-09 10:29:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
|
|
|
|
pip.parse(
|
|
|
|
name = "pip",
|
|
|
|
requirements_lock = "//:requirements_lock.txt",
|
|
|
|
requirements_windows = "//:requirements_windows.txt",
|
|
|
|
)
|
|
|
|
use_repo(pip, "pip")
|
2023-05-06 07:56:00 +00:00
|
|
|
|
|
|
|
# bazel_dep(name = "rules_android", version = "0.1.1")
|
|
|
|
# bazel_dep(name = "rules_jvm_external", version = "5.1")
|
|
|
|
#
|
|
|
|
# maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
|
|
|
|
#
|
|
|
|
# maven.install(
|
|
|
|
# name = "maven_deps",
|
|
|
|
# artifacts = [
|
|
|
|
# "com.android.support.constraint:constraint-layout:aar:1.1.2",
|
|
|
|
# "com.android.support:appcompat-v7:aar:26.1.0",
|
|
|
|
# ],
|
|
|
|
# repositories = [
|
|
|
|
# "https://jcenter.bintray.com/",
|
|
|
|
# "https://maven.google.com",
|
|
|
|
# "https://repo1.maven.org/maven2",
|
|
|
|
# ],
|
|
|
|
# )
|