-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathMODULE.bazel
More file actions
59 lines (49 loc) · 2.28 KB
/
MODULE.bazel
File metadata and controls
59 lines (49 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module(
name = "j2cl",
version = "v20250618",
bazel_compatibility = [">=8.3.1"],
)
bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "bazel_worker_java", version = "0.0.5")
bazel_dep(name = "google_bazel_common", version = "0.0.1")
bazel_dep(name = "protobuf", version = "31.0")
bazel_dep(name = "rules_closure", version = "0.16.0")
bazel_dep(name = "rules_java", version = "8.13.0")
bazel_dep(name = "rules_kotlin", version = "1.9.6")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "1.4.1")
bazel_dep(name = "rules_webtesting", version = "0.4.1")
bazel_dep(name = "rules_cc", version = "0.0.17")
# Maven dependencies.
bazel_dep(name = "rules_jvm_external", version = "6.6")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"args4j:args4j:2.33",
"com.google.j2objc:j2objc-annotations:1.3",
"com.google.escapevelocity:escapevelocity:jar:1.1",
"com.google.code.gson:gson:2.10.1",
"org.eclipse.jdt:org.eclipse.jdt.core:jar:3.22.0",
"org.eclipse.platform:org.eclipse.equinox.common:jar:3.12.0",
],
)
use_repo(maven, "maven")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_jsinterop_annotations-j2cl",
sha256 = "b91c16cccf3af0c0d8c084f32f9f5606359b74fec6edf7acfe1112556bbb1d1b",
strip_prefix = "jsinterop-annotations-7f74f35dae9016c0f244d3484c8e17b1bc6ddf4a",
urls = ["https://github.com/google/jsinterop-annotations/archive/7f74f35dae9016c0f244d3484c8e17b1bc6ddf4a.zip"],
)
http_archive(
name = "com_google_binaryen",
build_file = "@j2cl//build_defs/internal_do_not_use/binaryen:BUILD.binaryen",
integrity = "sha256-yn3VuqGnSbWwnrlj3umd7nThy7iLOnKEupkX6dVV7O8=",
patch_args = ["-p1"],
patches = ["@j2cl//build_defs/internal_do_not_use/binaryen:generate_intrinsics.patch"],
strip_prefix = "binaryen-7317be60193cde60940e3eb704fdafdfb182ce87",
url = "https://github.com/WebAssembly/binaryen/archive/7317be60193cde60940e3eb704fdafdfb182ce87.zip",
)
bazel_dep(name = "fp16", version = "0.0.0-20210320-0a92994")
# Dependencies needed for development.
bazel_dep(name = "rules_shell", version = "0.4.1", dev_dependency = True)