diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 0000000..21c8c7b --- /dev/null +++ b/.bazelversion @@ -0,0 +1 @@ +7.1.1 diff --git a/.gitignore b/.gitignore index d241efc..b83a97f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ tags target *.stamp *.bk +bazel-* diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 0000000..5193c74 --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,6 @@ +load("@buildifier_prebuilt//:rules.bzl", "buildifier") + +# bazel run //:buildifier +buildifier( + name = "buildifier", +) diff --git a/Cargo.Bazel.lock b/Cargo.Bazel.lock new file mode 100644 index 0000000..9f87532 --- /dev/null +++ b/Cargo.Bazel.lock @@ -0,0 +1,3395 @@ +{ + "checksum": "ac176a5268e89cea8dc1783b6faedc4f459fdc925ab923fdd9236eda1b6ce9c2", + "crates": { + "aho-corasick 1.1.3": { + "name": "aho-corasick", + "version": "1.1.3", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/aho-corasick/1.1.3/download", + "sha256": "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" + } + }, + "targets": [ + { + "Library": { + "crate_name": "aho_corasick", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "aho_corasick", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "perf-literal", + "std" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "memchr 2.7.4", + "target": "memchr" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "1.1.3" + }, + "license": "Unlicense OR MIT" + }, + "ansi_term 0.12.1": { + "name": "ansi_term", + "version": "0.12.1", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/ansi_term/0.12.1/download", + "sha256": "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" + } + }, + "targets": [ + { + "Library": { + "crate_name": "ansi_term", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "ansi_term", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(target_os = \"windows\")": [ + { + "id": "winapi 0.3.9", + "target": "winapi" + } + ] + } + }, + "edition": "2015", + "version": "0.12.1" + }, + "license": "MIT" + }, + "anyhow 1.0.86": { + "name": "anyhow", + "version": "1.0.86", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/anyhow/1.0.86/download", + "sha256": "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" + } + }, + "targets": [ + { + "Library": { + "crate_name": "anyhow", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "anyhow", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default", + "std" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "anyhow 1.0.86", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "1.0.86" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "atty 0.2.14": { + "name": "atty", + "version": "0.2.14", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/atty/0.2.14/download", + "sha256": "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" + } + }, + "targets": [ + { + "Library": { + "crate_name": "atty", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "atty", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(target_os = \"hermit\")": [ + { + "id": "hermit-abi 0.1.19", + "target": "hermit_abi" + } + ], + "cfg(unix)": [ + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "cfg(windows)": [ + { + "id": "winapi 0.3.9", + "target": "winapi" + } + ] + } + }, + "edition": "2015", + "version": "0.2.14" + }, + "license": "MIT" + }, + "bindgen 0.59.2": { + "name": "bindgen", + "version": "0.59.2", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/bindgen/0.59.2/download", + "sha256": "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" + } + }, + "targets": [ + { + "Library": { + "crate_name": "bindgen", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "bindgen", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "clap", + "default", + "env_logger", + "log", + "logging", + "runtime", + "which", + "which-rustfmt" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "bindgen 0.59.2", + "target": "build_script_build" + }, + { + "id": "bitflags 1.3.2", + "target": "bitflags" + }, + { + "id": "cexpr 0.6.0", + "target": "cexpr" + }, + { + "id": "clang-sys 1.8.1", + "target": "clang_sys" + }, + { + "id": "clap 2.34.0", + "target": "clap" + }, + { + "id": "env_logger 0.9.3", + "target": "env_logger" + }, + { + "id": "lazy_static 1.4.0", + "target": "lazy_static" + }, + { + "id": "lazycell 1.3.0", + "target": "lazycell" + }, + { + "id": "log 0.4.21", + "target": "log" + }, + { + "id": "peeking_take_while 0.1.2", + "target": "peeking_take_while" + }, + { + "id": "proc-macro2 1.0.85", + "target": "proc_macro2" + }, + { + "id": "quote 1.0.36", + "target": "quote" + }, + { + "id": "regex 1.10.5", + "target": "regex" + }, + { + "id": "rustc-hash 1.1.0", + "target": "rustc_hash" + }, + { + "id": "shlex 1.3.0", + "target": "shlex" + }, + { + "id": "which 4.4.2", + "target": "which" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "0.59.2" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ], + "link_deps": { + "common": [ + { + "id": "clang-sys 1.8.1", + "target": "clang_sys" + } + ], + "selects": {} + } + }, + "license": "BSD-3-Clause" + }, + "bitflags 1.3.2": { + "name": "bitflags", + "version": "1.3.2", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/bitflags/1.3.2/download", + "sha256": "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + } + }, + "targets": [ + { + "Library": { + "crate_name": "bitflags", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "bitflags", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default" + ], + "selects": {} + }, + "edition": "2018", + "version": "1.3.2" + }, + "license": "MIT/Apache-2.0" + }, + "bitflags 2.5.0": { + "name": "bitflags", + "version": "2.5.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/bitflags/2.5.0/download", + "sha256": "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + } + }, + "targets": [ + { + "Library": { + "crate_name": "bitflags", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "bitflags", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "std" + ], + "selects": {} + }, + "edition": "2021", + "version": "2.5.0" + }, + "license": "MIT OR Apache-2.0" + }, + "bumpalo 3.16.0": { + "name": "bumpalo", + "version": "3.16.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/bumpalo/3.16.0/download", + "sha256": "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" + } + }, + "targets": [ + { + "Library": { + "crate_name": "bumpalo", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "bumpalo", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default" + ], + "selects": {} + }, + "edition": "2021", + "version": "3.16.0" + }, + "license": "MIT OR Apache-2.0" + }, + "cexpr 0.6.0": { + "name": "cexpr", + "version": "0.6.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/cexpr/0.6.0/download", + "sha256": "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" + } + }, + "targets": [ + { + "Library": { + "crate_name": "cexpr", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "cexpr", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "nom 7.1.3", + "target": "nom" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "0.6.0" + }, + "license": "Apache-2.0/MIT" + }, + "cfg-if 1.0.0": { + "name": "cfg-if", + "version": "1.0.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/cfg-if/1.0.0/download", + "sha256": "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + } + }, + "targets": [ + { + "Library": { + "crate_name": "cfg_if", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "cfg_if", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2018", + "version": "1.0.0" + }, + "license": "MIT/Apache-2.0" + }, + "clang-sys 1.8.1": { + "name": "clang-sys", + "version": "1.8.1", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/clang-sys/1.8.1/download", + "sha256": "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" + } + }, + "targets": [ + { + "Library": { + "crate_name": "clang_sys", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "clang_sys", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "clang_3_5", + "clang_3_6", + "clang_3_7", + "clang_3_8", + "clang_3_9", + "clang_4_0", + "clang_5_0", + "clang_6_0", + "libloading", + "runtime" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "clang-sys 1.8.1", + "target": "build_script_build" + }, + { + "id": "glob 0.3.1", + "target": "glob" + }, + { + "id": "libc 0.2.155", + "target": "libc" + }, + { + "id": "libloading 0.8.3", + "target": "libloading" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "1.8.1" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "glob 0.3.1", + "target": "glob" + } + ], + "selects": {} + }, + "links": "clang" + }, + "license": "Apache-2.0" + }, + "clap 2.34.0": { + "name": "clap", + "version": "2.34.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/clap/2.34.0/download", + "sha256": "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" + } + }, + "targets": [ + { + "Library": { + "crate_name": "clap", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "clap", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "ansi_term", + "atty", + "color", + "default", + "strsim", + "suggestions", + "vec_map" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "atty 0.2.14", + "target": "atty" + }, + { + "id": "bitflags 1.3.2", + "target": "bitflags" + }, + { + "id": "strsim 0.8.0", + "target": "strsim" + }, + { + "id": "textwrap 0.11.0", + "target": "textwrap" + }, + { + "id": "unicode-width 0.1.13", + "target": "unicode_width" + }, + { + "id": "vec_map 0.8.2", + "target": "vec_map" + } + ], + "selects": { + "cfg(not(windows))": [ + { + "id": "ansi_term 0.12.1", + "target": "ansi_term" + } + ] + } + }, + "edition": "2018", + "version": "2.34.0" + }, + "license": "MIT" + }, + "direct-cargo-bazel-deps 0.0.1": { + "name": "direct-cargo-bazel-deps", + "version": "0.0.1", + "repository": null, + "targets": [ + { + "Library": { + "crate_name": "direct_cargo_bazel_deps", + "crate_root": ".direct_cargo_bazel_deps.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "direct_cargo_bazel_deps", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "anyhow 1.0.86", + "target": "anyhow" + }, + { + "id": "bindgen 0.59.2", + "target": "bindgen" + }, + { + "id": "bumpalo 3.16.0", + "target": "bumpalo" + }, + { + "id": "lazy_static 1.4.0", + "target": "lazy_static" + }, + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "selects": {} + }, + "edition": "2018", + "proc_macro_deps": { + "common": [ + { + "id": "paste 1.0.15", + "target": "paste" + } + ], + "selects": {} + }, + "version": "0.0.1" + }, + "license": null + }, + "either 1.12.0": { + "name": "either", + "version": "1.12.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/either/1.12.0/download", + "sha256": "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" + } + }, + "targets": [ + { + "Library": { + "crate_name": "either", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "either", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default", + "use_std" + ], + "selects": {} + }, + "edition": "2018", + "version": "1.12.0" + }, + "license": "MIT OR Apache-2.0" + }, + "env_logger 0.9.3": { + "name": "env_logger", + "version": "0.9.3", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/env_logger/0.9.3/download", + "sha256": "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" + } + }, + "targets": [ + { + "Library": { + "crate_name": "env_logger", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "env_logger", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "atty", + "default", + "humantime", + "regex", + "termcolor" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "atty 0.2.14", + "target": "atty" + }, + { + "id": "humantime 2.1.0", + "target": "humantime" + }, + { + "id": "log 0.4.21", + "target": "log" + }, + { + "id": "regex 1.10.5", + "target": "regex" + }, + { + "id": "termcolor 1.4.1", + "target": "termcolor" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "0.9.3" + }, + "license": "MIT OR Apache-2.0" + }, + "errno 0.3.9": { + "name": "errno", + "version": "0.3.9", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/errno/0.3.9/download", + "sha256": "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" + } + }, + "targets": [ + { + "Library": { + "crate_name": "errno", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "errno", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "std" + ], + "selects": {} + }, + "deps": { + "common": [], + "selects": { + "cfg(target_os = \"hermit\")": [ + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "cfg(target_os = \"wasi\")": [ + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "cfg(unix)": [ + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "cfg(windows)": [ + { + "id": "windows-sys 0.52.0", + "target": "windows_sys" + } + ] + } + }, + "edition": "2018", + "version": "0.3.9" + }, + "license": "MIT OR Apache-2.0" + }, + "glob 0.3.1": { + "name": "glob", + "version": "0.3.1", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/glob/0.3.1/download", + "sha256": "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + } + }, + "targets": [ + { + "Library": { + "crate_name": "glob", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "glob", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "0.3.1" + }, + "license": "MIT OR Apache-2.0" + }, + "hermit-abi 0.1.19": { + "name": "hermit-abi", + "version": "0.1.19", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/hermit-abi/0.1.19/download", + "sha256": "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" + } + }, + "targets": [ + { + "Library": { + "crate_name": "hermit_abi", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "hermit_abi", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "0.1.19" + }, + "license": "MIT/Apache-2.0" + }, + "home 0.5.9": { + "name": "home", + "version": "0.5.9", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/home/0.5.9/download", + "sha256": "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" + } + }, + "targets": [ + { + "Library": { + "crate_name": "home", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "home", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(windows)": [ + { + "id": "windows-sys 0.52.0", + "target": "windows_sys" + } + ] + } + }, + "edition": "2021", + "version": "0.5.9" + }, + "license": "MIT OR Apache-2.0" + }, + "humantime 2.1.0": { + "name": "humantime", + "version": "2.1.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/humantime/2.1.0/download", + "sha256": "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + } + }, + "targets": [ + { + "Library": { + "crate_name": "humantime", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "humantime", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2018", + "version": "2.1.0" + }, + "license": "MIT/Apache-2.0" + }, + "lazy_static 1.4.0": { + "name": "lazy_static", + "version": "1.4.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/lazy_static/1.4.0/download", + "sha256": "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + } + }, + "targets": [ + { + "Library": { + "crate_name": "lazy_static", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "lazy_static", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "1.4.0" + }, + "license": "MIT/Apache-2.0" + }, + "lazycell 1.3.0": { + "name": "lazycell", + "version": "1.3.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/lazycell/1.3.0/download", + "sha256": "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + } + }, + "targets": [ + { + "Library": { + "crate_name": "lazycell", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "lazycell", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "1.3.0" + }, + "license": "MIT/Apache-2.0" + }, + "libc 0.2.155": { + "name": "libc", + "version": "0.2.155", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/libc/0.2.155/download", + "sha256": "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" + } + }, + "targets": [ + { + "Library": { + "crate_name": "libc", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "libc", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default", + "std" + ], + "selects": { + "aarch64-apple-darwin": [ + "extra_traits" + ], + "aarch64-apple-ios": [ + "extra_traits" + ], + "aarch64-apple-ios-sim": [ + "extra_traits" + ], + "aarch64-fuchsia": [ + "extra_traits" + ], + "aarch64-linux-android": [ + "extra_traits" + ], + "armv7-linux-androideabi": [ + "extra_traits" + ], + "i686-apple-darwin": [ + "extra_traits" + ], + "i686-linux-android": [ + "extra_traits" + ], + "i686-unknown-freebsd": [ + "extra_traits" + ], + "powerpc-unknown-linux-gnu": [ + "extra_traits" + ], + "riscv32imc-unknown-none-elf": [ + "extra_traits" + ], + "riscv64gc-unknown-none-elf": [ + "extra_traits" + ], + "s390x-unknown-linux-gnu": [ + "extra_traits" + ], + "thumbv7em-none-eabi": [ + "extra_traits" + ], + "thumbv8m.main-none-eabi": [ + "extra_traits" + ], + "wasm32-unknown-unknown": [ + "extra_traits" + ], + "wasm32-wasi": [ + "extra_traits" + ], + "x86_64-apple-darwin": [ + "extra_traits" + ], + "x86_64-apple-ios": [ + "extra_traits" + ], + "x86_64-fuchsia": [ + "extra_traits" + ], + "x86_64-linux-android": [ + "extra_traits" + ], + "x86_64-unknown-freebsd": [ + "extra_traits" + ], + "x86_64-unknown-none": [ + "extra_traits" + ] + } + }, + "deps": { + "common": [ + { + "id": "libc 0.2.155", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "0.2.155" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "libloading 0.8.3": { + "name": "libloading", + "version": "0.8.3", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/libloading/0.8.3/download", + "sha256": "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" + } + }, + "targets": [ + { + "Library": { + "crate_name": "libloading", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "libloading", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(unix)": [ + { + "id": "cfg-if 1.0.0", + "target": "cfg_if" + } + ], + "cfg(windows)": [ + { + "id": "windows-targets 0.52.5", + "target": "windows_targets" + } + ] + } + }, + "edition": "2015", + "version": "0.8.3" + }, + "license": "ISC" + }, + "linux-raw-sys 0.4.14": { + "name": "linux-raw-sys", + "version": "0.4.14", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/linux-raw-sys/0.4.14/download", + "sha256": "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + } + }, + "targets": [ + { + "Library": { + "crate_name": "linux_raw_sys", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "linux_raw_sys", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "general", + "ioctl", + "no_std" + ], + "selects": { + "aarch64-unknown-linux-gnu": [ + "elf", + "errno" + ], + "arm-unknown-linux-gnueabi": [ + "elf", + "errno" + ], + "armv7-unknown-linux-gnueabi": [ + "elf", + "errno" + ], + "i686-unknown-linux-gnu": [ + "elf", + "errno" + ], + "x86_64-unknown-linux-gnu": [ + "elf", + "errno" + ] + } + }, + "edition": "2021", + "version": "0.4.14" + }, + "license": "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" + }, + "log 0.4.21": { + "name": "log", + "version": "0.4.21", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/log/0.4.21/download", + "sha256": "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" + } + }, + "targets": [ + { + "Library": { + "crate_name": "log", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "log", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "std" + ], + "selects": {} + }, + "edition": "2021", + "version": "0.4.21" + }, + "license": "MIT OR Apache-2.0" + }, + "memchr 2.7.4": { + "name": "memchr", + "version": "2.7.4", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/memchr/2.7.4/download", + "sha256": "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + } + }, + "targets": [ + { + "Library": { + "crate_name": "memchr", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "memchr", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "alloc", + "std" + ], + "selects": {} + }, + "edition": "2021", + "version": "2.7.4" + }, + "license": "Unlicense OR MIT" + }, + "minimal-lexical 0.2.1": { + "name": "minimal-lexical", + "version": "0.2.1", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/minimal-lexical/0.2.1/download", + "sha256": "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + } + }, + "targets": [ + { + "Library": { + "crate_name": "minimal_lexical", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "minimal_lexical", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "std" + ], + "selects": {} + }, + "edition": "2018", + "version": "0.2.1" + }, + "license": "MIT/Apache-2.0" + }, + "nom 7.1.3": { + "name": "nom", + "version": "7.1.3", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/nom/7.1.3/download", + "sha256": "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" + } + }, + "targets": [ + { + "Library": { + "crate_name": "nom", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "nom", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "alloc", + "std" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "memchr 2.7.4", + "target": "memchr" + }, + { + "id": "minimal-lexical 0.2.1", + "target": "minimal_lexical" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "7.1.3" + }, + "license": "MIT" + }, + "once_cell 1.19.0": { + "name": "once_cell", + "version": "1.19.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/once_cell/1.19.0/download", + "sha256": "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + } + }, + "targets": [ + { + "Library": { + "crate_name": "once_cell", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "once_cell", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "alloc", + "default", + "race", + "std" + ], + "selects": {} + }, + "edition": "2021", + "version": "1.19.0" + }, + "license": "MIT OR Apache-2.0" + }, + "paste 1.0.15": { + "name": "paste", + "version": "1.0.15", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/paste/1.0.15/download", + "sha256": "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + } + }, + "targets": [ + { + "ProcMacro": { + "crate_name": "paste", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "paste", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "paste 1.0.15", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "1.0.15" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "peeking_take_while 0.1.2": { + "name": "peeking_take_while", + "version": "0.1.2", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/peeking_take_while/0.1.2/download", + "sha256": "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + } + }, + "targets": [ + { + "Library": { + "crate_name": "peeking_take_while", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "peeking_take_while", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "0.1.2" + }, + "license": "Apache-2.0/MIT" + }, + "proc-macro2 1.0.85": { + "name": "proc-macro2", + "version": "1.0.85", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/proc-macro2/1.0.85/download", + "sha256": "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" + } + }, + "targets": [ + { + "Library": { + "crate_name": "proc_macro2", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "proc_macro2", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "proc-macro2 1.0.85", + "target": "build_script_build" + }, + { + "id": "unicode-ident 1.0.12", + "target": "unicode_ident" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "1.0.85" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "quote 1.0.36": { + "name": "quote", + "version": "1.0.36", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/quote/1.0.36/download", + "sha256": "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" + } + }, + "targets": [ + { + "Library": { + "crate_name": "quote", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "quote", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "proc-macro2 1.0.85", + "target": "proc_macro2" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "1.0.36" + }, + "license": "MIT OR Apache-2.0" + }, + "regex 1.10.5": { + "name": "regex", + "version": "1.10.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/regex/1.10.5/download", + "sha256": "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" + } + }, + "targets": [ + { + "Library": { + "crate_name": "regex", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "regex", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "perf", + "perf-backtrack", + "perf-cache", + "perf-dfa", + "perf-inline", + "perf-literal", + "perf-onepass", + "std", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "aho-corasick 1.1.3", + "target": "aho_corasick" + }, + { + "id": "memchr 2.7.4", + "target": "memchr" + }, + { + "id": "regex-automata 0.4.7", + "target": "regex_automata" + }, + { + "id": "regex-syntax 0.8.4", + "target": "regex_syntax" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "1.10.5" + }, + "license": "MIT OR Apache-2.0" + }, + "regex-automata 0.4.7": { + "name": "regex-automata", + "version": "0.4.7", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/regex-automata/0.4.7/download", + "sha256": "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" + } + }, + "targets": [ + { + "Library": { + "crate_name": "regex_automata", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "regex_automata", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "alloc", + "dfa-onepass", + "hybrid", + "meta", + "nfa-backtrack", + "nfa-pikevm", + "nfa-thompson", + "perf-inline", + "perf-literal", + "perf-literal-multisubstring", + "perf-literal-substring", + "std", + "syntax", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + "unicode-word-boundary" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "aho-corasick 1.1.3", + "target": "aho_corasick" + }, + { + "id": "memchr 2.7.4", + "target": "memchr" + }, + { + "id": "regex-syntax 0.8.4", + "target": "regex_syntax" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.4.7" + }, + "license": "MIT OR Apache-2.0" + }, + "regex-syntax 0.8.4": { + "name": "regex-syntax", + "version": "0.8.4", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/regex-syntax/0.8.4/download", + "sha256": "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" + } + }, + "targets": [ + { + "Library": { + "crate_name": "regex_syntax", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "regex_syntax", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "std", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment" + ], + "selects": {} + }, + "edition": "2021", + "version": "0.8.4" + }, + "license": "MIT OR Apache-2.0" + }, + "rustc-hash 1.1.0": { + "name": "rustc-hash", + "version": "1.1.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/rustc-hash/1.1.0/download", + "sha256": "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + } + }, + "targets": [ + { + "Library": { + "crate_name": "rustc_hash", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "rustc_hash", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default", + "std" + ], + "selects": {} + }, + "edition": "2015", + "version": "1.1.0" + }, + "license": "Apache-2.0/MIT" + }, + "rustix 0.38.34": { + "name": "rustix", + "version": "0.38.34", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/rustix/0.38.34/download", + "sha256": "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" + } + }, + "targets": [ + { + "Library": { + "crate_name": "rustix", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "rustix", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "alloc", + "fs", + "libc-extra-traits", + "std" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "bitflags 2.5.0", + "target": "bitflags" + }, + { + "id": "rustix 0.38.34", + "target": "build_script_build" + } + ], + "selects": { + "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": [ + { + "id": "linux-raw-sys 0.4.14", + "target": "linux_raw_sys" + } + ], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": [ + { + "id": "linux-raw-sys 0.4.14", + "target": "linux_raw_sys" + } + ], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": [ + { + "id": "errno 0.3.9", + "target": "errno", + "alias": "libc_errno" + }, + { + "id": "libc 0.2.155", + "target": "libc" + } + ], + "cfg(windows)": [ + { + "id": "errno 0.3.9", + "target": "errno", + "alias": "libc_errno" + }, + { + "id": "windows-sys 0.52.0", + "target": "windows_sys" + } + ] + } + }, + "edition": "2021", + "version": "0.38.34" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" + }, + "shlex 1.3.0": { + "name": "shlex", + "version": "1.3.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/shlex/1.3.0/download", + "sha256": "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + } + }, + "targets": [ + { + "Library": { + "crate_name": "shlex", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "shlex", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default", + "std" + ], + "selects": {} + }, + "edition": "2015", + "version": "1.3.0" + }, + "license": "MIT OR Apache-2.0" + }, + "strsim 0.8.0": { + "name": "strsim", + "version": "0.8.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/strsim/0.8.0/download", + "sha256": "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" + } + }, + "targets": [ + { + "Library": { + "crate_name": "strsim", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "strsim", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "0.8.0" + }, + "license": "MIT" + }, + "termcolor 1.4.1": { + "name": "termcolor", + "version": "1.4.1", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/termcolor/1.4.1/download", + "sha256": "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" + } + }, + "targets": [ + { + "Library": { + "crate_name": "termcolor", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "termcolor", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(windows)": [ + { + "id": "winapi-util 0.1.8", + "target": "winapi_util" + } + ] + } + }, + "edition": "2018", + "version": "1.4.1" + }, + "license": "Unlicense OR MIT" + }, + "textwrap 0.11.0": { + "name": "textwrap", + "version": "0.11.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/textwrap/0.11.0/download", + "sha256": "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" + } + }, + "targets": [ + { + "Library": { + "crate_name": "textwrap", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "textwrap", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "unicode-width 0.1.13", + "target": "unicode_width" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "0.11.0" + }, + "license": "MIT" + }, + "unicode-ident 1.0.12": { + "name": "unicode-ident", + "version": "1.0.12", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/unicode-ident/1.0.12/download", + "sha256": "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + } + }, + "targets": [ + { + "Library": { + "crate_name": "unicode_ident", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "unicode_ident", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2018", + "version": "1.0.12" + }, + "license": "(MIT OR Apache-2.0) AND Unicode-DFS-2016" + }, + "unicode-width 0.1.13": { + "name": "unicode-width", + "version": "0.1.13", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/unicode-width/0.1.13/download", + "sha256": "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" + } + }, + "targets": [ + { + "Library": { + "crate_name": "unicode_width", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "unicode_width", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "default" + ], + "selects": {} + }, + "edition": "2021", + "version": "0.1.13" + }, + "license": "MIT OR Apache-2.0" + }, + "vec_map 0.8.2": { + "name": "vec_map", + "version": "0.8.2", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/vec_map/0.8.2/download", + "sha256": "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" + } + }, + "targets": [ + { + "Library": { + "crate_name": "vec_map", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "vec_map", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "edition": "2015", + "version": "0.8.2" + }, + "license": "MIT/Apache-2.0" + }, + "which 4.4.2": { + "name": "which", + "version": "4.4.2", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/which/4.4.2/download", + "sha256": "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" + } + }, + "targets": [ + { + "Library": { + "crate_name": "which", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "which", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "either 1.12.0", + "target": "either" + }, + { + "id": "rustix 0.38.34", + "target": "rustix" + } + ], + "selects": { + "cfg(any(windows, unix, target_os = \"redox\"))": [ + { + "id": "home 0.5.9", + "target": "home" + } + ], + "cfg(windows)": [ + { + "id": "once_cell 1.19.0", + "target": "once_cell" + } + ] + } + }, + "edition": "2021", + "version": "4.4.2" + }, + "license": "MIT" + }, + "winapi 0.3.9": { + "name": "winapi", + "version": "0.3.9", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/winapi/0.3.9/download", + "sha256": "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" + } + }, + "targets": [ + { + "Library": { + "crate_name": "winapi", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "winapi", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "consoleapi", + "minwinbase", + "minwindef", + "processenv", + "winbase" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "winapi 0.3.9", + "target": "build_script_build" + } + ], + "selects": { + "i686-pc-windows-gnu": [ + { + "id": "winapi-i686-pc-windows-gnu 0.4.0", + "target": "winapi_i686_pc_windows_gnu" + } + ], + "x86_64-pc-windows-gnu": [ + { + "id": "winapi-x86_64-pc-windows-gnu 0.4.0", + "target": "winapi_x86_64_pc_windows_gnu" + } + ] + } + }, + "edition": "2015", + "version": "0.3.9" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT/Apache-2.0" + }, + "winapi-i686-pc-windows-gnu 0.4.0": { + "name": "winapi-i686-pc-windows-gnu", + "version": "0.4.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/winapi-i686-pc-windows-gnu/0.4.0/download", + "sha256": "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + } + }, + "targets": [ + { + "Library": { + "crate_name": "winapi_i686_pc_windows_gnu", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "winapi_i686_pc_windows_gnu", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "winapi-i686-pc-windows-gnu 0.4.0", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "0.4.0" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT/Apache-2.0" + }, + "winapi-util 0.1.8": { + "name": "winapi-util", + "version": "0.1.8", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/winapi-util/0.1.8/download", + "sha256": "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" + } + }, + "targets": [ + { + "Library": { + "crate_name": "winapi_util", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "winapi_util", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "cfg(windows)": [ + { + "id": "windows-sys 0.52.0", + "target": "windows_sys" + } + ] + } + }, + "edition": "2021", + "version": "0.1.8" + }, + "license": "Unlicense OR MIT" + }, + "winapi-x86_64-pc-windows-gnu 0.4.0": { + "name": "winapi-x86_64-pc-windows-gnu", + "version": "0.4.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", + "sha256": "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + } + }, + "targets": [ + { + "Library": { + "crate_name": "winapi_x86_64_pc_windows_gnu", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "winapi_x86_64_pc_windows_gnu", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "winapi-x86_64-pc-windows-gnu 0.4.0", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "0.4.0" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT/Apache-2.0" + }, + "windows-sys 0.52.0": { + "name": "windows-sys", + "version": "0.52.0", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows-sys/0.52.0/download", + "sha256": "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_sys", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_sys", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "Win32", + "Win32_Foundation", + "Win32_NetworkManagement", + "Win32_NetworkManagement_IpHelper", + "Win32_Networking", + "Win32_Networking_WinSock", + "Win32_Storage", + "Win32_Storage_FileSystem", + "Win32_System", + "Win32_System_Com", + "Win32_System_Console", + "Win32_System_Diagnostics", + "Win32_System_Diagnostics_Debug", + "Win32_System_SystemInformation", + "Win32_System_Threading", + "Win32_UI", + "Win32_UI_Shell", + "default" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "windows-targets 0.52.5", + "target": "windows_targets" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.0" + }, + "license": "MIT OR Apache-2.0" + }, + "windows-targets 0.52.5": { + "name": "windows-targets", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows-targets/0.52.5/download", + "sha256": "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_targets", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_targets", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [], + "selects": { + "aarch64-pc-windows-gnullvm": [ + { + "id": "windows_aarch64_gnullvm 0.52.5", + "target": "windows_aarch64_gnullvm" + } + ], + "cfg(all(any(target_arch = \"x86_64\", target_arch = \"arm64ec\"), target_env = \"msvc\", not(windows_raw_dylib)))": [ + { + "id": "windows_x86_64_msvc 0.52.5", + "target": "windows_x86_64_msvc" + } + ], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": [ + { + "id": "windows_aarch64_msvc 0.52.5", + "target": "windows_aarch64_msvc" + } + ], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": [ + { + "id": "windows_i686_gnu 0.52.5", + "target": "windows_i686_gnu" + } + ], + "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": [ + { + "id": "windows_i686_msvc 0.52.5", + "target": "windows_i686_msvc" + } + ], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": [ + { + "id": "windows_x86_64_gnu 0.52.5", + "target": "windows_x86_64_gnu" + } + ], + "i686-pc-windows-gnullvm": [ + { + "id": "windows_i686_gnullvm 0.52.5", + "target": "windows_i686_gnullvm" + } + ], + "x86_64-pc-windows-gnullvm": [ + { + "id": "windows_x86_64_gnullvm 0.52.5", + "target": "windows_x86_64_gnullvm" + } + ] + } + }, + "edition": "2021", + "version": "0.52.5" + }, + "license": "MIT OR Apache-2.0" + }, + "windows_aarch64_gnullvm 0.52.5": { + "name": "windows_aarch64_gnullvm", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_aarch64_gnullvm/0.52.5/download", + "sha256": "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_aarch64_gnullvm", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_aarch64_gnullvm", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_aarch64_gnullvm 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_aarch64_msvc 0.52.5": { + "name": "windows_aarch64_msvc", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_aarch64_msvc/0.52.5/download", + "sha256": "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_aarch64_msvc", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_aarch64_msvc", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_aarch64_msvc 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_i686_gnu 0.52.5": { + "name": "windows_i686_gnu", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_i686_gnu/0.52.5/download", + "sha256": "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_i686_gnu", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_i686_gnu", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_i686_gnu 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_i686_gnullvm 0.52.5": { + "name": "windows_i686_gnullvm", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_i686_gnullvm/0.52.5/download", + "sha256": "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_i686_gnullvm", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_i686_gnullvm", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_i686_gnullvm 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_i686_msvc 0.52.5": { + "name": "windows_i686_msvc", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_i686_msvc/0.52.5/download", + "sha256": "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_i686_msvc", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_i686_msvc", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_i686_msvc 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_x86_64_gnu 0.52.5": { + "name": "windows_x86_64_gnu", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_x86_64_gnu/0.52.5/download", + "sha256": "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_x86_64_gnu", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_x86_64_gnu", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_x86_64_gnu 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_x86_64_gnullvm 0.52.5": { + "name": "windows_x86_64_gnullvm", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_x86_64_gnullvm/0.52.5/download", + "sha256": "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_x86_64_gnullvm", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_x86_64_gnullvm", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_x86_64_gnullvm 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "windows_x86_64_msvc 0.52.5": { + "name": "windows_x86_64_msvc", + "version": "0.52.5", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/windows_x86_64_msvc/0.52.5/download", + "sha256": "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" + } + }, + "targets": [ + { + "Library": { + "crate_name": "windows_x86_64_msvc", + "crate_root": "src/lib.rs", + "srcs": [ + "**/*.rs" + ] + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": [ + "**/*.rs" + ] + } + } + ], + "library_target_name": "windows_x86_64_msvc", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "windows_x86_64_msvc 0.52.5", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.52.5" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + } + }, + "binary_crates": [], + "workspace_members": { + "direct-cargo-bazel-deps 0.0.1": "" + }, + "conditions": { + "aarch64-apple-darwin": [ + "aarch64-apple-darwin" + ], + "aarch64-apple-ios": [ + "aarch64-apple-ios" + ], + "aarch64-apple-ios-sim": [ + "aarch64-apple-ios-sim" + ], + "aarch64-fuchsia": [ + "aarch64-fuchsia" + ], + "aarch64-linux-android": [ + "aarch64-linux-android" + ], + "aarch64-pc-windows-gnullvm": [], + "aarch64-pc-windows-msvc": [ + "aarch64-pc-windows-msvc" + ], + "aarch64-unknown-linux-gnu": [ + "aarch64-unknown-linux-gnu" + ], + "arm-unknown-linux-gnueabi": [ + "arm-unknown-linux-gnueabi" + ], + "armv7-linux-androideabi": [ + "armv7-linux-androideabi" + ], + "armv7-unknown-linux-gnueabi": [ + "armv7-unknown-linux-gnueabi" + ], + "cfg(all(any(target_arch = \"x86_64\", target_arch = \"arm64ec\"), target_env = \"msvc\", not(windows_raw_dylib)))": [ + "x86_64-pc-windows-msvc" + ], + "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": [ + "aarch64-linux-android", + "armv7-linux-androideabi", + "i686-linux-android", + "powerpc-unknown-linux-gnu", + "s390x-unknown-linux-gnu", + "x86_64-linux-android" + ], + "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))": [ + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "armv7-unknown-linux-gnueabi", + "i686-unknown-linux-gnu", + "x86_64-unknown-linux-gnu" + ], + "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))": [ + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-apple-ios-sim", + "aarch64-fuchsia", + "aarch64-linux-android", + "armv7-linux-androideabi", + "i686-apple-darwin", + "i686-linux-android", + "i686-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "riscv32imc-unknown-none-elf", + "riscv64gc-unknown-none-elf", + "s390x-unknown-linux-gnu", + "thumbv7em-none-eabi", + "thumbv8m.main-none-eabi", + "wasm32-unknown-unknown", + "wasm32-wasi", + "x86_64-apple-darwin", + "x86_64-apple-ios", + "x86_64-fuchsia", + "x86_64-linux-android", + "x86_64-unknown-freebsd", + "x86_64-unknown-none" + ], + "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": [ + "aarch64-pc-windows-msvc" + ], + "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": [ + "i686-unknown-linux-gnu" + ], + "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": [ + "i686-pc-windows-msvc" + ], + "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": [ + "x86_64-unknown-linux-gnu" + ], + "cfg(any(windows, unix, target_os = \"redox\"))": [ + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-apple-ios-sim", + "aarch64-fuchsia", + "aarch64-linux-android", + "aarch64-pc-windows-msvc", + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "armv7-linux-androideabi", + "armv7-unknown-linux-gnueabi", + "i686-apple-darwin", + "i686-linux-android", + "i686-pc-windows-msvc", + "i686-unknown-freebsd", + "i686-unknown-linux-gnu", + "powerpc-unknown-linux-gnu", + "s390x-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-apple-ios", + "x86_64-fuchsia", + "x86_64-linux-android", + "x86_64-pc-windows-msvc", + "x86_64-unknown-freebsd", + "x86_64-unknown-linux-gnu" + ], + "cfg(not(windows))": [ + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-apple-ios-sim", + "aarch64-fuchsia", + "aarch64-linux-android", + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "armv7-linux-androideabi", + "armv7-unknown-linux-gnueabi", + "i686-apple-darwin", + "i686-linux-android", + "i686-unknown-freebsd", + "i686-unknown-linux-gnu", + "powerpc-unknown-linux-gnu", + "riscv32imc-unknown-none-elf", + "riscv64gc-unknown-none-elf", + "s390x-unknown-linux-gnu", + "thumbv7em-none-eabi", + "thumbv8m.main-none-eabi", + "wasm32-unknown-unknown", + "wasm32-wasi", + "x86_64-apple-darwin", + "x86_64-apple-ios", + "x86_64-fuchsia", + "x86_64-linux-android", + "x86_64-unknown-freebsd", + "x86_64-unknown-linux-gnu", + "x86_64-unknown-none" + ], + "cfg(target_os = \"hermit\")": [], + "cfg(target_os = \"wasi\")": [ + "wasm32-wasi" + ], + "cfg(target_os = \"windows\")": [ + "aarch64-pc-windows-msvc", + "i686-pc-windows-msvc", + "x86_64-pc-windows-msvc" + ], + "cfg(unix)": [ + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-apple-ios-sim", + "aarch64-fuchsia", + "aarch64-linux-android", + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "armv7-linux-androideabi", + "armv7-unknown-linux-gnueabi", + "i686-apple-darwin", + "i686-linux-android", + "i686-unknown-freebsd", + "i686-unknown-linux-gnu", + "powerpc-unknown-linux-gnu", + "s390x-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-apple-ios", + "x86_64-fuchsia", + "x86_64-linux-android", + "x86_64-unknown-freebsd", + "x86_64-unknown-linux-gnu" + ], + "cfg(windows)": [ + "aarch64-pc-windows-msvc", + "i686-pc-windows-msvc", + "x86_64-pc-windows-msvc" + ], + "i686-apple-darwin": [ + "i686-apple-darwin" + ], + "i686-linux-android": [ + "i686-linux-android" + ], + "i686-pc-windows-gnu": [], + "i686-pc-windows-gnullvm": [], + "i686-pc-windows-msvc": [ + "i686-pc-windows-msvc" + ], + "i686-unknown-freebsd": [ + "i686-unknown-freebsd" + ], + "i686-unknown-linux-gnu": [ + "i686-unknown-linux-gnu" + ], + "powerpc-unknown-linux-gnu": [ + "powerpc-unknown-linux-gnu" + ], + "riscv32imc-unknown-none-elf": [ + "riscv32imc-unknown-none-elf" + ], + "riscv64gc-unknown-none-elf": [ + "riscv64gc-unknown-none-elf" + ], + "s390x-unknown-linux-gnu": [ + "s390x-unknown-linux-gnu" + ], + "thumbv7em-none-eabi": [ + "thumbv7em-none-eabi" + ], + "thumbv8m.main-none-eabi": [ + "thumbv8m.main-none-eabi" + ], + "wasm32-unknown-unknown": [ + "wasm32-unknown-unknown" + ], + "wasm32-wasi": [ + "wasm32-wasi" + ], + "x86_64-apple-darwin": [ + "x86_64-apple-darwin" + ], + "x86_64-apple-ios": [ + "x86_64-apple-ios" + ], + "x86_64-fuchsia": [ + "x86_64-fuchsia" + ], + "x86_64-linux-android": [ + "x86_64-linux-android" + ], + "x86_64-pc-windows-gnu": [], + "x86_64-pc-windows-gnullvm": [], + "x86_64-pc-windows-msvc": [ + "x86_64-pc-windows-msvc" + ], + "x86_64-unknown-freebsd": [ + "x86_64-unknown-freebsd" + ], + "x86_64-unknown-linux-gnu": [ + "x86_64-unknown-linux-gnu" + ], + "x86_64-unknown-none": [ + "x86_64-unknown-none" + ] + } +} diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..2fb4633 --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1,35 @@ +module( + name = "rust_icu", + version = "6.0", +) + +bazel_dep(name = "rules_go", version = "0.46.0") +bazel_dep(name = "gazelle", version = "0.35.0") +bazel_dep(name = "buildifier_prebuilt", version = "6.4.0") + +# Go SDK + +go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") + +# Download an SDK for the host OS & architecture as well as common remote execution platforms. +go_sdk.download(version = "1.22.1") + +go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") +go_deps.from_file(go_mod = "//:go.mod") + +# All *direct* Go dependencies of the module have to be listed explicitly. +use_repo(go_deps) + +bazel_dep(name = "rules_foreign_cc", version = "0.10.1") +bazel_dep(name = "toolchains_llvm", version = "1.0.0") + +# Configure and register the toolchain. +llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm") +llvm.toolchain( + # The version can not be arbitrary. `rules_foreign_cc` does not seem to + # work with just any version of LLVM. + llvm_version = "15.0.6", +) +use_repo(llvm, "llvm_toolchain") + +register_toolchains("@llvm_toolchain//:all") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock new file mode 100644 index 0000000..5638077 --- /dev/null +++ b/MODULE.bazel.lock @@ -0,0 +1,3039 @@ +{ + "lockFileVersion": 6, + "moduleFileHash": "7048f2acf0b54a572bc3825b896e8ae771239f8e78b2d11e172ba97b4bc1ca27", + "flags": { + "cmdRegistries": [ + "https://bcr.bazel.build/" + ], + "cmdModuleOverrides": {}, + "allowedYankedVersions": [], + "envVarAllowedYankedVersions": "", + "ignoreDevDependency": false, + "directDependenciesMode": "WARNING", + "compatibilityMode": "ERROR" + }, + "localOverrideHashes": { + "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0" + }, + "moduleDepGraph": { + "": { + "name": "rust_icu", + "version": "6.0", + "key": "", + "repoName": "rust_icu", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@llvm_toolchain//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_go//go:extensions.bzl", + "extensionName": "go_sdk", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 12, + "column": 23 + }, + "imports": {}, + "devImports": [], + "tags": [ + { + "tagName": "download", + "attributeValues": { + "version": "1.22.1" + }, + "devDependency": false, + "location": { + "file": "@@//:MODULE.bazel", + "line": 15, + "column": 16 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@gazelle//:extensions.bzl", + "extensionName": "go_deps", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 17, + "column": 24 + }, + "imports": {}, + "devImports": [], + "tags": [ + { + "tagName": "from_file", + "attributeValues": { + "go_mod": "//:go.mod" + }, + "devDependency": false, + "location": { + "file": "@@//:MODULE.bazel", + "line": 18, + "column": 18 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@toolchains_llvm//toolchain/extensions:llvm.bzl", + "extensionName": "llvm", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 27, + "column": 21 + }, + "imports": { + "llvm_toolchain": "llvm_toolchain" + }, + "devImports": [], + "tags": [ + { + "tagName": "toolchain", + "attributeValues": { + "llvm_version": "15.0.6" + }, + "devDependency": false, + "location": { + "file": "@@//:MODULE.bazel", + "line": 28, + "column": 15 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "rules_go": "rules_go@0.46.0", + "gazelle": "gazelle@0.35.0", + "buildifier_prebuilt": "buildifier_prebuilt@6.4.0", + "rules_foreign_cc": "rules_foreign_cc@0.10.1", + "toolchains_llvm": "toolchains_llvm@1.0.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, + "rules_go@0.46.0": { + "name": "rules_go", + "version": "0.46.0", + "key": "rules_go@0.46.0", + "repoName": "io_bazel_rules_go", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@go_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@io_bazel_rules_go//go:extensions.bzl", + "extensionName": "go_sdk", + "usingModule": "rules_go@0.46.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel", + "line": 16, + "column": 23 + }, + "imports": { + "go_toolchains": "go_toolchains", + "io_bazel_rules_nogo": "io_bazel_rules_nogo" + }, + "devImports": [], + "tags": [ + { + "tagName": "download", + "attributeValues": { + "name": "go_default_sdk", + "version": "1.21.1" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel", + "line": 17, + "column": 16 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@gazelle//:extensions.bzl", + "extensionName": "go_deps", + "usingModule": "rules_go@0.46.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel", + "line": 32, + "column": 24 + }, + "imports": { + "com_github_gogo_protobuf": "com_github_gogo_protobuf", + "com_github_golang_mock": "com_github_golang_mock", + "com_github_golang_protobuf": "com_github_golang_protobuf", + "org_golang_google_genproto": "org_golang_google_genproto", + "org_golang_google_grpc": "org_golang_google_grpc", + "org_golang_google_grpc_cmd_protoc_gen_go_grpc": "org_golang_google_grpc_cmd_protoc_gen_go_grpc", + "org_golang_google_protobuf": "org_golang_google_protobuf", + "org_golang_x_net": "org_golang_x_net", + "org_golang_x_tools": "org_golang_x_tools" + }, + "devImports": [], + "tags": [ + { + "tagName": "from_file", + "attributeValues": { + "go_mod": "//:go.mod" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel", + "line": 33, + "column": 18 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "io_bazel_rules_go_bazel_features": "bazel_features@1.1.1", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.8", + "rules_proto": "rules_proto@5.3.0-21.7", + "com_google_protobuf": "protobuf@21.7", + "gazelle": "gazelle@0.35.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip" + ], + "integrity": "sha256-gKmCd60TEdrNg3+bFttiiHcC6fHRxMn3ltASGkbI4YQ=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "gazelle@0.35.0": { + "name": "gazelle", + "version": "0.35.0", + "key": "gazelle@0.35.0", + "repoName": "bazel_gazelle", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@io_bazel_rules_go//go:extensions.bzl", + "extensionName": "go_sdk", + "usingModule": "gazelle@0.35.0", + "location": { + "file": "https://bcr.bazel.build/modules/gazelle/0.35.0/MODULE.bazel", + "line": 12, + "column": 23 + }, + "imports": { + "go_host_compatible_sdk_label": "go_host_compatible_sdk_label" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_gazelle//internal/bzlmod:non_module_deps.bzl", + "extensionName": "non_module_deps", + "usingModule": "gazelle@0.35.0", + "location": { + "file": "https://bcr.bazel.build/modules/gazelle/0.35.0/MODULE.bazel", + "line": 20, + "column": 32 + }, + "imports": { + "bazel_gazelle_go_repository_cache": "bazel_gazelle_go_repository_cache", + "bazel_gazelle_go_repository_tools": "bazel_gazelle_go_repository_tools", + "bazel_gazelle_is_bazel_module": "bazel_gazelle_is_bazel_module" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_gazelle//:extensions.bzl", + "extensionName": "go_deps", + "usingModule": "gazelle@0.35.0", + "location": { + "file": "https://bcr.bazel.build/modules/gazelle/0.35.0/MODULE.bazel", + "line": 28, + "column": 24 + }, + "imports": { + "com_github_bazelbuild_buildtools": "com_github_bazelbuild_buildtools", + "com_github_bmatcuk_doublestar_v4": "com_github_bmatcuk_doublestar_v4", + "com_github_fsnotify_fsnotify": "com_github_fsnotify_fsnotify", + "com_github_google_go_cmp": "com_github_google_go_cmp", + "com_github_pmezard_go_difflib": "com_github_pmezard_go_difflib", + "org_golang_x_mod": "org_golang_x_mod", + "org_golang_x_sync": "org_golang_x_sync", + "org_golang_x_tools": "org_golang_x_tools", + "org_golang_x_tools_go_vcs": "org_golang_x_tools_go_vcs", + "bazel_gazelle_go_repository_config": "bazel_gazelle_go_repository_config", + "com_github_golang_protobuf": "com_github_golang_protobuf", + "org_golang_google_protobuf": "org_golang_google_protobuf" + }, + "devImports": [], + "tags": [ + { + "tagName": "from_file", + "attributeValues": { + "go_mod": "//:go.mod" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/gazelle/0.35.0/MODULE.bazel", + "line": 29, + "column": 18 + } + }, + { + "tagName": "module", + "attributeValues": { + "path": "golang.org/x/tools", + "sum": "h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8=", + "version": "v0.15.0" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/gazelle/0.35.0/MODULE.bazel", + "line": 33, + "column": 15 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "com_google_protobuf": "protobuf@21.7", + "io_bazel_rules_go": "rules_go@0.46.0", + "rules_proto": "rules_proto@5.3.0-21.7", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz" + ], + "integrity": "sha256-MpOL2hbmcABjA1R5Bj2dJMYO2o15/Uc5Vj9Q0zHLMgk=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "buildifier_prebuilt@6.4.0": { + "name": "buildifier_prebuilt", + "version": "6.4.0", + "key": "buildifier_prebuilt@6.4.0", + "repoName": "buildifier_prebuilt", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@buildifier_prebuilt_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@buildifier_prebuilt//:defs.bzl", + "extensionName": "buildifier_prebuilt_deps_extension", + "usingModule": "buildifier_prebuilt@6.4.0", + "location": { + "file": "https://bcr.bazel.build/modules/buildifier_prebuilt/6.4.0/MODULE.bazel", + "line": 10, + "column": 32 + }, + "imports": { + "buildifier_prebuilt_toolchains": "buildifier_prebuilt_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/keith/buildifier-prebuilt/archive/refs/tags/6.4.0.tar.gz" + ], + "integrity": "sha256-itqdiOUev1of3/N9de1B1R9eZ3zb6vsKIt2lR0fW4H4=", + "strip_prefix": "buildifier-prebuilt-6.4.0", + "remote_patches": { + "https://bcr.bazel.build/modules/buildifier_prebuilt/6.4.0/patches/module_dot_bazel_version.patch": "sha256-FpUp/q4zJ2H12lwezrYaPUGLY2rr1XoWpiDRaE19udw=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_foreign_cc@0.10.1": { + "name": "rules_foreign_cc", + "version": "0.10.1", + "key": "rules_foreign_cc@0.10.1", + "repoName": "rules_foreign_cc", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@rules_foreign_cc_framework_toolchains//:all", + "@rules_foreign_cc//toolchains:built_make_toolchain", + "@rules_foreign_cc//toolchains:built_meson_toolchain", + "@rules_foreign_cc//toolchains:built_pkgconfig_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_automake_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_m4_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain", + "@cmake_3.23.2_toolchains//:all", + "@ninja_1.11.1_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_foreign_cc//foreign_cc:extensions.bzl", + "extensionName": "tools", + "usingModule": "rules_foreign_cc@0.10.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel", + "line": 14, + "column": 22 + }, + "imports": { + "cmake_3.23.2_toolchains": "cmake_3.23.2_toolchains", + "cmake_src": "cmake_src", + "gnumake_src": "gnumake_src", + "meson_src": "meson_src", + "ninja_1.11.1_toolchains": "ninja_1.11.1_toolchains", + "ninja_build_src": "ninja_build_src", + "pkgconfig_src": "pkgconfig_src", + "rules_foreign_cc_framework_toolchains": "rules_foreign_cc_framework_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.8", + "rules_python": "rules_python@0.22.1", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.tar.gz" + ], + "integrity": "sha256-R2MDvQ8bBMwxH8JY8XCKX274LTCR5T/Rl3+iA4NCWmo=", + "strip_prefix": "rules_foreign_cc-0.10.1", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/patches/module_dot_bazel.patch": "sha256-hDvLi+Nx91lvhEd2qRrPfPu0RjiG5w3a/c4N4AiJb3U=" + }, + "remote_patch_strip": 0 + } + } + }, + "toolchains_llvm@1.0.0": { + "name": "toolchains_llvm", + "version": "1.0.0", + "key": "toolchains_llvm@1.0.0", + "repoName": "toolchains_llvm", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_cc": "rules_cc@0.0.9", + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazel-contrib/toolchains_llvm/releases/download/1.0.0/toolchains_llvm-1.0.0.tar.gz" + ], + "integrity": "sha256-6RxDYfmQEaVIFOGvvlxDbg0ymHEUajzVjCOitK+1Bzc=", + "strip_prefix": "toolchains_llvm-1.0.0", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "bazel_tools@_": { + "name": "bazel_tools", + "version": "", + "key": "bazel_tools@_", + "repoName": "bazel_tools", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@local_config_cc_toolchains//:all", + "@local_config_sh//:local_sh_toolchain" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", + "extensionName": "cc_configure_extension", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 18, + "column": 29 + }, + "imports": { + "local_config_cc": "local_config_cc", + "local_config_cc_toolchains": "local_config_cc_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", + "extensionName": "xcode_configure_extension", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 22, + "column": 32 + }, + "imports": { + "local_config_xcode": "local_config_xcode" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@rules_java//java:extensions.bzl", + "extensionName": "toolchains", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 25, + "column": 32 + }, + "imports": { + "local_jdk": "local_jdk", + "remote_java_tools": "remote_java_tools", + "remote_java_tools_linux": "remote_java_tools_linux", + "remote_java_tools_windows": "remote_java_tools_windows", + "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", + "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", + "extensionName": "sh_configure_extension", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 36, + "column": 39 + }, + "imports": { + "local_config_sh": "local_config_sh" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", + "extensionName": "remote_coverage_tools_extension", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 40, + "column": 48 + }, + "imports": { + "remote_coverage_tools": "remote_coverage_tools" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", + "extensionName": "remote_android_tools_extensions", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 43, + "column": 42 + }, + "imports": { + "android_gmaven_r8": "android_gmaven_r8", + "android_tools": "android_tools" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", + "extensionName": "buildozer_binary", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 47, + "column": 33 + }, + "imports": { + "buildozer_binary": "buildozer_binary" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "rules_cc": "rules_cc@0.0.9", + "rules_java": "rules_java@7.4.0", + "rules_license": "rules_license@0.0.7", + "rules_proto": "rules_proto@5.3.0-21.7", + "rules_python": "rules_python@0.22.1", + "buildozer": "buildozer@6.4.0.2", + "platforms": "platforms@0.0.8", + "com_google_protobuf": "protobuf@21.7", + "zlib": "zlib@1.3", + "build_bazel_apple_support": "apple_support@1.5.0", + "local_config_platform": "local_config_platform@_" + } + }, + "local_config_platform@_": { + "name": "local_config_platform", + "version": "", + "key": "local_config_platform@_", + "repoName": "local_config_platform", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_" + } + }, + "bazel_features@1.1.1": { + "name": "bazel_features", + "version": "1.1.1", + "key": "bazel_features@1.1.1", + "repoName": "bazel_features", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@bazel_features//private:extensions.bzl", + "extensionName": "version_extension", + "usingModule": "bazel_features@1.1.1", + "location": { + "file": "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel", + "line": 6, + "column": 24 + }, + "imports": { + "bazel_features_globals": "bazel_features_globals", + "bazel_features_version": "bazel_features_version" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazel-contrib/bazel_features/releases/download/v1.1.1/bazel_features-v1.1.1.tar.gz" + ], + "integrity": "sha256-YsJuQn5cvHUQJERpJ2IuOYqdzfMsZDJSOIFXCdEcEag=", + "strip_prefix": "bazel_features-1.1.1", + "remote_patches": { + "https://bcr.bazel.build/modules/bazel_features/1.1.1/patches/module_dot_bazel_version.patch": "sha256-+56MAEsc7bYN/Pzhn252ZQUxiRzZg9bynXj1qpsmCYs=" + }, + "remote_patch_strip": 1 + } + } + }, + "bazel_skylib@1.5.0": { + "name": "bazel_skylib", + "version": "1.5.0", + "key": "bazel_skylib@1.5.0", + "repoName": "bazel_skylib", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "//toolchains/unittest:cmd_toolchain", + "//toolchains/unittest:bash_toolchain" + ], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" + ], + "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "platforms@0.0.8": { + "name": "platforms", + "version": "0.0.8", + "key": "platforms@0.0.8", + "repoName": "platforms", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_license": "rules_license@0.0.7", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz" + ], + "integrity": "sha256-gVBAZgU4ns7LbaB8vLUJ1WN6OrmiS8abEQFTE2fYnXQ=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "rules_proto@5.3.0-21.7": { + "name": "rules_proto", + "version": "5.3.0-21.7", + "key": "rules_proto@5.3.0-21.7", + "repoName": "rules_proto", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "com_google_protobuf": "protobuf@21.7", + "rules_cc": "rules_cc@0.0.9", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz" + ], + "integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=", + "strip_prefix": "rules_proto-5.3.0-21.7", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "protobuf@21.7": { + "name": "protobuf", + "version": "21.7", + "key": "protobuf@21.7", + "repoName": "protobuf", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", + "extensionName": "maven", + "usingModule": "protobuf@21.7", + "location": { + "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "line": 22, + "column": 22 + }, + "imports": { + "maven": "maven" + }, + "devImports": [], + "tags": [ + { + "tagName": "install", + "attributeValues": { + "name": "maven", + "artifacts": [ + "com.google.code.findbugs:jsr305:3.0.2", + "com.google.code.gson:gson:2.8.9", + "com.google.errorprone:error_prone_annotations:2.3.2", + "com.google.j2objc:j2objc-annotations:1.3", + "com.google.guava:guava:31.1-jre", + "com.google.guava:guava-testlib:31.1-jre", + "com.google.truth:truth:1.1.2", + "junit:junit:4.13.2", + "org.mockito:mockito-core:4.3.1" + ] + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "line": 24, + "column": 14 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_python": "rules_python@0.22.1", + "rules_cc": "rules_cc@0.0.9", + "rules_proto": "rules_proto@5.3.0-21.7", + "rules_java": "rules_java@7.4.0", + "rules_pkg": "rules_pkg@0.7.0", + "com_google_abseil": "abseil-cpp@20211102.0", + "zlib": "zlib@1.3", + "upb": "upb@0.0.0-20220923-a547704", + "rules_jvm_external": "rules_jvm_external@4.4.2", + "com_google_googletest": "googletest@1.11.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip" + ], + "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=", + "strip_prefix": "protobuf-21.7", + "remote_patches": { + "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", + "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", + "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", + "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" + }, + "remote_patch_strip": 1 + } + } + }, + "rules_python@0.22.1": { + "name": "rules_python", + "version": "0.22.1", + "key": "rules_python@0.22.1", + "repoName": "rules_python", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@bazel_tools//tools/python:autodetecting_toolchain" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_python//python/extensions/private:internal_deps.bzl", + "extensionName": "internal_deps", + "usingModule": "rules_python@0.22.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel", + "line": 14, + "column": 30 + }, + "imports": { + "pypi__build": "pypi__build", + "pypi__click": "pypi__click", + "pypi__colorama": "pypi__colorama", + "pypi__importlib_metadata": "pypi__importlib_metadata", + "pypi__installer": "pypi__installer", + "pypi__more_itertools": "pypi__more_itertools", + "pypi__packaging": "pypi__packaging", + "pypi__pep517": "pypi__pep517", + "pypi__pip": "pypi__pip", + "pypi__pip_tools": "pypi__pip_tools", + "pypi__setuptools": "pypi__setuptools", + "pypi__tomli": "pypi__tomli", + "pypi__wheel": "pypi__wheel", + "pypi__zipp": "pypi__zipp", + "pypi__coverage_cp310_aarch64-apple-darwin": "pypi__coverage_cp310_aarch64-apple-darwin", + "pypi__coverage_cp310_aarch64-unknown-linux-gnu": "pypi__coverage_cp310_aarch64-unknown-linux-gnu", + "pypi__coverage_cp310_x86_64-apple-darwin": "pypi__coverage_cp310_x86_64-apple-darwin", + "pypi__coverage_cp310_x86_64-unknown-linux-gnu": "pypi__coverage_cp310_x86_64-unknown-linux-gnu", + "pypi__coverage_cp311_aarch64-unknown-linux-gnu": "pypi__coverage_cp311_aarch64-unknown-linux-gnu", + "pypi__coverage_cp311_x86_64-apple-darwin": "pypi__coverage_cp311_x86_64-apple-darwin", + "pypi__coverage_cp311_x86_64-unknown-linux-gnu": "pypi__coverage_cp311_x86_64-unknown-linux-gnu", + "pypi__coverage_cp38_aarch64-apple-darwin": "pypi__coverage_cp38_aarch64-apple-darwin", + "pypi__coverage_cp38_aarch64-unknown-linux-gnu": "pypi__coverage_cp38_aarch64-unknown-linux-gnu", + "pypi__coverage_cp38_x86_64-apple-darwin": "pypi__coverage_cp38_x86_64-apple-darwin", + "pypi__coverage_cp38_x86_64-unknown-linux-gnu": "pypi__coverage_cp38_x86_64-unknown-linux-gnu", + "pypi__coverage_cp39_aarch64-apple-darwin": "pypi__coverage_cp39_aarch64-apple-darwin", + "pypi__coverage_cp39_aarch64-unknown-linux-gnu": "pypi__coverage_cp39_aarch64-unknown-linux-gnu", + "pypi__coverage_cp39_x86_64-apple-darwin": "pypi__coverage_cp39_x86_64-apple-darwin", + "pypi__coverage_cp39_x86_64-unknown-linux-gnu": "pypi__coverage_cp39_x86_64-unknown-linux-gnu" + }, + "devImports": [], + "tags": [ + { + "tagName": "install", + "attributeValues": {}, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel", + "line": 15, + "column": 22 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@rules_python//python/extensions:python.bzl", + "extensionName": "python", + "usingModule": "rules_python@0.22.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel", + "line": 50, + "column": 23 + }, + "imports": { + "pythons_hub": "pythons_hub" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "platforms": "platforms@0.0.8", + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_proto": "rules_proto@5.3.0-21.7", + "com_google_protobuf": "protobuf@21.7", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_python/releases/download/0.22.1/rules_python-0.22.1.tar.gz" + ], + "integrity": "sha256-pWQP3dS+sD6MH95e1xYMC6a9R359BIZhwwwGk2om/WM=", + "strip_prefix": "rules_python-0.22.1", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_python/0.22.1/patches/module_dot_bazel_version.patch": "sha256-3+VLDH9gYDzNI4eOW7mABC/LKxh1xqF6NhacLbNTucs=" + }, + "remote_patch_strip": 1 + } + } + }, + "rules_cc@0.0.9": { + "name": "rules_cc", + "version": "0.0.9", + "key": "rules_cc@0.0.9", + "repoName": "rules_cc", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@local_config_cc_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", + "extensionName": "cc_configure_extension", + "usingModule": "rules_cc@0.0.9", + "location": { + "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", + "line": 9, + "column": 29 + }, + "imports": { + "local_config_cc_toolchains": "local_config_cc_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" + ], + "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", + "strip_prefix": "rules_cc-0.0.9", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_java@7.4.0": { + "name": "rules_java", + "version": "7.4.0", + "key": "rules_java@7.4.0", + "repoName": "rules_java", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "//toolchains:all", + "@local_jdk//:runtime_toolchain_definition", + "@local_jdk//:bootstrap_runtime_toolchain_definition", + "@remotejdk11_linux_toolchain_config_repo//:all", + "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", + "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", + "@remotejdk11_linux_s390x_toolchain_config_repo//:all", + "@remotejdk11_macos_toolchain_config_repo//:all", + "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", + "@remotejdk11_win_toolchain_config_repo//:all", + "@remotejdk11_win_arm64_toolchain_config_repo//:all", + "@remotejdk17_linux_toolchain_config_repo//:all", + "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", + "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", + "@remotejdk17_linux_s390x_toolchain_config_repo//:all", + "@remotejdk17_macos_toolchain_config_repo//:all", + "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", + "@remotejdk17_win_toolchain_config_repo//:all", + "@remotejdk17_win_arm64_toolchain_config_repo//:all", + "@remotejdk21_linux_toolchain_config_repo//:all", + "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", + "@remotejdk21_macos_toolchain_config_repo//:all", + "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", + "@remotejdk21_win_toolchain_config_repo//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_java//java:extensions.bzl", + "extensionName": "toolchains", + "usingModule": "rules_java@7.4.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel", + "line": 19, + "column": 27 + }, + "imports": { + "remote_java_tools": "remote_java_tools", + "remote_java_tools_linux": "remote_java_tools_linux", + "remote_java_tools_windows": "remote_java_tools_windows", + "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", + "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", + "local_jdk": "local_jdk", + "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", + "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", + "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", + "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", + "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", + "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", + "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", + "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", + "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", + "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", + "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", + "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", + "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", + "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", + "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", + "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", + "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", + "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", + "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", + "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", + "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "platforms": "platforms@0.0.8", + "rules_cc": "rules_cc@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_proto": "rules_proto@5.3.0-21.7", + "rules_license": "rules_license@0.0.7", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz" + ], + "integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "rules_license@0.0.7": { + "name": "rules_license", + "version": "0.0.7", + "key": "rules_license@0.0.7", + "repoName": "rules_license", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" + ], + "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "buildozer@6.4.0.2": { + "name": "buildozer", + "version": "6.4.0.2", + "key": "buildozer@6.4.0.2", + "repoName": "buildozer", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", + "extensionName": "buildozer_binary", + "usingModule": "buildozer@6.4.0.2", + "location": { + "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "line": 7, + "column": 33 + }, + "imports": { + "buildozer_binary": "buildozer_binary" + }, + "devImports": [], + "tags": [ + { + "tagName": "buildozer", + "attributeValues": { + "sha256": { + "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e", + "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d", + "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119", + "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa", + "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" + }, + "version": "6.4.0" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "line": 8, + "column": 27 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz" + ], + "integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=", + "strip_prefix": "buildozer-6.4.0.2", + "remote_patches": { + "https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU=" + }, + "remote_patch_strip": 1 + } + } + }, + "zlib@1.3": { + "name": "zlib", + "version": "1.3", + "key": "zlib@1.3", + "repoName": "zlib", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.8", + "rules_cc": "rules_cc@0.0.9", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" + ], + "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", + "strip_prefix": "zlib-1.3", + "remote_patches": { + "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", + "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" + }, + "remote_patch_strip": 0 + } + } + }, + "apple_support@1.5.0": { + "name": "apple_support", + "version": "1.5.0", + "key": "apple_support@1.5.0", + "repoName": "build_bazel_apple_support", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@local_config_apple_cc_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", + "extensionName": "apple_cc_configure_extension", + "usingModule": "apple_support@1.5.0", + "location": { + "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", + "line": 17, + "column": 35 + }, + "imports": { + "local_config_apple_cc": "local_config_apple_cc", + "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" + ], + "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "rules_pkg@0.7.0": { + "name": "rules_pkg", + "version": "0.7.0", + "key": "rules_pkg@0.7.0", + "repoName": "rules_pkg", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_python": "rules_python@0.22.1", + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_license": "rules_license@0.0.7", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" + ], + "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=", + "strip_prefix": "", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE=" + }, + "remote_patch_strip": 0 + } + } + }, + "abseil-cpp@20211102.0": { + "name": "abseil-cpp", + "version": "20211102.0", + "key": "abseil-cpp@20211102.0", + "repoName": "abseil-cpp", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_cc": "rules_cc@0.0.9", + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" + ], + "integrity": "sha256-3PcbnLqNwMqZQMSzFqDHlr6Pq0KwcLtrfKtitI8OZsQ=", + "strip_prefix": "abseil-cpp-20211102.0", + "remote_patches": { + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/patches/module_dot_bazel.patch": "sha256-4izqopgGCey4jVZzl/w3M2GVPNohjh2B5TmbThZNvPY=" + }, + "remote_patch_strip": 0 + } + } + }, + "upb@0.0.0-20220923-a547704": { + "name": "upb", + "version": "0.0.0-20220923-a547704", + "key": "upb@0.0.0-20220923-a547704", + "repoName": "upb", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_proto": "rules_proto@5.3.0-21.7", + "com_google_protobuf": "protobuf@21.7", + "com_google_absl": "abseil-cpp@20211102.0", + "platforms": "platforms@0.0.8", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz" + ], + "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=", + "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", + "remote_patches": { + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_jvm_external@4.4.2": { + "name": "rules_jvm_external", + "version": "4.4.2", + "key": "rules_jvm_external@4.4.2", + "repoName": "rules_jvm_external", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl", + "extensionName": "non_module_deps", + "usingModule": "rules_jvm_external@4.4.2", + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "line": 9, + "column": 32 + }, + "imports": { + "io_bazel_rules_kotlin": "io_bazel_rules_kotlin" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", + "extensionName": "maven", + "usingModule": "rules_jvm_external@4.4.2", + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "line": 16, + "column": 22 + }, + "imports": { + "rules_jvm_external_deps": "rules_jvm_external_deps" + }, + "devImports": [], + "tags": [ + { + "tagName": "install", + "attributeValues": { + "name": "rules_jvm_external_deps", + "artifacts": [ + "com.google.cloud:google-cloud-core:1.93.10", + "com.google.cloud:google-cloud-storage:1.113.4", + "com.google.code.gson:gson:2.9.0", + "org.apache.maven:maven-artifact:3.8.6", + "software.amazon.awssdk:s3:2.17.183" + ], + "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "line": 18, + "column": 14 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "io_bazel_stardoc": "stardoc@0.5.1", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/4.4.2.zip" + ], + "integrity": "sha256-c1YC9QgT6y6pPKP15DsZWb2AshO4NqB6YqKddXZwt3s=", + "strip_prefix": "rules_jvm_external-4.4.2", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "googletest@1.11.0": { + "name": "googletest", + "version": "1.11.0", + "key": "googletest@1.11.0", + "repoName": "googletest", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "com_google_absl": "abseil-cpp@20211102.0", + "platforms": "platforms@0.0.8", + "rules_cc": "rules_cc@0.0.9", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz" + ], + "integrity": "sha256-tIcL8SH/d5W6INILzdhie44Ijy0dqymaAxwQNO3ck9U=", + "strip_prefix": "googletest-release-1.11.0", + "remote_patches": { + "https://bcr.bazel.build/modules/googletest/1.11.0/patches/module_dot_bazel.patch": "sha256-HuahEdI/n8KCI071sN3CEziX+7qP/Ec77IWayYunLP0=" + }, + "remote_patch_strip": 0 + } + } + }, + "stardoc@0.5.1": { + "name": "stardoc", + "version": "0.5.1", + "key": "stardoc@0.5.1", + "repoName": "stardoc", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_java": "rules_java@7.4.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/stardoc/releases/download/0.5.1/stardoc-0.5.1.tar.gz" + ], + "integrity": "sha256-qoFNrgrEALurLoiB+ZFcb0fElmS/CHxAmhX5BDjSwj4=", + "strip_prefix": "", + "remote_patches": { + "https://bcr.bazel.build/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI=" + }, + "remote_patch_strip": 0 + } + } + } + }, + "moduleExtensions": { + "@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": { + "general": { + "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_apple_cc": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf", + "attributes": {} + }, + "local_config_apple_cc_toolchains": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf_toolchains", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [ + [ + "apple_support~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@bazel_features~//private:extensions.bzl%version_extension": { + "general": { + "bzlTransitiveDigest": "xm7Skm1Las5saxzFWt2hbS+e68BWi+MXyt6+lKIhjPA=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "bazel_features_version": { + "bzlFile": "@@bazel_features~//private:version_repo.bzl", + "ruleClassName": "version_repo", + "attributes": {} + }, + "bazel_features_globals": { + "bzlFile": "@@bazel_features~//private:globals_repo.bzl", + "ruleClassName": "globals_repo", + "attributes": { + "globals": { + "RunEnvironmentInfo": "5.3.0", + "DefaultInfo": "0.0.1", + "__TestingOnly_NeverAvailable": "1000000000.0.0" + } + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { + "general": { + "bzlTransitiveDigest": "PHpT2yqMGms2U4L3E/aZ+WcQalmZWm+ILdP3yiLsDhA=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_cc": { + "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", + "ruleClassName": "cc_autoconf", + "attributes": {} + }, + "local_config_cc_toolchains": { + "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", + "ruleClassName": "cc_autoconf_toolchains", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [ + [ + "bazel_tools", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { + "general": { + "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_xcode": { + "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl", + "ruleClassName": "xcode_autoconf", + "attributes": { + "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m", + "remote_xcode": "" + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { + "general": { + "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_sh": { + "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", + "ruleClassName": "sh_config", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@buildifier_prebuilt~//:defs.bzl%buildifier_prebuilt_deps_extension": { + "general": { + "bzlTransitiveDigest": "uAKOFsVgkdVxGK8RC6cNqxYMcezLf942BzB5DqaZxDQ=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "buildozer_darwin_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-darwin-amd64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e" + } + }, + "buildifier_linux_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-amd64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "be63db12899f48600bad94051123b1fd7b5251e7661b9168582ce52396132e92" + } + }, + "buildozer_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-darwin-arm64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d" + } + }, + "buildozer_linux_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-linux-amd64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119" + } + }, + "buildozer_windows_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-windows-amd64.exe" + ], + "downloaded_file_path": "buildozer.exe", + "executable": true, + "sha256": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" + } + }, + "buildozer_linux_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-linux-arm64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa" + } + }, + "buildifier_windows_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-windows-amd64.exe" + ], + "downloaded_file_path": "buildifier.exe", + "executable": true, + "sha256": "da8372f35e34b65fb6d997844d041013bb841e55f58b54d596d35e49680fe13c" + } + }, + "buildifier_prebuilt_toolchains": { + "bzlFile": "@@buildifier_prebuilt~//:defs.bzl", + "ruleClassName": "_buildifier_toolchain_setup", + "attributes": { + "assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"eeb47b2de27f60efe549348b183fac24eae80f1479e8b06cac0799c486df5bed\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"fa07ba0d20165917ca4cc7609f9b19a8a4392898148b7babdf6bb2a7dd963f05\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"be63db12899f48600bad94051123b1fd7b5251e7661b9168582ce52396132e92\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"18540fc10f86190f87485eb86963e603e41fa022f88a2d1b0cf52ff252b5e1dd\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"da8372f35e34b65fb6d997844d041013bb841e55f58b54d596d35e49680fe13c\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b\",\"version\":\"v6.4.0\"}]" + } + }, + "buildifier_darwin_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-darwin-amd64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "eeb47b2de27f60efe549348b183fac24eae80f1479e8b06cac0799c486df5bed" + } + }, + "buildifier_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-darwin-arm64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "fa07ba0d20165917ca4cc7609f9b19a8a4392898148b7babdf6bb2a7dd963f05" + } + }, + "buildifier_linux_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-arm64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "18540fc10f86190f87485eb86963e603e41fa022f88a2d1b0cf52ff252b5e1dd" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "buildifier_prebuilt~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "buildifier_prebuilt~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_foreign_cc~//foreign_cc:extensions.bzl%tools": { + "general": { + "bzlTransitiveDigest": "UEPdhQf5CZ34jRiR5yDtMgI+Xr7dttO7reC5MGURXpk=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "cmake-3.23.2-linux-aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-aarch64.tar.gz" + ], + "sha256": "f2654bf780b53f170bbbec44d8ac67d401d24788e590faa53036a89476efa91e", + "strip_prefix": "cmake-3.23.2-linux-aarch64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "rules_foreign_cc_framework_toolchain_macos": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:macos_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:macos" + ] + } + }, + "gnumake_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "581f4d4e872da74b3941c874215898a7d35802f03732bdccee1d4a7979105d18", + "strip_prefix": "make-4.4", + "urls": [ + "https://mirror.bazel.build/ftpmirror.gnu.org/gnu/make/make-4.4.tar.gz", + "http://ftpmirror.gnu.org/gnu/make/make-4.4.tar.gz" + ] + } + }, + "gettext_runtime": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\ncc_import(\n name = \"gettext_runtime\",\n shared_library = \"bin/libintl-8.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "1f4269c0e021076d60a54e98da6f978a3195013f6de21674ba0edbc339c5b079", + "urls": [ + "https://download.gnome.org/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip" + ] + } + }, + "cmake_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "f316b40053466f9a416adf981efda41b160ca859e97f6a484b447ea299ff26aa", + "strip_prefix": "cmake-3.23.2", + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2.tar.gz" + ] + } + }, + "bazel_skylib": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz" + ], + "sha256": "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728" + } + }, + "cmake-3.23.2-macos-universal": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-macos-universal.tar.gz" + ], + "sha256": "853a0f9af148c5ef47282ffffee06c4c9f257be2635936755f39ca13c3286c88", + "strip_prefix": "cmake-3.23.2-macos-universal/CMake.app/Contents", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "meson_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "exports_files([\"meson.py\"])\n\nfilegroup(\n name = \"runtime\",\n srcs = glob([\"mesonbuild/**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "strip_prefix": "meson-1.1.1", + "url": "https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz" + } + }, + "rules_foreign_cc_framework_toolchain_freebsd": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:freebsd_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:freebsd" + ] + } + }, + "rules_foreign_cc_framework_toolchain_linux": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:linux_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:linux" + ] + } + }, + "rules_python": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841", + "strip_prefix": "rules_python-0.23.1", + "url": "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.23.1.tar.gz" + } + }, + "pkgconfig_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591", + "strip_prefix": "pkg-config-0.29.2", + "patches": [ + "@@rules_foreign_cc~//toolchains:pkgconfig-detectenv.patch", + "@@rules_foreign_cc~//toolchains:pkgconfig-makefile-vc.patch" + ], + "urls": [ + "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz" + ] + } + }, + "ninja_build_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "31747ae633213f1eda3842686f83c2aa1412e0f5691d1c14dbbcc67fe7400cea", + "strip_prefix": "ninja-1.11.1", + "urls": [ + "https://github.com/ninja-build/ninja/archive/v1.11.1.tar.gz" + ] + } + }, + "ninja_1.11.1_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip" + ], + "sha256": "b901ba96e486dce377f9a070ed4ef3f79deb45f4ffe2938f8e7ddc69cfb3df77", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "glib_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\ncc_import(\n name = \"msvc_hdr\",\n hdrs = [\"msvc_recommended_pragmas.h\"],\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "bc96f63112823b7d6c9f06572d2ad626ddac7eb452c04d762592197f6e07898e", + "strip_prefix": "glib-2.26.1", + "urls": [ + "https://download.gnome.org/sources/glib/2.26/glib-2.26.1.tar.gz" + ] + } + }, + "cmake-3.23.2-windows-x86_64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-x86_64.zip" + ], + "sha256": "2329387f3166b84c25091c86389fb891193967740c9bcf01e7f6d3306f7ffda0", + "strip_prefix": "cmake-3.23.2-windows-x86_64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n)\n" + } + }, + "glib_runtime": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nexports_files(\n [\n \"bin/libgio-2.0-0.dll\",\n \"bin/libglib-2.0-0.dll\",\n \"bin/libgmodule-2.0-0.dll\",\n \"bin/libgobject-2.0-0.dll\",\n \"bin/libgthread-2.0-0.dll\",\n ],\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "88d857087e86f16a9be651ee7021880b3f7ba050d34a1ed9f06113b8799cb973", + "urls": [ + "https://download.gnome.org/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip" + ] + } + }, + "rules_foreign_cc_framework_toolchains": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository_hub", + "attributes": {} + }, + "glib_dev": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nload(\"@rules_cc//cc:defs.bzl\", \"cc_library\")\n\ncc_import(\n name = \"glib_dev\",\n hdrs = glob([\"include/**\"]),\n shared_library = \"@glib_runtime//:bin/libglib-2.0-0.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "bdf18506df304d38be98a4b3f18055b8b8cca81beabecad0eece6ce95319c369", + "urls": [ + "https://download.gnome.org/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip" + ] + } + }, + "ninja_1.11.1_mac": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-mac.zip" + ], + "sha256": "482ecb23c59ae3d4f158029112de172dd96bb0e97549c4b1ca32d8fad11f873e", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "cmake_3.23.2_toolchains": { + "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", + "ruleClassName": "prebuilt_toolchains_repository", + "attributes": { + "repos": { + "cmake-3.23.2-linux-aarch64": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "cmake-3.23.2-linux-x86_64": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "cmake-3.23.2-macos-universal": [ + "@platforms//os:macos" + ], + "cmake-3.23.2-windows-i386": [ + "@platforms//cpu:x86_32", + "@platforms//os:windows" + ], + "cmake-3.23.2-windows-x86_64": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ] + }, + "tool": "cmake" + } + }, + "ninja_1.11.1_toolchains": { + "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", + "ruleClassName": "prebuilt_toolchains_repository", + "attributes": { + "repos": { + "ninja_1.11.1_linux": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "ninja_1.11.1_mac": [ + "@platforms//cpu:x86_64", + "@platforms//os:macos" + ], + "ninja_1.11.1_win": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ] + }, + "tool": "ninja" + } + }, + "ninja_1.11.1_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip" + ], + "sha256": "524b344a1a9a55005eaf868d991e090ab8ce07fa109f1820d40e74642e289abc", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja.exe\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "cmake-3.23.2-windows-i386": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-i386.zip" + ], + "sha256": "6a4fcd6a2315b93cb23c93507efccacc30c449c2bf98f14d6032bb226c582e07", + "strip_prefix": "cmake-3.23.2-windows-i386", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n)\n" + } + }, + "cmake-3.23.2-linux-x86_64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz" + ], + "sha256": "aaced6f745b86ce853661a595bdac6c5314a60f8181b6912a0a4920acfa32708", + "strip_prefix": "cmake-3.23.2-linux-x86_64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "rules_foreign_cc_framework_toolchain_windows": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:windows_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:windows" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_foreign_cc~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_foreign_cc~", + "rules_foreign_cc", + "rules_foreign_cc~" + ] + ] + } + }, + "@@rules_go~//go:extensions.bzl%go_sdk": { + "os:linux,arch:amd64": { + "bzlTransitiveDigest": "RXEyYjQesMdT619yePZ3F0V7pLqQC1DHnKNr/8TwLYk=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "rust_icu__download_0_linux_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1" + } + }, + "rust_icu__download_0_windows_amd64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1" + } + }, + "rules_go__download_0_darwin_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1" + } + }, + "go_host_compatible_sdk_label": { + "bzlFile": "@@rules_go~//go/private:extensions.bzl", + "ruleClassName": "host_compatible_toolchain", + "attributes": { + "toolchain": "@rust_icu__download_0//:ROOT" + } + }, + "rules_go__download_0_darwin_amd64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1" + } + }, + "go_toolchains": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_multiple_toolchains", + "attributes": { + "prefixes": [ + "_0000_rust_icu__download_0_", + "_0001_rust_icu__download_0_darwin_amd64_", + "_0002_rust_icu__download_0_darwin_arm64_", + "_0003_rust_icu__download_0_linux_arm64_", + "_0004_rust_icu__download_0_windows_amd64_", + "_0005_rust_icu__download_0_windows_arm64_", + "_0006_go_default_sdk_", + "_0007_rules_go__download_0_darwin_amd64_", + "_0008_rules_go__download_0_darwin_arm64_", + "_0009_rules_go__download_0_linux_arm64_", + "_0010_rules_go__download_0_windows_amd64_", + "_0011_rules_go__download_0_windows_arm64_" + ], + "geese": [ + "", + "darwin", + "darwin", + "linux", + "windows", + "windows", + "", + "darwin", + "darwin", + "linux", + "windows", + "windows" + ], + "goarchs": [ + "", + "amd64", + "arm64", + "arm64", + "amd64", + "arm64", + "", + "amd64", + "arm64", + "arm64", + "amd64", + "arm64" + ], + "sdk_repos": [ + "rust_icu__download_0", + "rust_icu__download_0_darwin_amd64", + "rust_icu__download_0_darwin_arm64", + "rust_icu__download_0_linux_arm64", + "rust_icu__download_0_windows_amd64", + "rust_icu__download_0_windows_arm64", + "go_default_sdk", + "rules_go__download_0_darwin_amd64", + "rules_go__download_0_darwin_arm64", + "rules_go__download_0_linux_arm64", + "rules_go__download_0_windows_amd64", + "rules_go__download_0_windows_arm64" + ], + "sdk_types": [ + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote", + "remote" + ], + "sdk_versions": [ + "1.22.1", + "1.22.1", + "1.22.1", + "1.22.1", + "1.22.1", + "1.22.1", + "1.21.1", + "1.21.1", + "1.21.1", + "1.21.1", + "1.21.1", + "1.21.1" + ] + } + }, + "rust_icu__download_0_windows_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1" + } + }, + "io_bazel_rules_nogo": { + "bzlFile": "@@rules_go~//go/private:nogo.bzl", + "ruleClassName": "go_register_nogo", + "attributes": { + "nogo": "@io_bazel_rules_go//:default_nogo", + "includes": [ + "'@@//:__subpackages__'" + ], + "excludes": [] + } + }, + "rust_icu__download_0_darwin_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1" + } + }, + "rust_icu__download_0": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "experiments": [], + "patches": [], + "patch_strip": 0, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1", + "strip_prefix": "go" + } + }, + "rules_go__download_0_windows_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1" + } + }, + "rules_go__download_0_linux_arm64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1" + } + }, + "go_default_sdk": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "experiments": [], + "patches": [], + "patch_strip": 0, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1", + "strip_prefix": "go" + } + }, + "rust_icu__download_0_darwin_amd64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.22.1" + } + }, + "rules_go__download_0_windows_amd64": { + "bzlFile": "@@rules_go~//go/private:sdk.bzl", + "ruleClassName": "go_download_sdk_rule", + "attributes": { + "goos": "", + "goarch": "", + "sdks": {}, + "urls": [ + "https://dl.google.com/go/{}" + ], + "version": "1.21.1" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "bazel_features~", + "bazel_features_globals", + "bazel_features~~version_extension~bazel_features_globals" + ], + [ + "bazel_features~", + "bazel_features_version", + "bazel_features~~version_extension~bazel_features_version" + ], + [ + "rules_go~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_go~", + "io_bazel_rules_go", + "rules_go~" + ], + [ + "rules_go~", + "io_bazel_rules_go_bazel_features", + "bazel_features~" + ] + ] + } + }, + "@@rules_java~//java:extensions.bzl%toolchains": { + "general": { + "bzlTransitiveDigest": "tJHbmWnq7m+9eUBnUdv7jZziQ26FmcGL9C5/hU3Q9UQ=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "remotejdk21_linux_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n" + } + }, + "remotejdk17_linux_s390x_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n" + } + }, + "remotejdk17_macos_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n" + } + }, + "remotejdk21_macos_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk17_linux_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk21_macos_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "e8260516de8b60661422a725f1df2c36ef888f6fb35393566b00e7325db3d04e", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz" + ] + } + }, + "remotejdk17_linux_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n" + } + }, + "remotejdk17_macos_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "314b04568ec0ae9b36ba03c9cbd42adc9e1265f74678923b19297d66eb84dcca", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz" + ] + } + }, + "remote_java_tools_windows": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "fe2f88169696d6c6fc6e90ba61bb46be7d0ae3693cbafdf336041bf56679e8d1", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_windows-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_windows-v13.4.zip" + ] + } + }, + "remotejdk11_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "43408193ce2fa0862819495b5ae8541085b95660153f2adcf91a52d3a1710e83", + "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-win_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip" + ] + } + }, + "remotejdk11_win_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n" + } + }, + "remotejdk11_linux_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "54174439f2b3fddd11f1048c397fe7bb45d4c9d66d452d6889b013d04d21c4de", + "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz" + ] + } + }, + "remotejdk17_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "b9482f2304a1a68a614dfacddcf29569a72f0fac32e6c74f83dc1b9a157b8340", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz" + ] + } + }, + "remotejdk11_linux_s390x_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n" + } + }, + "remotejdk11_linux_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n" + } + }, + "remotejdk11_macos": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "bcaab11cfe586fae7583c6d9d311c64384354fb2638eb9a012eca4c3f1a1d9fd", + "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz" + ] + } + }, + "remotejdk11_win_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", + "strip_prefix": "jdk-11.0.13+8", + "urls": [ + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" + ] + } + }, + "remotejdk17_macos": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "640453e8afe8ffe0fb4dceb4535fb50db9c283c64665eebb0ba68b19e65f4b1f", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz" + ] + } + }, + "remotejdk21_macos": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "3ad8fe288eb57d975c2786ae453a036aa46e47ab2ac3d81538ebae2a54d3c025", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz" + ] + } + }, + "remotejdk21_macos_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n" + } + }, + "remotejdk17_macos_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk17_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "192f2afca57701de6ec496234f7e45d971bf623ff66b8ee4a5c81582054e5637", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip" + ] + } + }, + "remotejdk11_macos_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk11_linux_ppc64le_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n" + } + }, + "remotejdk21_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "5ad730fbee6bb49bfff10bf39e84392e728d89103d3474a7e5def0fd134b300a", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz" + ] + } + }, + "remote_java_tools_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "ba10f09a138cf185d04cbc807d67a3da42ab13d618c5d1ce20d776e199c33a39", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_linux-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_linux-v13.4.zip" + ] + } + }, + "remotejdk21_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "f7cc15ca17295e69c907402dfe8db240db446e75d3b150da7bf67243cded93de", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-win_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip" + ] + } + }, + "remotejdk21_linux_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "ce7df1af5d44a9f455617c4b8891443fbe3e4b269c777d8b82ed66f77167cfe0", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_aarch64", + "urls": [ + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz" + ] + } + }, + "remotejdk11_linux_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk11_linux_s390x": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", + "strip_prefix": "jdk-11.0.15+10", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" + ] + } + }, + "remotejdk17_linux_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "6531cef61e416d5a7b691555c8cf2bdff689201b8a001ff45ab6740062b44313", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz" + ] + } + }, + "remotejdk17_win_arm64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n" + } + }, + "remotejdk11_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "a34b404f87a08a61148b38e1416d837189e1df7a040d949e743633daf4695a3c", + "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz" + ] + } + }, + "remotejdk11_macos_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n" + } + }, + "remotejdk17_linux_ppc64le_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n" + } + }, + "remotejdk17_win_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "6802c99eae0d788e21f52d03cab2e2b3bf42bc334ca03cbf19f71eb70ee19f85", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip" + ] + } + }, + "remote_java_tools_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "076a7e198ad077f8c7d997986ef5102427fae6bbfce7a7852d2e080ed8767528", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_arm64-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_arm64-v13.4.zip" + ] + } + }, + "remotejdk17_linux_ppc64le": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", + "strip_prefix": "jdk-17.0.8.1+1", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", + "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz" + ] + } + }, + "remotejdk21_linux_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n" + } + }, + "remotejdk11_win_arm64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n" + } + }, + "local_jdk": { + "bzlFile": "@@rules_java~//toolchains:local_java_repository.bzl", + "ruleClassName": "_local_java_repository_rule", + "attributes": { + "java_home": "", + "version": "", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n" + } + }, + "remote_java_tools_darwin_x86_64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "4523aec4d09c587091a2dae6f5c9bc6922c220f3b6030e5aba9c8f015913cc65", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_x86_64-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_x86_64-v13.4.zip" + ] + } + }, + "remote_java_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "e025fd260ac39b47c111f5212d64ec0d00d85dec16e49368aae82fc626a940cf", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools-v13.4.zip" + ] + } + }, + "remotejdk17_linux_s390x": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", + "strip_prefix": "jdk-17.0.8.1+1", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", + "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz" + ] + } + }, + "remotejdk17_win_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n" + } + }, + "remotejdk11_linux_ppc64le": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", + "strip_prefix": "jdk-11.0.15+10", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" + ] + } + }, + "remotejdk11_macos_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", + "sha256": "7632bc29f8a4b7d492b93f3bc75a7b61630894db85d136456035ab2a24d38885", + "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz" + ] + } + }, + "remotejdk21_win_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_java~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_java~", + "remote_java_tools", + "rules_java~~toolchains~remote_java_tools" + ] + ] + } + }, + "@@toolchains_llvm~//toolchain/extensions:llvm.bzl%llvm": { + "general": { + "bzlTransitiveDigest": "rdQ1nlqTcj0kPoX7LxaygMQPcdnBPV85jNsRMF1M/Hw=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "llvm_toolchain": { + "bzlFile": "@@toolchains_llvm~//toolchain:rules.bzl", + "ruleClassName": "toolchain", + "attributes": { + "absolute_paths": false, + "archive_flags": {}, + "compile_flags": {}, + "coverage_compile_flags": {}, + "coverage_link_flags": {}, + "cxx_builtin_include_directories": {}, + "cxx_flags": {}, + "cxx_standard": {}, + "dbg_compile_flags": {}, + "exec_arch": "", + "exec_os": "", + "link_flags": {}, + "link_libs": {}, + "llvm_versions": { + "": "15.0.6" + }, + "opt_compile_flags": {}, + "opt_link_flags": {}, + "stdlib": {}, + "target_settings": {}, + "unfiltered_compile_flags": {}, + "toolchain_roots": {}, + "sysroot": {} + } + }, + "llvm_toolchain_llvm": { + "bzlFile": "@@toolchains_llvm~//toolchain:rules.bzl", + "ruleClassName": "llvm", + "attributes": { + "alternative_llvm_sources": [], + "auth_patterns": {}, + "distribution": "auto", + "exec_arch": "", + "exec_os": "", + "llvm_mirror": "", + "llvm_version": "15.0.6", + "llvm_versions": {}, + "netrc": "", + "sha256": {}, + "strip_prefix": {}, + "urls": {} + } + } + }, + "recordedRepoMappingEntries": [ + [ + "toolchains_llvm~", + "bazel_tools", + "bazel_tools" + ], + [ + "toolchains_llvm~", + "toolchains_llvm", + "toolchains_llvm~" + ] + ] + } + } + } +} diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..802f27f --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,132 @@ +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "rules_rust", + sha256 = "36ab8f9facae745c9c9c1b33d225623d976e78f2cc3f729b7973d8c20934ab95", + urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.31.0/rules_rust-v0.31.0.tar.gz"], +) + +load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") + +rules_rust_dependencies() + +rust_register_toolchains( + edition = "2021", + versions = ["1.79.0"], +) + +###################################################################### + +# Use to generate rust-project.json. +# Use bazel run @rules_rust//tools/rust_analyzer:gen_rust_project + +load( + "@rules_rust//tools/rust_analyzer:deps.bzl", + "rust_analyzer_dependencies", +) + +rust_analyzer_dependencies() + +###################################################################### + +# This is how to generate new lock files. At the project outset, you must +# (1) create the empty files `//third_party/cargo:Cargo.lock`, and +# `//third_party/cargo:Cargo.Bazel.lock`. +# (2) Run `env CARGO_BAZEL_REPI=true bazel build //...` to initialize the +# lockfiles. +load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_repository", "render_config") + +crates_repository( + name = "crate_index", + cargo_lockfile = "//:Cargo.lock", + lockfile = "//:Cargo.Bazel.lock", + packages = { + # Add any other crates you need here. + "bumpalo": crate.spec( + version = "3.6.1", + ), + "libc": crate.spec( + version = "0.2.34", + ), + "paste": crate.spec( + version = "1.0", + ), + "anyhow": crate.spec( + version = "1.0.72", + ), + "bindgen": crate.spec( + version = "0.59.2", + ), + "lazy_static": crate.spec( + version = "1.4.0", + ), + }, + render_config = render_config( + default_package_name = "", + ), +) + +load("@crate_index//:defs.bzl", "crate_repositories") + +crate_repositories() + +###################################################################### + +http_archive( + name = "icu_74", + build_file = "//third_party/icu_74:icu.BUILD.bazel", + integrity = "sha256-J7hlCpTfb5Rcs7aGvjvjIMKjLt8+zimBZyv5i7O6qeE=", + patch_args = [ + "-p1", + # Without this flag, the bazel build files just get emptied, but not + # removed. This is not enough. + "--remove-empty-files", + ], + patches = [ + # ICU has a nascent bazel build, which messes up our build based on + # the configure_make rule from rules_foreign_cc. So we remove them. + "//third_party/icu_74:0001-fix-removes-BUILD-files.patch", + ], + strip_prefix = "icu-release-74-2", + urls = [ + "https://github.com/unicode-org/icu/archive/refs/tags/release-74-2.tar.gz", + "https://github.com/unicode-org/icu/archive/refs/tags/release-74-2.zip", + ], +) + +http_archive( + name = "icu_73", + build_file = "//third_party/icu_73:icu.BUILD.bazel", + integrity = "sha256-57a1QMiB6D0kC0oSty+8l+9frTDY0A8u9nS6GOO/NkA=", + patch_args = [ + "-p1", + "--remove-empty-files", + ], + patches = [ + "//third_party/icu_73:0001-fix-removes-BUILD-files.patch", + ], + strip_prefix = "icu-release-73-1", + urls = [ + "https://github.com/unicode-org/icu/archive/refs/tags/release-73-1.tar.gz", + "https://github.com/unicode-org/icu/archive/refs/tags/release-73-1.zip", + ], +) + +http_archive( + name = "icu_72", + build_file = "//third_party/icu_72:icu.BUILD.bazel", + integrity = "sha256-Q8utYo2Y83o/lfbDRXn5FE70veYCSPpgBKTwBtdIfmk=", + patch_args = [ + "-p1", + "--remove-empty-files", + ], + patches = [ + "//third_party/icu_72:0001-fix-removes-BUILD-files.patch", + ], + strip_prefix = "icu-release-72-1", + urls = [ + "https://github.com/unicode-org/icu/archive/refs/tags/release-72-1.tar.gz", + "https://github.com/unicode-org/icu/archive/refs/tags/release-72-1.zip", + ], +) diff --git a/rust_icu_sys/BUILD.bazel b/rust_icu_sys/BUILD.bazel new file mode 100644 index 0000000..f51adb8 --- /dev/null +++ b/rust_icu_sys/BUILD.bazel @@ -0,0 +1,59 @@ +load("@crate_index//:defs.bzl", "aliases", "all_crate_deps") +load("@rules_rust//rust:defs.bzl", "rust_library") +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") + +package(default_visibility = ["//visibility:public"]) + +rust_library( + name = "rust_icu_sys", + srcs = [ + "src/lib.rs", + "tests/hygiene.rs", + ":macros_rs", + ], + crate_name = "rust_icu_sys", + edition = "2021", + proc_macro_deps = [ + "@crate_index//:paste", + ], + deps = [ + "@crate_index//:libc", + ":build_script", + "@icu_74//:icu", + ], +) + +cargo_build_script( + name = "build_script", + srcs = [ "build.rs" ], + crate_features = [ + "use-bindgen", "bindgen", "renaming", "icu-config", "static", + ], + deps = [ + "@crate_index//:anyhow", + "@crate_index//:bindgen", + "@crate_index//:lazy_static", + ], +) + +filegroup( + name = "g1", + output_group = "streams", + srcs = [ ":build_script" ], +) + +filegroup( + name = "g2", + output_group = "out_dir", + srcs = [ ":build_script" ], +) + +genrule( + name = "macros_rs", + srcs = [ + ":g2", + ], + cmd = "cp $ String { + pub fn generate_wrapper_header(out_dir_path: &Path, bindgen_source_modules: &[&str]) -> String { let wrapper_path = out_dir_path.join("wrapper.h"); let mut wrapper_file = File::create(&wrapper_path).unwrap(); wrapper_file @@ -286,7 +288,7 @@ mod inner { }) .map(|f| { let file_path_str = format!("#include \"{}\"\n", f); - println!("include-file: '{}'", f); + println!("icu:include-file: '{}'", f); file_path_str }) .collect::(); @@ -352,7 +354,7 @@ mod inner { // Generates the library renaming macro: this allows us to use renamed function // names in the resulting low-level bindings library. - fn run_renamegen(out_dir_path: &Path) -> Result<()> { + pub fn run_renamegen(out_dir_path: &Path) -> Result<()> { let output_file_path = out_dir_path.join("macros.rs"); let mut macro_file = File::create(&output_file_path) .with_context(|| format!("while opening {:?}", output_file_path))?; @@ -435,7 +437,7 @@ macro_rules! versioned_function { println!("cargo:rustc-cfg=feature=\"icu_version_in_env\""); } let icu_major_version = ICUConfig::version_major_int()?; - println!("icu-version-major: {}", icu_major_version); + println!("icu:version-major: {}", icu_major_version); if icu_major_version >= 64 { println!("cargo:rustc-cfg=feature=\"icu_version_64_plus\""); } @@ -454,19 +456,21 @@ macro_rules! versioned_function { Ok(()) } - pub fn icu_config_autodetect() -> Result<()> { - println!("icu-version: {}", ICUConfig::new().version()?); - println!("icu-cppflags: {}", ICUConfig::new().cppflags()?); - println!("icu-ldflags: {}", ICUConfig::new().ldflags()?); - println!("icu-has-renaming: {}", has_renaming()?); - + pub fn write_bindgen_header() -> Result<()> { // The path to the directory where cargo will add the output artifacts. let out_dir = env::var("OUT_DIR").unwrap(); let out_dir_path = Path::new(&out_dir); let header_file = generate_wrapper_header(&out_dir_path, &BINDGEN_SOURCE_MODULES); run_bindgen(&header_file, out_dir_path).with_context(|| "while running bindgen")?; - run_renamegen(out_dir_path).with_context(|| "while running renamegen")?; + run_renamegen(out_dir_path).with_context(|| "while running renamegen") + } + + pub fn icu_config_autodetect() -> Result<()> { + println!("icu:version: {}", ICUConfig::new().version()?); + println!("icu:cppflags: {}", ICUConfig::new().cppflags()?); + println!("icu:ldflags: {}", ICUConfig::new().ldflags()?); + println!("icu:has-renaming: {}", has_renaming()?); println!("cargo:install-dir={}", ICUConfig::new().install_dir()?); @@ -478,8 +482,8 @@ macro_rules! versioned_function { } } -fn rustc_link_libs() { - if cfg!(feature = "static") { +fn rustc_link_libs() -> Result<()> { + if is_cargo_feature("CARGO_FEATURE_STATIC") { println!("cargo:rustc-link-lib=static=icuuc"); println!("cargo:rustc-link-lib=static=icui18n"); println!("cargo:rustc-link-lib=static:+whole-archive,-bundle=icudata"); @@ -489,32 +493,37 @@ fn rustc_link_libs() { } else { println!("cargo:rustc-link-lib=dylib=stdc++"); } + if is_cargo_feature("CARGO_FEATURE_BINDGEN") { + inner::write_bindgen_header()?; + } } else { println!("cargo:rustc-link-lib=dylib=icuuc"); println!("cargo:rustc-link-lib=dylib=icui18n"); println!("cargo:rustc-link-lib=dylib=icudata"); } + Ok(()) } -#[cfg(feature = "use-bindgen")] -fn main() -> Result<(), anyhow::Error> { +fn is_cargo_feature(f: &str) -> bool { + std::env::var_os(f).is_some() +} + +fn main() -> Result<()> { std::env::set_var("RUST_BACKTRACE", "full"); - inner::copy_features()?; - if std::env::var_os("CARGO_FEATURE_ICU_CONFIG").is_none() { - return Ok(()); + if is_cargo_feature("CARGO_FEATURE_BINDGEN") { + println!("icu:bindgen"); + inner::copy_features()?; + if is_cargo_feature("CARGO_FEATURE_ICU_CONFIG") { + inner::icu_config_autodetect()?; + } + } else { + // can be used to provide an extra path to find libicuuc, libicui18n and libicudata + if let Ok(lib_dir) = std::env::var("RUST_ICU_LINK_SEARCH_DIR") { + println!("cargo:rustc-link-search=native={}", lib_dir); + } } - inner::icu_config_autodetect()?; - rustc_link_libs(); - println!("done:true"); + rustc_link_libs()?; + println!("icu:done: true"); Ok(()) } -/// No-op if use-bindgen is disabled. -#[cfg(not(feature = "use-bindgen"))] -fn main() { - // can be used to provide an extra path to find libicuuc, libicui18n and libicudata - if let Ok(lib_dir) = std::env::var("RUST_ICU_LINK_SEARCH_DIR") { - println!("cargo:rustc-link-search=native={}", lib_dir); - } - rustc_link_libs(); -} diff --git a/third_party/README.md b/third_party/README.md new file mode 100644 index 0000000..b836b9c --- /dev/null +++ b/third_party/README.md @@ -0,0 +1,5 @@ + +# ICU patches + +All ICU versions have been edited to remove existing bazel's BUILD files. +This is because BUILD files will affect how `rules_foreign_cc` builds. diff --git a/third_party/icu_72/0001-fix-removes-BUILD-files.patch b/third_party/icu_72/0001-fix-removes-BUILD-files.patch new file mode 100644 index 0000000..898e963 --- /dev/null +++ b/third_party/icu_72/0001-fix-removes-BUILD-files.patch @@ -0,0 +1,1808 @@ +From 9ced11f5ca135ab90361f3d49ca13896ace0d689 Mon Sep 17 00:00:00 2001 +From: Filip Filmar +Date: Mon, 17 Jun 2024 14:59:48 -0700 +Subject: [PATCH] fix: removes BUILD files + +--- + icu4c/source/common/BUILD.bazel | 1213 ------------------- + icu4c/source/data/unidata/norm2/BUILD.bazel | 13 - + icu4c/source/i18n/BUILD.bazel | 130 -- + icu4c/source/stubdata/BUILD.bazel | 24 - + icu4c/source/tools/gennorm2/BUILD.bazel | 39 - + icu4c/source/tools/toolutil/BUILD.bazel | 126 -- + tools/unicode/c/genprops/BUILD.bazel | 50 - + tools/unicode/c/genuca/BUILD.bazel | 52 - + vendor/double-conversion/upstream/BUILD | 78 -- + 9 files changed, 1725 deletions(-) + delete mode 100644 icu4c/source/common/BUILD.bazel + delete mode 100644 icu4c/source/data/unidata/norm2/BUILD.bazel + delete mode 100644 icu4c/source/i18n/BUILD.bazel + delete mode 100644 icu4c/source/stubdata/BUILD.bazel + delete mode 100644 icu4c/source/tools/gennorm2/BUILD.bazel + delete mode 100644 icu4c/source/tools/toolutil/BUILD.bazel + delete mode 100644 tools/unicode/c/genprops/BUILD.bazel + delete mode 100644 tools/unicode/c/genuca/BUILD.bazel + delete mode 100644 vendor/double-conversion/upstream/BUILD + +diff --git a/icu4c/source/common/BUILD.bazel b/icu4c/source/common/BUILD.bazel +deleted file mode 100644 +index e385d3b243f..00000000000 +--- a/icu4c/source/common/BUILD.bazel ++++ /dev/null +@@ -1,1213 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of ICU4C "common" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ], +- # Instead of using these checked-in files, our Bazel build process +- # regenerates them and then uses the new versions. +- # Same list of .h files as in icu4c/source/data/unidata/clean.sh. +- exclude = ["norm2_nfc_data.h", "propname_data.h", "*_props_data.h"], +- ), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "platform", +- srcs = [ +- "cmemory.cpp", +- "uobject.cpp", +- "cstring.cpp", +- "cwchar.cpp", +- "uinvchar.cpp", +- "charstr.cpp", +- "unistr.cpp", +- "appendable.cpp", +- "stringpiece.cpp", +- "ustrtrns.cpp", +- "ustring.cpp", +- "ustrfmt.cpp", +- "utf_impl.cpp", +- "putil.cpp", +- "ucln_cmn.cpp", +- "udataswp.cpp", +- "umath.cpp", +- "umutex.cpp", +- "sharedobject.cpp", +- "utrace.cpp", +- ], +- deps = [ +- ":headers", +- # omit other deps b/c they are sys symbols +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +- linkopts = ["-ldl"], +-) +- +-cc_library( +- name = "utrie", +- srcs = ["utrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2", +- srcs = ["utrie2.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2_builder", +- srcs = ["utrie2_builder.cpp"], +- deps = [ +- ":utrie", +- ":utrie2", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucptrie", +- srcs = ["ucptrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "umutablecptrie", +- srcs = ["umutablecptrie.cpp"], +- deps = [":ucptrie"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestrie", +- srcs = ["bytestrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestriebuilder", +- srcs = ["bytestriebuilder.cpp"], +- deps = [ +- ":bytestrie", +- ":stringtriebuilder", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringtriebuilder", +- srcs = ["stringtriebuilder.cpp"], +- deps = [ +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uhash", +- hdrs = [ +- "uhash.h", +- ], +- srcs = [ +- "uhash.cpp", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "errorcode", +- hdrs = [ +- ], +- srcs = [ +- "errorcode.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":utypes", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utypes", +- srcs = [ +- "utypes.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset", +- srcs = [ +- "uniset.cpp", +- "unifilt.cpp", +- "unisetspan.cpp", +- "bmpset.cpp", +- "util.cpp", +- "unifunct.cpp", +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":patternprops", +- ":uvector", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "patternprops", +- srcs = [ +- "patternprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propsvec", +- srcs = [ +- "propsvec.cpp", +- ], +- includes = ["."], +- deps = [ +- ":sort", +- ":utrie2_builder", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propname", +- srcs = [ +- "propname.cpp", +- "propname_data.h", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# Note: The cc_library target names "uvector32" and "uvector64" match the +-# dependencies.txt group names, but the filenames are "uvectr32.*"/"uvectr64.*". +-cc_library( +- name = "uvector32", +- srcs = [ +- "uvectr32.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector64", +- srcs = [ +- "uvectr64.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "sort", +- srcs = [ +- "uarrsort.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector", +- srcs = [ +- "uvector.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "breakiterator", +- srcs = [ +- "brkiter.cpp", +- "brkeng.cpp", +- "dictbe.cpp", +- "dictionarydata.cpp", +- "filteredbrk.cpp", +- "lstmbe.cpp", +- "rbbi.cpp", +- "rbbi_cache.cpp", +- "rbbidata.cpp", +- "rbbinode.cpp", +- "rbbirb.cpp", +- "rbbiscan.cpp", +- "rbbisetb.cpp", +- "rbbistbl.cpp", +- "rbbitblb.cpp", +- "ubrk.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ":normlzr", +- ":resourcebundle", +- ":schriter", +- ":service_registration", +- ":ucharstrie", +- ":ucharstriebuilder", +- ":uhash", +- ":uniset_core", +- ":uniset_props", +- ":ustack", +- ":utext", +- ":utrie2_builder", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytesinkutil", +- srcs = [ +- "bytesinkutil.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":bytestream", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestream", +- srcs = [ +- "bytestream.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "canonical_iterator", +- srcs = [ +- "caniter.cpp", +- ], +- deps = [ +- ":normalizer2", +- ":usetiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "characterproperties", +- srcs = [ +- "characterproperties.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":ucptrie", +- ":umutablecptrie", +- ":uniset_core", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "chariter", +- srcs = [ +- "chariter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "edits", +- srcs = [ +- "edits.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "filterednormalizer2", +- srcs = [ +- "filterednormalizer2.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "hashtable", +- srcs = [ +- "uhash_us.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "icu_utility", +- srcs = [ +- "util.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":patternprops", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "loadednormalizer2", +- srcs = [ +- "loadednormalizer2impl.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locale_display_names", +- srcs = [ +- "locdispnames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":locresdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locresdata", +- srcs = [ +- "locresdata.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "normlzr", +- srcs = [ +- "normlzr.cpp", +- ], +- includes = ["."], +- deps = [ +- ":filterednormalizer2", +- ":headers", +- ":schriter", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "parsepos", +- srcs = [ +- "parsepos.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "resourcebundle", +- srcs = [ +- "localebuilder.cpp", +- "locavailable.cpp", +- "locbased.cpp", +- "locid.cpp", +- "loclikely.cpp", +- "locmap.cpp", +- "resbund.cpp", +- "resource.cpp", +- "uloc.cpp", +- "uloc_tag.cpp", +- "uloc_keytype.cpp", +- "uresbund.cpp", +- "uresdata.cpp", +- "wintz.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytesinkutil", +- ":errorcode", +- ":headers", +- ":propname", +- ":sort", +- ":stringenumeration", +- ":ucol_swp", +- ":udata", +- ":uhash", +- ":uscript_props", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "schriter", +- srcs = [ +- "schriter.cpp", +- "uchriter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":chariter", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "service_registration", +- srcs = [ +- "locutil.cpp", +- "serv.cpp", +- "servlk.cpp", +- "servlkf.cpp", +- "servls.cpp", +- "servnotf.cpp", +- "servrbf.cpp", +- "servslkf.cpp", +- ], +- includes = ["."], +- deps = [ +- ":hashtable", +- ":headers", +- ":locale_display_names", +- ":resourcebundle", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringenumeration", +- srcs = [ +- "uenum.cpp", +- "ustrenum.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ubidi_props", +- srcs = [ +- "ubidi_props.cpp", +- "ubidi_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucase", +- srcs = [ +- "ucase.cpp", +- "ucase_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uchar", +- srcs = [ +- "uchar.cpp", +- "uchar_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "emojiprops", +- srcs = [ +- "emojiprops.cpp", +- "emojiprops.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":ucharstrieiterator", +- ":ucptrie", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrie", +- srcs = [ +- "ucharstrie.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstriebuilder", +- srcs = [ +- "ucharstriebuilder.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":sort", +- ":stringtriebuilder", +- ":ucharstrie", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrieiterator", +- srcs = [ +- "ucharstrieiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucol_swp", +- srcs = [ +- "ucol_swp.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie_swap", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "udata", +- srcs = [ +- "restrace.cpp", +- "ucmndata.cpp", +- "udata.cpp", +- "udatamem.cpp", +- "umapfile.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ":uhash", +- "//icu4c/source/stubdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uiter", +- srcs = [ +- "uiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ulist", +- srcs = [ +- "ulist.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unames", +- srcs = [ +- "unames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uchar", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unifiedcache", +- srcs = [ +- "unifiedcache.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_core", +- srcs = [ +- "bmpset.cpp", +- "unifilt.cpp", +- "unifunct.cpp", +- "uniset.cpp", +- "unisetspan.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":patternprops", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_closure", +- srcs = [ +- "uniset_closure.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_core", +- ":unistr_case_locale", +- ":unistr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_props", +- srcs = [ +- "uniset_props.cpp", +- "ruleiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":characterproperties", +- ":headers", +- ":parsepos", +- ":propname", +- ":resourcebundle", +- ":unames", +- ":uniset_core", +- ":unistr_case", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case", +- srcs = [ +- "unistr_case.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case_locale", +- srcs = [ +- "unistr_case_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":unistr_case", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_titlecase_brkiter", +- srcs = [ +- "unistr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uprops", +- srcs = [ +- "uprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":loadednormalizer2", +- ":normalizer2", +- ":ubidi_props", +- ":ucase", +- ":uchar", +- ":unistr_case", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uscript_props", +- srcs = [ +- "uscript_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset", +- srcs = [ +- "uset.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset_props", +- srcs = [ +- "uset_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_closure", +- ":uniset_core", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "usetiter", +- srcs = [ +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustack", +- srcs = [ +- "ustack.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustr_titlecase_brkiter", +- srcs = [ +- "ustr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":breakiterator", +- ":headers", +- ":ucase", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case", +- srcs = [ +- "ustrcase.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ":uchar", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case_locale", +- srcs = [ +- "ustrcase_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utext", +- srcs = [ +- "utext.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie_swap", +- srcs = [ +- "utrie_swap.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# This target depends on a header file that contains NFC/NFD normalization data. +-# This header file is generated by a script (generate.sh) that invokes the gennorm2 binary. +-# See the Unicode update change log (changes.txt). +-cc_library( +- name = "normalizer2", +- srcs = [ +- "norm2_nfc_data.h", # generated by gennorm2 +- "normalizer2.cpp", +- "normalizer2impl.cpp", +- ], +- includes = ["."], +- hdrs = [ +- "normalizer2impl.h", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/data/unidata/norm2/BUILD.bazel b/icu4c/source/data/unidata/norm2/BUILD.bazel +deleted file mode 100644 +index 049e19bd41a..00000000000 +--- a/icu4c/source/data/unidata/norm2/BUILD.bazel ++++ /dev/null +@@ -1,13 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file is needed to declare targets for the files used as +-# inputs to binary executables that are a part of other Bazel genrule targets. +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-exports_files([ +- "nfc.txt", "nfkc.txt", "nfkc_cf.txt", "uts46.txt", +-]) +diff --git a/icu4c/source/i18n/BUILD.bazel b/icu4c/source/i18n/BUILD.bazel +deleted file mode 100644 +index 2d85cdb180e..00000000000 +--- a/icu4c/source/i18n/BUILD.bazel ++++ /dev/null +@@ -1,130 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of the ICU4C "i18n" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_I18n_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ]), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation", +- srcs = [ +- "bocsu.cpp", +- "coleitr.cpp", +- "coll.cpp", +- "collation.cpp", +- "collationcompare.cpp", +- "collationdata.cpp", +- "collationdatareader.cpp", +- "collationdatawriter.cpp", +- "collationfastlatin.cpp", +- # collationfcd.cpp is generated by genuca; +- # probably hard to build genuca without depending on the old version. +- "collationfcd.cpp", +- "collationiterator.cpp", +- "collationkeys.cpp", +- "collationroot.cpp", +- "collationrootelements.cpp", +- "collationsets.cpp", +- "collationsettings.cpp", +- "collationtailoring.cpp", +- "rulebasedcollator.cpp", +- "sortkey.cpp", +- "ucol.cpp", +- "ucol_res.cpp", +- "ucol_sit.cpp", +- "ucoleitr.cpp", +- "uitercollationiterator.cpp", +- "utf16collationiterator.cpp", +- "utf8collationiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uclean_i18n", +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:normalizer2", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:propname", +- "//icu4c/source/common:resourcebundle", +- "//icu4c/source/common:service_registration", +- "//icu4c/source/common:ucharstrieiterator", +- "//icu4c/source/common:uiter", +- "//icu4c/source/common:ulist", +- "//icu4c/source/common:unifiedcache", +- "//icu4c/source/common:uset", +- "//icu4c/source/common:usetiter", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:uvector32", +- "//icu4c/source/common:uvector64", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation_builder", +- srcs = [ +- "collationbuilder.cpp", +- "collationdatabuilder.cpp", +- "collationfastlatinbuilder.cpp", +- "collationruleparser.cpp", +- "collationweights.cpp", +- ], +- includes = ["."], +- deps = [ +- ":collation", +- "//icu4c/source/common:canonical_iterator", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uset_props" +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uclean_i18n", +- srcs = [ +- "ucln_in.cpp", +- ], +- hdrs = ["ucln_in.h"], +- includes = ["."], +- deps = [ +- "//icu4c/source/common:platform", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/stubdata/BUILD.bazel b/icu4c/source/stubdata/BUILD.bazel +deleted file mode 100644 +index 20344ef4991..00000000000 +--- a/icu4c/source/stubdata/BUILD.bazel ++++ /dev/null +@@ -1,24 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for the ICU4C "stubdata" library header and source files. +- +-load("@rules_cc//cc:defs.bzl", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-cc_library( +- name = "stubdata", +- srcs = ["stubdata.cpp"], +- hdrs = ["stubdata.h"], +- deps = ["//icu4c/source/common:headers"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/tools/gennorm2/BUILD.bazel b/icu4c/source/tools/gennorm2/BUILD.bazel +deleted file mode 100644 +index c602897bafc..00000000000 +--- a/icu4c/source/tools/gennorm2/BUILD.bazel ++++ /dev/null +@@ -1,39 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target for the gennorm2 binary that generates +-# headers needed for bootstrapping the ICU4C build process in a way that +-# integrates the normalization data. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "gennorm2", +- srcs = glob([ +- "*.c", +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/icu4c/source/tools/toolutil/BUILD.bazel b/icu4c/source/tools/toolutil/BUILD.bazel +deleted file mode 100644 +index 276c857f124..00000000000 +--- a/icu4c/source/tools/toolutil/BUILD.bazel ++++ /dev/null +@@ -1,126 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines targets that are dependencies for building +-# the gennorm2 and genprops binaries. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_library( +- name = "toolutil", +- includes = ["."], +- hdrs = ["toolutil.h"], +- srcs = ["toolutil.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "unewdata", +- includes = ["."], +- hdrs = ["unewdata.h"], +- srcs = ["unewdata.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "uoptions", +- includes = ["."], +- hdrs = ["uoptions.h"], +- srcs = ["uoptions.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "writesrc", +- includes = ["."], +- hdrs = ["writesrc.h"], +- srcs = ["writesrc.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:uniset_core", +- ], +-) +- +-cc_library( +- name = "uparse", +- includes = ["."], +- hdrs = ["uparse.h"], +- srcs = ["uparse.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "filestrm", +- includes = ["."], +- hdrs = ["filestrm.h"], +- srcs = ["filestrm.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "ppucd", +- includes = ["."], +- hdrs = ["ppucd.h"], +- srcs = ["ppucd.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":uparse", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "denseranges", +- includes = ["."], +- hdrs = ["denseranges.h"], +- srcs = ["denseranges.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "collationinfo", +- includes = ["."], +- hdrs = ["collationinfo.h"], +- srcs = ["collationinfo.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:headers", +- ], +-) +diff --git a/tools/unicode/c/genprops/BUILD.bazel b/tools/unicode/c/genprops/BUILD.bazel +deleted file mode 100644 +index a7c3b270499..00000000000 +--- a/tools/unicode/c/genprops/BUILD.bazel ++++ /dev/null +@@ -1,50 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genprops`, which is used for generating headers needed for bootstrapping +-# the ICU4C build process in a way that integrates core Unicode properties data. +- +-# Defining a binary executable (done in Bazel using `cc_binary`) +-# enables the use of the output file from executing the binary as a part of +-# other Bazel targets defined using `genrule`. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genprops", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:utrie2_builder", +- "//icu4c/source/common:bytestrie", +- "//icu4c/source/common:bytestriebuilder", +- "//icu4c/source/common:propsvec", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:ppucd", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:denseranges", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/tools/unicode/c/genuca/BUILD.bazel b/tools/unicode/c/genuca/BUILD.bazel +deleted file mode 100644 +index 7da631d3408..00000000000 +--- a/tools/unicode/c/genuca/BUILD.bazel ++++ /dev/null +@@ -1,52 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genuca`, which is used for generating ICU root collation data files. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genuca", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:headers", +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:collation_builder", +- "//icu4c/source/i18n:headers", +- "//icu4c/source/tools/toolutil:collationinfo", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:writesrc", +- ], +- # Markus 2021-06-16: +- # The pthread library is not linked in automatically. +- # See https://docs.bazel.build/versions/main/cpp-use-cases.html +- # When pthread is absent, then we get runtime errors instead of compile/link errors. +- # See https://stackoverflow.com/questions/51584960/stdcall-once-throws-stdsystem-error-unknown-error-1 +- # +- # My first genuca build crashed with +- # terminate called after throwing an instance of 'std::system_error' +- # what(): Unknown error -1 +- # +- # Program received signal SIGABRT, Aborted. +- # ... +- # #4 0x00007ffff7e809d1 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #5 0x00007ffff7e80c65 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #6 0x00007ffff7e78458 in std::__throw_system_error(int) () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #7 0x0000555555601c75 in std::call_once (__once=..., __f=@0x55555560156c: {void (void)} 0x55555560156c ) +- # at /usr/include/c++/10/mutex:743 +- # #8 0x00005555556017ca in icu_70::umtx_initImplPreInit (uio=...) at icu4c/source/common/umutex.cpp:146 +- # #9 0x0000555555592236 in icu_70::umtx_initOnce (uio=..., fp=0x5555555e0716 , +- # errCode=@0x7fffffffd738: U_ZERO_ERROR) at icu4c/source/common/umutex.h:143 +- linkopts = ["-pthread"], +-) +diff --git a/vendor/double-conversion/upstream/BUILD b/vendor/double-conversion/upstream/BUILD +deleted file mode 100644 +index 8c2eee564be..00000000000 +--- a/vendor/double-conversion/upstream/BUILD ++++ /dev/null +@@ -1,78 +0,0 @@ +-# Bazel(http://bazel.io) BUILD file +- +-load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") +- +-licenses(["notice"]) +- +-exports_files(["LICENSE"]) +- +-cc_library( +- name = "double-conversion", +- srcs = [ +- "double-conversion/bignum.cc", +- "double-conversion/bignum-dtoa.cc", +- "double-conversion/cached-powers.cc", +- "double-conversion/double-to-string.cc", +- "double-conversion/fast-dtoa.cc", +- "double-conversion/fixed-dtoa.cc", +- "double-conversion/string-to-double.cc", +- "double-conversion/strtod.cc", +- ], +- hdrs = [ +- "double-conversion/bignum.h", +- "double-conversion/bignum-dtoa.h", +- "double-conversion/cached-powers.h", +- "double-conversion/diy-fp.h", +- "double-conversion/double-conversion.h", +- "double-conversion/double-to-string.h", +- "double-conversion/fast-dtoa.h", +- "double-conversion/fixed-dtoa.h", +- "double-conversion/ieee.h", +- "double-conversion/string-to-double.h", +- "double-conversion/strtod.h", +- "double-conversion/utils.h", +- ], +- linkopts = [ +- "-lm", +- ], +- visibility = ["//visibility:public"], +-) +- +-cc_test( +- name = "cctest", +- srcs = [ +- "test/cctest/cctest.cc", +- "test/cctest/cctest.h", +- "test/cctest/checks.h", +- "test/cctest/gay-fixed.cc", +- "test/cctest/gay-fixed.h", +- "test/cctest/gay-precision.cc", +- "test/cctest/gay-precision.h", +- "test/cctest/gay-shortest.cc", +- "test/cctest/gay-shortest.h", +- "test/cctest/gay-shortest-single.cc", +- "test/cctest/gay-shortest-single.h", +- "test/cctest/test-bignum.cc", +- "test/cctest/test-bignum-dtoa.cc", +- "test/cctest/test-conversions.cc", +- "test/cctest/test-diy-fp.cc", +- "test/cctest/test-dtoa.cc", +- "test/cctest/test-fast-dtoa.cc", +- "test/cctest/test-fixed-dtoa.cc", +- "test/cctest/test-ieee.cc", +- "test/cctest/test-strtod.cc", +- ], +- args = [ +- "test-bignum", +- "test-bignum-dtoa", +- "test-conversions", +- "test-diy-fp", +- "test-dtoa", +- "test-fast-dtoa", +- "test-fixed-dtoa", +- "test-ieee", +- "test-strtod", +- ], +- visibility = ["//visibility:public"], +- deps = [":double-conversion"], +-) +-- +2.45.2.627.g7a2c4fd464-goog + diff --git a/third_party/icu_72/BUILD.bazel b/third_party/icu_72/BUILD.bazel new file mode 100644 index 0000000..e69de29 diff --git a/third_party/icu_72/icu.BUILD.bazel b/third_party/icu_72/icu.BUILD.bazel new file mode 100644 index 0000000..a7f9321 --- /dev/null +++ b/third_party/icu_72/icu.BUILD.bazel @@ -0,0 +1,67 @@ +load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make") + +licenses(["notice"]) # Apache v2.0 + +# We need to label this for configure_make. +filegroup( + name = "all", + srcs = glob([ + # This will *not* glob any files beneath any BUILD.bazel files found + # when globbing. + "icu4c/**", + ]), +) + +_CFLAGS = "-fPIC" +_CXXFLAGS = _CFLAGS + +configure_make( + name = "icu", + configure_command = "source/configure", + env = select({ + "@platforms//os:macos": { + "AR": "", + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + "//conditions:default": { + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + }), + configure_options = [ + "--enable-static", + ], + lib_source = "//:all", + out_static_libs = [ + "libicui18n.a", + "libicuio.a", + "libicuuc.a", + "libicudata.a", + ], + out_shared_libs = [ + "libicui18n.so", + "libicuio.so", + "libicuuc.so", + "libicudata.so", + ], + targets = ["-j", "install"], + visibility = [ + "//visibility:public", + ], +) + +exports_files([ + "icu4c/LICENSE", +]) + +filegroup( + name = "icudtl", + output_group = "gen_dir", + srcs = [ + "share/icu/72.1/icudt72l.dat", + ], + visibility = [ + "//visibility:public", + ], +) diff --git a/third_party/icu_73/0001-fix-removes-BUILD-files.patch b/third_party/icu_73/0001-fix-removes-BUILD-files.patch new file mode 100644 index 0000000..4b7b280 --- /dev/null +++ b/third_party/icu_73/0001-fix-removes-BUILD-files.patch @@ -0,0 +1,1810 @@ +From 840e5a307a0f76449dd46dce8183b96e1b5ba99b Mon Sep 17 00:00:00 2001 +From: Filip Filmar +Date: Mon, 17 Jun 2024 14:00:30 -0700 +Subject: [PATCH] fix: removes BUILD files + +this allows external compilation with bazel in an external repo +--- + icu4c/source/common/BUILD.bazel | 1214 ------------------- + icu4c/source/data/unidata/norm2/BUILD.bazel | 13 - + icu4c/source/i18n/BUILD.bazel | 130 -- + icu4c/source/stubdata/BUILD.bazel | 24 - + icu4c/source/tools/gennorm2/BUILD.bazel | 39 - + icu4c/source/tools/toolutil/BUILD.bazel | 126 -- + tools/unicode/c/genprops/BUILD.bazel | 50 - + tools/unicode/c/genuca/BUILD.bazel | 52 - + vendor/double-conversion/upstream/BUILD | 78 -- + 9 files changed, 1726 deletions(-) + delete mode 100644 icu4c/source/common/BUILD.bazel + delete mode 100644 icu4c/source/data/unidata/norm2/BUILD.bazel + delete mode 100644 icu4c/source/i18n/BUILD.bazel + delete mode 100644 icu4c/source/stubdata/BUILD.bazel + delete mode 100644 icu4c/source/tools/gennorm2/BUILD.bazel + delete mode 100644 icu4c/source/tools/toolutil/BUILD.bazel + delete mode 100644 tools/unicode/c/genprops/BUILD.bazel + delete mode 100644 tools/unicode/c/genuca/BUILD.bazel + delete mode 100644 vendor/double-conversion/upstream/BUILD + +diff --git a/icu4c/source/common/BUILD.bazel b/icu4c/source/common/BUILD.bazel +deleted file mode 100644 +index 47d3d24bf51..00000000000 +--- a/icu4c/source/common/BUILD.bazel ++++ /dev/null +@@ -1,1214 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of ICU4C "common" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ], +- # Instead of using these checked-in files, our Bazel build process +- # regenerates them and then uses the new versions. +- # Same list of .h files as in icu4c/source/data/unidata/clean.sh. +- exclude = ["norm2_nfc_data.h", "propname_data.h", "*_props_data.h"], +- ), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "platform", +- srcs = [ +- "cmemory.cpp", +- "uobject.cpp", +- "cstring.cpp", +- "cwchar.cpp", +- "uinvchar.cpp", +- "charstr.cpp", +- "unistr.cpp", +- "appendable.cpp", +- "stringpiece.cpp", +- "ustrtrns.cpp", +- "ustring.cpp", +- "ustrfmt.cpp", +- "utf_impl.cpp", +- "putil.cpp", +- "ucln_cmn.cpp", +- "udataswp.cpp", +- "umath.cpp", +- "umutex.cpp", +- "sharedobject.cpp", +- "utrace.cpp", +- ], +- deps = [ +- ":headers", +- # omit other deps b/c they are sys symbols +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +- linkopts = ["-ldl"], +-) +- +-cc_library( +- name = "utrie", +- srcs = ["utrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2", +- srcs = ["utrie2.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2_builder", +- srcs = ["utrie2_builder.cpp"], +- deps = [ +- ":utrie", +- ":utrie2", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucptrie", +- srcs = ["ucptrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "umutablecptrie", +- srcs = ["umutablecptrie.cpp"], +- deps = [":ucptrie"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestrie", +- srcs = ["bytestrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestriebuilder", +- srcs = ["bytestriebuilder.cpp"], +- deps = [ +- ":bytestrie", +- ":stringtriebuilder", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringtriebuilder", +- srcs = ["stringtriebuilder.cpp"], +- deps = [ +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uhash", +- hdrs = [ +- "uhash.h", +- ], +- srcs = [ +- "uhash.cpp", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "errorcode", +- hdrs = [ +- ], +- srcs = [ +- "errorcode.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":utypes", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utypes", +- srcs = [ +- "utypes.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset", +- srcs = [ +- "uniset.cpp", +- "unifilt.cpp", +- "unisetspan.cpp", +- "bmpset.cpp", +- "util.cpp", +- "unifunct.cpp", +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":patternprops", +- ":uvector", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "patternprops", +- srcs = [ +- "patternprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propsvec", +- srcs = [ +- "propsvec.cpp", +- ], +- includes = ["."], +- deps = [ +- ":sort", +- ":utrie2_builder", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propname", +- srcs = [ +- "propname.cpp", +- "propname_data.h", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# Note: The cc_library target names "uvector32" and "uvector64" match the +-# dependencies.txt group names, but the filenames are "uvectr32.*"/"uvectr64.*". +-cc_library( +- name = "uvector32", +- srcs = [ +- "uvectr32.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector64", +- srcs = [ +- "uvectr64.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "sort", +- srcs = [ +- "uarrsort.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector", +- srcs = [ +- "uvector.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "breakiterator", +- srcs = [ +- "brkiter.cpp", +- "brkeng.cpp", +- "dictbe.cpp", +- "dictionarydata.cpp", +- "filteredbrk.cpp", +- "lstmbe.cpp", +- "mlbe.cpp", +- "rbbi.cpp", +- "rbbi_cache.cpp", +- "rbbidata.cpp", +- "rbbinode.cpp", +- "rbbirb.cpp", +- "rbbiscan.cpp", +- "rbbisetb.cpp", +- "rbbistbl.cpp", +- "rbbitblb.cpp", +- "ubrk.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ":normlzr", +- ":resourcebundle", +- ":schriter", +- ":service_registration", +- ":ucharstrie", +- ":ucharstriebuilder", +- ":uhash", +- ":uniset_core", +- ":uniset_props", +- ":ustack", +- ":utext", +- ":utrie2_builder", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytesinkutil", +- srcs = [ +- "bytesinkutil.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":bytestream", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestream", +- srcs = [ +- "bytestream.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "canonical_iterator", +- srcs = [ +- "caniter.cpp", +- ], +- deps = [ +- ":normalizer2", +- ":usetiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "characterproperties", +- srcs = [ +- "characterproperties.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":ucptrie", +- ":umutablecptrie", +- ":uniset_core", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "chariter", +- srcs = [ +- "chariter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "edits", +- srcs = [ +- "edits.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "filterednormalizer2", +- srcs = [ +- "filterednormalizer2.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "hashtable", +- srcs = [ +- "uhash_us.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "icu_utility", +- srcs = [ +- "util.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":patternprops", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "loadednormalizer2", +- srcs = [ +- "loadednormalizer2impl.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locale_display_names", +- srcs = [ +- "locdispnames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":locresdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locresdata", +- srcs = [ +- "locresdata.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "normlzr", +- srcs = [ +- "normlzr.cpp", +- ], +- includes = ["."], +- deps = [ +- ":filterednormalizer2", +- ":headers", +- ":schriter", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "parsepos", +- srcs = [ +- "parsepos.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "resourcebundle", +- srcs = [ +- "localebuilder.cpp", +- "locavailable.cpp", +- "locbased.cpp", +- "locid.cpp", +- "loclikely.cpp", +- "locmap.cpp", +- "resbund.cpp", +- "resource.cpp", +- "uloc.cpp", +- "uloc_tag.cpp", +- "uloc_keytype.cpp", +- "uresbund.cpp", +- "uresdata.cpp", +- "wintz.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytesinkutil", +- ":errorcode", +- ":headers", +- ":propname", +- ":sort", +- ":stringenumeration", +- ":ucol_swp", +- ":udata", +- ":uhash", +- ":uscript_props", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "schriter", +- srcs = [ +- "schriter.cpp", +- "uchriter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":chariter", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "service_registration", +- srcs = [ +- "locutil.cpp", +- "serv.cpp", +- "servlk.cpp", +- "servlkf.cpp", +- "servls.cpp", +- "servnotf.cpp", +- "servrbf.cpp", +- "servslkf.cpp", +- ], +- includes = ["."], +- deps = [ +- ":hashtable", +- ":headers", +- ":locale_display_names", +- ":resourcebundle", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringenumeration", +- srcs = [ +- "uenum.cpp", +- "ustrenum.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ubidi_props", +- srcs = [ +- "ubidi_props.cpp", +- "ubidi_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucase", +- srcs = [ +- "ucase.cpp", +- "ucase_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uchar", +- srcs = [ +- "uchar.cpp", +- "uchar_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "emojiprops", +- srcs = [ +- "emojiprops.cpp", +- "emojiprops.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":ucharstrieiterator", +- ":ucptrie", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrie", +- srcs = [ +- "ucharstrie.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstriebuilder", +- srcs = [ +- "ucharstriebuilder.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":sort", +- ":stringtriebuilder", +- ":ucharstrie", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrieiterator", +- srcs = [ +- "ucharstrieiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucol_swp", +- srcs = [ +- "ucol_swp.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie_swap", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "udata", +- srcs = [ +- "restrace.cpp", +- "ucmndata.cpp", +- "udata.cpp", +- "udatamem.cpp", +- "umapfile.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ":uhash", +- "//icu4c/source/stubdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uiter", +- srcs = [ +- "uiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ulist", +- srcs = [ +- "ulist.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unames", +- srcs = [ +- "unames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uchar", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unifiedcache", +- srcs = [ +- "unifiedcache.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_core", +- srcs = [ +- "bmpset.cpp", +- "unifilt.cpp", +- "unifunct.cpp", +- "uniset.cpp", +- "unisetspan.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":patternprops", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_closure", +- srcs = [ +- "uniset_closure.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_core", +- ":unistr_case_locale", +- ":unistr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_props", +- srcs = [ +- "uniset_props.cpp", +- "ruleiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":characterproperties", +- ":headers", +- ":parsepos", +- ":propname", +- ":resourcebundle", +- ":unames", +- ":uniset_core", +- ":unistr_case", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case", +- srcs = [ +- "unistr_case.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case_locale", +- srcs = [ +- "unistr_case_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":unistr_case", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_titlecase_brkiter", +- srcs = [ +- "unistr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uprops", +- srcs = [ +- "uprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":loadednormalizer2", +- ":normalizer2", +- ":ubidi_props", +- ":ucase", +- ":uchar", +- ":unistr_case", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uscript_props", +- srcs = [ +- "uscript_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset", +- srcs = [ +- "uset.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset_props", +- srcs = [ +- "uset_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_closure", +- ":uniset_core", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "usetiter", +- srcs = [ +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustack", +- srcs = [ +- "ustack.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustr_titlecase_brkiter", +- srcs = [ +- "ustr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":breakiterator", +- ":headers", +- ":ucase", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case", +- srcs = [ +- "ustrcase.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ":uchar", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case_locale", +- srcs = [ +- "ustrcase_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utext", +- srcs = [ +- "utext.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie_swap", +- srcs = [ +- "utrie_swap.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# This target depends on a header file that contains NFC/NFD normalization data. +-# This header file is generated by a script (generate.sh) that invokes the gennorm2 binary. +-# See the Unicode update change log (changes.txt). +-cc_library( +- name = "normalizer2", +- srcs = [ +- "norm2_nfc_data.h", # generated by gennorm2 +- "normalizer2.cpp", +- "normalizer2impl.cpp", +- ], +- includes = ["."], +- hdrs = [ +- "normalizer2impl.h", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/data/unidata/norm2/BUILD.bazel b/icu4c/source/data/unidata/norm2/BUILD.bazel +deleted file mode 100644 +index 049e19bd41a..00000000000 +--- a/icu4c/source/data/unidata/norm2/BUILD.bazel ++++ /dev/null +@@ -1,13 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file is needed to declare targets for the files used as +-# inputs to binary executables that are a part of other Bazel genrule targets. +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-exports_files([ +- "nfc.txt", "nfkc.txt", "nfkc_cf.txt", "uts46.txt", +-]) +diff --git a/icu4c/source/i18n/BUILD.bazel b/icu4c/source/i18n/BUILD.bazel +deleted file mode 100644 +index 2d85cdb180e..00000000000 +--- a/icu4c/source/i18n/BUILD.bazel ++++ /dev/null +@@ -1,130 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of the ICU4C "i18n" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_I18n_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ]), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation", +- srcs = [ +- "bocsu.cpp", +- "coleitr.cpp", +- "coll.cpp", +- "collation.cpp", +- "collationcompare.cpp", +- "collationdata.cpp", +- "collationdatareader.cpp", +- "collationdatawriter.cpp", +- "collationfastlatin.cpp", +- # collationfcd.cpp is generated by genuca; +- # probably hard to build genuca without depending on the old version. +- "collationfcd.cpp", +- "collationiterator.cpp", +- "collationkeys.cpp", +- "collationroot.cpp", +- "collationrootelements.cpp", +- "collationsets.cpp", +- "collationsettings.cpp", +- "collationtailoring.cpp", +- "rulebasedcollator.cpp", +- "sortkey.cpp", +- "ucol.cpp", +- "ucol_res.cpp", +- "ucol_sit.cpp", +- "ucoleitr.cpp", +- "uitercollationiterator.cpp", +- "utf16collationiterator.cpp", +- "utf8collationiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uclean_i18n", +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:normalizer2", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:propname", +- "//icu4c/source/common:resourcebundle", +- "//icu4c/source/common:service_registration", +- "//icu4c/source/common:ucharstrieiterator", +- "//icu4c/source/common:uiter", +- "//icu4c/source/common:ulist", +- "//icu4c/source/common:unifiedcache", +- "//icu4c/source/common:uset", +- "//icu4c/source/common:usetiter", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:uvector32", +- "//icu4c/source/common:uvector64", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation_builder", +- srcs = [ +- "collationbuilder.cpp", +- "collationdatabuilder.cpp", +- "collationfastlatinbuilder.cpp", +- "collationruleparser.cpp", +- "collationweights.cpp", +- ], +- includes = ["."], +- deps = [ +- ":collation", +- "//icu4c/source/common:canonical_iterator", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uset_props" +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uclean_i18n", +- srcs = [ +- "ucln_in.cpp", +- ], +- hdrs = ["ucln_in.h"], +- includes = ["."], +- deps = [ +- "//icu4c/source/common:platform", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/stubdata/BUILD.bazel b/icu4c/source/stubdata/BUILD.bazel +deleted file mode 100644 +index 20344ef4991..00000000000 +--- a/icu4c/source/stubdata/BUILD.bazel ++++ /dev/null +@@ -1,24 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for the ICU4C "stubdata" library header and source files. +- +-load("@rules_cc//cc:defs.bzl", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-cc_library( +- name = "stubdata", +- srcs = ["stubdata.cpp"], +- hdrs = ["stubdata.h"], +- deps = ["//icu4c/source/common:headers"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/tools/gennorm2/BUILD.bazel b/icu4c/source/tools/gennorm2/BUILD.bazel +deleted file mode 100644 +index c602897bafc..00000000000 +--- a/icu4c/source/tools/gennorm2/BUILD.bazel ++++ /dev/null +@@ -1,39 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target for the gennorm2 binary that generates +-# headers needed for bootstrapping the ICU4C build process in a way that +-# integrates the normalization data. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "gennorm2", +- srcs = glob([ +- "*.c", +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/icu4c/source/tools/toolutil/BUILD.bazel b/icu4c/source/tools/toolutil/BUILD.bazel +deleted file mode 100644 +index 276c857f124..00000000000 +--- a/icu4c/source/tools/toolutil/BUILD.bazel ++++ /dev/null +@@ -1,126 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines targets that are dependencies for building +-# the gennorm2 and genprops binaries. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_library( +- name = "toolutil", +- includes = ["."], +- hdrs = ["toolutil.h"], +- srcs = ["toolutil.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "unewdata", +- includes = ["."], +- hdrs = ["unewdata.h"], +- srcs = ["unewdata.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "uoptions", +- includes = ["."], +- hdrs = ["uoptions.h"], +- srcs = ["uoptions.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "writesrc", +- includes = ["."], +- hdrs = ["writesrc.h"], +- srcs = ["writesrc.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:uniset_core", +- ], +-) +- +-cc_library( +- name = "uparse", +- includes = ["."], +- hdrs = ["uparse.h"], +- srcs = ["uparse.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "filestrm", +- includes = ["."], +- hdrs = ["filestrm.h"], +- srcs = ["filestrm.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "ppucd", +- includes = ["."], +- hdrs = ["ppucd.h"], +- srcs = ["ppucd.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":uparse", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "denseranges", +- includes = ["."], +- hdrs = ["denseranges.h"], +- srcs = ["denseranges.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "collationinfo", +- includes = ["."], +- hdrs = ["collationinfo.h"], +- srcs = ["collationinfo.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:headers", +- ], +-) +diff --git a/tools/unicode/c/genprops/BUILD.bazel b/tools/unicode/c/genprops/BUILD.bazel +deleted file mode 100644 +index a7c3b270499..00000000000 +--- a/tools/unicode/c/genprops/BUILD.bazel ++++ /dev/null +@@ -1,50 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genprops`, which is used for generating headers needed for bootstrapping +-# the ICU4C build process in a way that integrates core Unicode properties data. +- +-# Defining a binary executable (done in Bazel using `cc_binary`) +-# enables the use of the output file from executing the binary as a part of +-# other Bazel targets defined using `genrule`. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genprops", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:utrie2_builder", +- "//icu4c/source/common:bytestrie", +- "//icu4c/source/common:bytestriebuilder", +- "//icu4c/source/common:propsvec", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:ppucd", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:denseranges", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/tools/unicode/c/genuca/BUILD.bazel b/tools/unicode/c/genuca/BUILD.bazel +deleted file mode 100644 +index 7da631d3408..00000000000 +--- a/tools/unicode/c/genuca/BUILD.bazel ++++ /dev/null +@@ -1,52 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genuca`, which is used for generating ICU root collation data files. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genuca", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:headers", +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:collation_builder", +- "//icu4c/source/i18n:headers", +- "//icu4c/source/tools/toolutil:collationinfo", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:writesrc", +- ], +- # Markus 2021-06-16: +- # The pthread library is not linked in automatically. +- # See https://docs.bazel.build/versions/main/cpp-use-cases.html +- # When pthread is absent, then we get runtime errors instead of compile/link errors. +- # See https://stackoverflow.com/questions/51584960/stdcall-once-throws-stdsystem-error-unknown-error-1 +- # +- # My first genuca build crashed with +- # terminate called after throwing an instance of 'std::system_error' +- # what(): Unknown error -1 +- # +- # Program received signal SIGABRT, Aborted. +- # ... +- # #4 0x00007ffff7e809d1 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #5 0x00007ffff7e80c65 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #6 0x00007ffff7e78458 in std::__throw_system_error(int) () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #7 0x0000555555601c75 in std::call_once (__once=..., __f=@0x55555560156c: {void (void)} 0x55555560156c ) +- # at /usr/include/c++/10/mutex:743 +- # #8 0x00005555556017ca in icu_70::umtx_initImplPreInit (uio=...) at icu4c/source/common/umutex.cpp:146 +- # #9 0x0000555555592236 in icu_70::umtx_initOnce (uio=..., fp=0x5555555e0716 , +- # errCode=@0x7fffffffd738: U_ZERO_ERROR) at icu4c/source/common/umutex.h:143 +- linkopts = ["-pthread"], +-) +diff --git a/vendor/double-conversion/upstream/BUILD b/vendor/double-conversion/upstream/BUILD +deleted file mode 100644 +index 8c2eee564be..00000000000 +--- a/vendor/double-conversion/upstream/BUILD ++++ /dev/null +@@ -1,78 +0,0 @@ +-# Bazel(http://bazel.io) BUILD file +- +-load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") +- +-licenses(["notice"]) +- +-exports_files(["LICENSE"]) +- +-cc_library( +- name = "double-conversion", +- srcs = [ +- "double-conversion/bignum.cc", +- "double-conversion/bignum-dtoa.cc", +- "double-conversion/cached-powers.cc", +- "double-conversion/double-to-string.cc", +- "double-conversion/fast-dtoa.cc", +- "double-conversion/fixed-dtoa.cc", +- "double-conversion/string-to-double.cc", +- "double-conversion/strtod.cc", +- ], +- hdrs = [ +- "double-conversion/bignum.h", +- "double-conversion/bignum-dtoa.h", +- "double-conversion/cached-powers.h", +- "double-conversion/diy-fp.h", +- "double-conversion/double-conversion.h", +- "double-conversion/double-to-string.h", +- "double-conversion/fast-dtoa.h", +- "double-conversion/fixed-dtoa.h", +- "double-conversion/ieee.h", +- "double-conversion/string-to-double.h", +- "double-conversion/strtod.h", +- "double-conversion/utils.h", +- ], +- linkopts = [ +- "-lm", +- ], +- visibility = ["//visibility:public"], +-) +- +-cc_test( +- name = "cctest", +- srcs = [ +- "test/cctest/cctest.cc", +- "test/cctest/cctest.h", +- "test/cctest/checks.h", +- "test/cctest/gay-fixed.cc", +- "test/cctest/gay-fixed.h", +- "test/cctest/gay-precision.cc", +- "test/cctest/gay-precision.h", +- "test/cctest/gay-shortest.cc", +- "test/cctest/gay-shortest.h", +- "test/cctest/gay-shortest-single.cc", +- "test/cctest/gay-shortest-single.h", +- "test/cctest/test-bignum.cc", +- "test/cctest/test-bignum-dtoa.cc", +- "test/cctest/test-conversions.cc", +- "test/cctest/test-diy-fp.cc", +- "test/cctest/test-dtoa.cc", +- "test/cctest/test-fast-dtoa.cc", +- "test/cctest/test-fixed-dtoa.cc", +- "test/cctest/test-ieee.cc", +- "test/cctest/test-strtod.cc", +- ], +- args = [ +- "test-bignum", +- "test-bignum-dtoa", +- "test-conversions", +- "test-diy-fp", +- "test-dtoa", +- "test-fast-dtoa", +- "test-fixed-dtoa", +- "test-ieee", +- "test-strtod", +- ], +- visibility = ["//visibility:public"], +- deps = [":double-conversion"], +-) +-- +2.45.2.627.g7a2c4fd464-goog + diff --git a/third_party/icu_73/BUILD.bazel b/third_party/icu_73/BUILD.bazel new file mode 100644 index 0000000..e69de29 diff --git a/third_party/icu_73/icu.BUILD.bazel b/third_party/icu_73/icu.BUILD.bazel new file mode 100644 index 0000000..08fb531 --- /dev/null +++ b/third_party/icu_73/icu.BUILD.bazel @@ -0,0 +1,67 @@ +load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make") + +licenses(["notice"]) # Apache v2.0 + +# We need to label this for configure_make. +filegroup( + name = "all", + srcs = glob([ + # This will *not* glob any files beneath any BUILD.bazel files found + # when globbing. + "icu4c/**", + ]), +) + +_CFLAGS = "-fPIC" +_CXXFLAGS = _CFLAGS + +configure_make( + name = "icu", + configure_command = "source/configure", + env = select({ + "@platforms//os:macos": { + "AR": "", + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + "//conditions:default": { + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + }), + configure_options = [ + "--enable-static", + ], + lib_source = "//:all", + out_static_libs = [ + "libicui18n.a", + "libicuio.a", + "libicuuc.a", + "libicudata.a", + ], + out_shared_libs = [ + "libicui18n.so", + "libicuio.so", + "libicuuc.so", + "libicudata.so", + ], + targets = ["-j", "install"], + visibility = [ + "//visibility:public", + ], +) + +exports_files([ + "icu4c/LICENSE", +]) + +filegroup( + name = "icudtl", + output_group = "gen_dir", + srcs = [ + "share/icu/73.1/icudt73l.dat", + ], + visibility = [ + "//visibility:public", + ], +) diff --git a/third_party/icu_74/0001-fix-removes-BUILD-files.patch b/third_party/icu_74/0001-fix-removes-BUILD-files.patch new file mode 100644 index 0000000..8462d93 --- /dev/null +++ b/third_party/icu_74/0001-fix-removes-BUILD-files.patch @@ -0,0 +1,1813 @@ +From 331c80728b01f0aced72cf0fe652d0bb2c4071ca Mon Sep 17 00:00:00 2001 +From: Filip Filmar +Date: Mon, 17 Jun 2024 15:31:33 -0700 +Subject: [PATCH] fix: removes BUILD files + +--- + icu4c/source/common/BUILD.bazel | 1218 ------------------- + icu4c/source/data/unidata/norm2/BUILD.bazel | 13 - + icu4c/source/i18n/BUILD.bazel | 130 -- + icu4c/source/stubdata/BUILD.bazel | 24 - + icu4c/source/tools/gennorm2/BUILD.bazel | 39 - + icu4c/source/tools/toolutil/BUILD.bazel | 126 -- + tools/unicode/c/genprops/BUILD.bazel | 50 - + tools/unicode/c/genuca/BUILD.bazel | 52 - + vendor/double-conversion/upstream/BUILD | 78 -- + 9 files changed, 1730 deletions(-) + delete mode 100644 icu4c/source/common/BUILD.bazel + delete mode 100644 icu4c/source/data/unidata/norm2/BUILD.bazel + delete mode 100644 icu4c/source/i18n/BUILD.bazel + delete mode 100644 icu4c/source/stubdata/BUILD.bazel + delete mode 100644 icu4c/source/tools/gennorm2/BUILD.bazel + delete mode 100644 icu4c/source/tools/toolutil/BUILD.bazel + delete mode 100644 tools/unicode/c/genprops/BUILD.bazel + delete mode 100644 tools/unicode/c/genuca/BUILD.bazel + delete mode 100644 vendor/double-conversion/upstream/BUILD + +diff --git a/icu4c/source/common/BUILD.bazel b/icu4c/source/common/BUILD.bazel +deleted file mode 100644 +index 3ecae30c437..00000000000 +--- a/icu4c/source/common/BUILD.bazel ++++ /dev/null +@@ -1,1218 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of ICU4C "common" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ], +- # Instead of using these checked-in files, our Bazel build process +- # regenerates them and then uses the new versions. +- # Same list of .h files as in icu4c/source/data/unidata/clean.sh. +- exclude = ["norm2_nfc_data.h", "propname_data.h", "*_props_data.h"], +- ), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "platform", +- srcs = [ +- "cmemory.cpp", +- "uobject.cpp", +- "cstring.cpp", +- "cwchar.cpp", +- "uinvchar.cpp", +- "charstr.cpp", +- "unistr.cpp", +- "appendable.cpp", +- "stringpiece.cpp", +- "ustrtrns.cpp", +- "ustring.cpp", +- "ustrfmt.cpp", +- "utf_impl.cpp", +- "putil.cpp", +- "ucln_cmn.cpp", +- "udataswp.cpp", +- "umath.cpp", +- "umutex.cpp", +- "sharedobject.cpp", +- "utrace.cpp", +- ], +- deps = [ +- ":headers", +- # omit other deps b/c they are sys symbols +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +- linkopts = ["-ldl"], +-) +- +-cc_library( +- name = "utrie", +- srcs = ["utrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2", +- srcs = ["utrie2.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie2_builder", +- srcs = ["utrie2_builder.cpp"], +- deps = [ +- ":utrie", +- ":utrie2", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucptrie", +- srcs = ["ucptrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "umutablecptrie", +- srcs = ["umutablecptrie.cpp"], +- deps = [":ucptrie"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestrie", +- srcs = ["bytestrie.cpp"], +- deps = [":platform"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestriebuilder", +- srcs = ["bytestriebuilder.cpp"], +- deps = [ +- ":bytestrie", +- ":stringtriebuilder", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringtriebuilder", +- srcs = ["stringtriebuilder.cpp"], +- deps = [ +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uhash", +- hdrs = [ +- "uhash.h", +- ], +- srcs = [ +- "uhash.cpp", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "errorcode", +- hdrs = [ +- ], +- srcs = [ +- "errorcode.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":utypes", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utypes", +- srcs = [ +- "utypes.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset", +- srcs = [ +- "uniset.cpp", +- "unifilt.cpp", +- "unisetspan.cpp", +- "bmpset.cpp", +- "util.cpp", +- "unifunct.cpp", +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":patternprops", +- ":uvector", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "patternprops", +- srcs = [ +- "patternprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propsvec", +- srcs = [ +- "propsvec.cpp", +- ], +- includes = ["."], +- deps = [ +- ":sort", +- ":utrie2_builder", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "propname", +- srcs = [ +- "propname.cpp", +- "propname_data.h", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# Note: The cc_library target names "uvector32" and "uvector64" match the +-# dependencies.txt group names, but the filenames are "uvectr32.*"/"uvectr64.*". +-cc_library( +- name = "uvector32", +- srcs = [ +- "uvectr32.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector64", +- srcs = [ +- "uvectr64.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "sort", +- srcs = [ +- "uarrsort.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uvector", +- srcs = [ +- "uvector.cpp", +- ], +- includes = ["."], +- deps = [ +- ":platform", +- ":sort", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "breakiterator", +- srcs = [ +- "brkiter.cpp", +- "brkeng.cpp", +- "dictbe.cpp", +- "dictionarydata.cpp", +- "filteredbrk.cpp", +- "lstmbe.cpp", +- "mlbe.cpp", +- "rbbi.cpp", +- "rbbi_cache.cpp", +- "rbbidata.cpp", +- "rbbinode.cpp", +- "rbbirb.cpp", +- "rbbiscan.cpp", +- "rbbisetb.cpp", +- "rbbistbl.cpp", +- "rbbitblb.cpp", +- "ubrk.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytestrie", +- ":headers", +- ":normlzr", +- ":resourcebundle", +- ":schriter", +- ":service_registration", +- ":ucharstrie", +- ":ucharstriebuilder", +- ":uhash", +- ":uniset_core", +- ":uniset_props", +- ":ustack", +- ":utext", +- ":utrie2_builder", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytesinkutil", +- srcs = [ +- "bytesinkutil.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":bytestream", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "bytestream", +- srcs = [ +- "bytestream.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "canonical_iterator", +- srcs = [ +- "caniter.cpp", +- ], +- deps = [ +- ":normalizer2", +- ":usetiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "characterproperties", +- srcs = [ +- "characterproperties.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":ucptrie", +- ":umutablecptrie", +- ":uniset_core", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "chariter", +- srcs = [ +- "chariter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "edits", +- srcs = [ +- "edits.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "filterednormalizer2", +- srcs = [ +- "filterednormalizer2.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "hashtable", +- srcs = [ +- "uhash_us.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "icu_utility", +- srcs = [ +- "util.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":patternprops", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "loadednormalizer2", +- srcs = [ +- "loadednormalizer2impl.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":normalizer2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locale_display_names", +- srcs = [ +- "locdispnames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":locresdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "locresdata", +- srcs = [ +- "locresdata.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "normlzr", +- srcs = [ +- "normlzr.cpp", +- ], +- includes = ["."], +- deps = [ +- ":filterednormalizer2", +- ":headers", +- ":schriter", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "parsepos", +- srcs = [ +- "parsepos.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "resourcebundle", +- srcs = [ +- "localebuilder.cpp", +- "locavailable.cpp", +- "locbased.cpp", +- "locid.cpp", +- "loclikely.cpp", +- "loclikelysubtags.cpp", +- "locmap.cpp", +- "lsr.cpp", +- "resbund.cpp", +- "resource.cpp", +- "uloc.cpp", +- "uloc_tag.cpp", +- "uloc_keytype.cpp", +- "ulocale.cpp", +- "ulocbuilder.cpp", +- "uresbund.cpp", +- "uresdata.cpp", +- "wintz.cpp", +- ], +- includes = ["."], +- deps = [ +- ":bytesinkutil", +- ":errorcode", +- ":headers", +- ":propname", +- ":sort", +- ":stringenumeration", +- ":ucol_swp", +- ":udata", +- ":uhash", +- ":uscript_props", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "schriter", +- srcs = [ +- "schriter.cpp", +- "uchriter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":chariter", +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "service_registration", +- srcs = [ +- "locutil.cpp", +- "serv.cpp", +- "servlk.cpp", +- "servlkf.cpp", +- "servls.cpp", +- "servnotf.cpp", +- "servrbf.cpp", +- "servslkf.cpp", +- ], +- includes = ["."], +- deps = [ +- ":hashtable", +- ":headers", +- ":locale_display_names", +- ":resourcebundle", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "stringenumeration", +- srcs = [ +- "uenum.cpp", +- "ustrenum.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ubidi_props", +- srcs = [ +- "ubidi_props.cpp", +- "ubidi_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucase", +- srcs = [ +- "ucase.cpp", +- "ucase_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uchar", +- srcs = [ +- "uchar.cpp", +- "uchar_props_data.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie2", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "emojiprops", +- srcs = [ +- "emojiprops.cpp", +- "emojiprops.h", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":ucharstrieiterator", +- ":ucptrie", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrie", +- srcs = [ +- "ucharstrie.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstriebuilder", +- srcs = [ +- "ucharstriebuilder.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":sort", +- ":stringtriebuilder", +- ":ucharstrie", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucharstrieiterator", +- srcs = [ +- "ucharstrieiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucharstrie", +- ":uvector32", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ucol_swp", +- srcs = [ +- "ucol_swp.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":utrie_swap", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "udata", +- srcs = [ +- "restrace.cpp", +- "ucmndata.cpp", +- "udata.cpp", +- "udatamem.cpp", +- "umapfile.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":platform", +- ":uhash", +- "//icu4c/source/stubdata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uiter", +- srcs = [ +- "uiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ulist", +- srcs = [ +- "ulist.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unames", +- srcs = [ +- "unames.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uchar", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unifiedcache", +- srcs = [ +- "unifiedcache.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uhash", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_core", +- srcs = [ +- "bmpset.cpp", +- "unifilt.cpp", +- "unifunct.cpp", +- "uniset.cpp", +- "unisetspan.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":icu_utility", +- ":patternprops", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_closure", +- srcs = [ +- "uniset_closure.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_core", +- ":unistr_case_locale", +- ":unistr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uniset_props", +- srcs = [ +- "uniset_props.cpp", +- "ruleiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":characterproperties", +- ":headers", +- ":parsepos", +- ":propname", +- ":resourcebundle", +- ":unames", +- ":uniset_core", +- ":unistr_case", +- ":uprops", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case", +- srcs = [ +- "unistr_case.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_case_locale", +- srcs = [ +- "unistr_case_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":unistr_case", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "unistr_titlecase_brkiter", +- srcs = [ +- "unistr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ustr_titlecase_brkiter", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uprops", +- srcs = [ +- "uprops.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":emojiprops", +- ":loadednormalizer2", +- ":normalizer2", +- ":ubidi_props", +- ":ucase", +- ":uchar", +- ":unistr_case", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uscript_props", +- srcs = [ +- "uscript_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset", +- srcs = [ +- "uset.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uset_props", +- srcs = [ +- "uset_props.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uniset_closure", +- ":uniset_core", +- ":uniset_props", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "usetiter", +- srcs = [ +- "usetiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":platform", +- ":uniset_core", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustack", +- srcs = [ +- "ustack.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uvector", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustr_titlecase_brkiter", +- srcs = [ +- "ustr_titlecase_brkiter.cpp", +- ], +- includes = ["."], +- deps = [ +- ":breakiterator", +- ":headers", +- ":ucase", +- ":ustring_case_locale", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case", +- srcs = [ +- "ustrcase.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ":uchar", +- ":edits", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "ustring_case_locale", +- srcs = [ +- "ustrcase_locale.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":resourcebundle", +- ":ustring_case", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utext", +- srcs = [ +- "utext.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":ucase", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "utrie_swap", +- srcs = [ +- "utrie_swap.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":udata", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +- +-# This target depends on a header file that contains NFC/NFD normalization data. +-# This header file is generated by a script (generate.sh) that invokes the gennorm2 binary. +-# See the Unicode update change log (changes.txt). +-cc_library( +- name = "normalizer2", +- srcs = [ +- "norm2_nfc_data.h", # generated by gennorm2 +- "normalizer2.cpp", +- "normalizer2impl.cpp", +- ], +- includes = ["."], +- hdrs = [ +- "normalizer2impl.h", +- ], +- deps = [ +- ":headers", +- ], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/data/unidata/norm2/BUILD.bazel b/icu4c/source/data/unidata/norm2/BUILD.bazel +deleted file mode 100644 +index 06e054ea355..00000000000 +--- a/icu4c/source/data/unidata/norm2/BUILD.bazel ++++ /dev/null +@@ -1,13 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file is needed to declare targets for the files used as +-# inputs to binary executables that are a part of other Bazel genrule targets. +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-exports_files([ +- "nfc.txt", "nfkc.txt", "nfkc_cf.txt", "nfkc_scf.txt", "uts46.txt", +-]) +diff --git a/icu4c/source/i18n/BUILD.bazel b/icu4c/source/i18n/BUILD.bazel +deleted file mode 100644 +index 2d85cdb180e..00000000000 +--- a/icu4c/source/i18n/BUILD.bazel ++++ /dev/null +@@ -1,130 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for a subset of the ICU4C "i18n" library header and source files. +-# The configuration of dependencies among targets is strongly assisted by the +-# file in depstest that maintains such information, at +-# icu4c/source/test/depstest/dependencies.txt . +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_I18n_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-# If linker errors occur, then this may be a sign that the dependencies were +-# not specified correctly. Use dependencies.txt in depstest for assistance. See +-# https://stackoverflow.com/q/66111709/2077918 . +- +-cc_library( +- name = "headers", +- hdrs = glob([ +- "unicode/*.h", # public +- "*.h", # internal +- ]), +- # We need to add includes in order to preserve existing source files' +- # include directives that use traditional paths, not paths relative to +- # Bazel workspace: +- # https://stackoverflow.com/a/65635893/2077918 +- includes = ["."], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation", +- srcs = [ +- "bocsu.cpp", +- "coleitr.cpp", +- "coll.cpp", +- "collation.cpp", +- "collationcompare.cpp", +- "collationdata.cpp", +- "collationdatareader.cpp", +- "collationdatawriter.cpp", +- "collationfastlatin.cpp", +- # collationfcd.cpp is generated by genuca; +- # probably hard to build genuca without depending on the old version. +- "collationfcd.cpp", +- "collationiterator.cpp", +- "collationkeys.cpp", +- "collationroot.cpp", +- "collationrootelements.cpp", +- "collationsets.cpp", +- "collationsettings.cpp", +- "collationtailoring.cpp", +- "rulebasedcollator.cpp", +- "sortkey.cpp", +- "ucol.cpp", +- "ucol_res.cpp", +- "ucol_sit.cpp", +- "ucoleitr.cpp", +- "uitercollationiterator.cpp", +- "utf16collationiterator.cpp", +- "utf8collationiterator.cpp", +- ], +- includes = ["."], +- deps = [ +- ":headers", +- ":uclean_i18n", +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:normalizer2", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:propname", +- "//icu4c/source/common:resourcebundle", +- "//icu4c/source/common:service_registration", +- "//icu4c/source/common:ucharstrieiterator", +- "//icu4c/source/common:uiter", +- "//icu4c/source/common:ulist", +- "//icu4c/source/common:unifiedcache", +- "//icu4c/source/common:uset", +- "//icu4c/source/common:usetiter", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:uvector32", +- "//icu4c/source/common:uvector64", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "collation_builder", +- srcs = [ +- "collationbuilder.cpp", +- "collationdatabuilder.cpp", +- "collationfastlatinbuilder.cpp", +- "collationruleparser.cpp", +- "collationweights.cpp", +- ], +- includes = ["."], +- deps = [ +- ":collation", +- "//icu4c/source/common:canonical_iterator", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uset_props" +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +- +-cc_library( +- name = "uclean_i18n", +- srcs = [ +- "ucln_in.cpp", +- ], +- hdrs = ["ucln_in.h"], +- includes = ["."], +- deps = [ +- "//icu4c/source/common:platform", +- ], +- local_defines = [ +- "U_I18N_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/stubdata/BUILD.bazel b/icu4c/source/stubdata/BUILD.bazel +deleted file mode 100644 +index 20344ef4991..00000000000 +--- a/icu4c/source/stubdata/BUILD.bazel ++++ /dev/null +@@ -1,24 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This file defines Bazel targets for the ICU4C "stubdata" library header and source files. +- +-load("@rules_cc//cc:defs.bzl", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-# When compiling code in the `common` dir, the constant +-# `U_COMMON_IMPLEMENTATION` needs to be defined. See +-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system . +- +-cc_library( +- name = "stubdata", +- srcs = ["stubdata.cpp"], +- hdrs = ["stubdata.h"], +- deps = ["//icu4c/source/common:headers"], +- local_defines = [ +- "U_COMMON_IMPLEMENTATION", +- ], +-) +diff --git a/icu4c/source/tools/gennorm2/BUILD.bazel b/icu4c/source/tools/gennorm2/BUILD.bazel +deleted file mode 100644 +index c602897bafc..00000000000 +--- a/icu4c/source/tools/gennorm2/BUILD.bazel ++++ /dev/null +@@ -1,39 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target for the gennorm2 binary that generates +-# headers needed for bootstrapping the ICU4C build process in a way that +-# integrates the normalization data. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "gennorm2", +- srcs = glob([ +- "*.c", +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/icu4c/source/tools/toolutil/BUILD.bazel b/icu4c/source/tools/toolutil/BUILD.bazel +deleted file mode 100644 +index 276c857f124..00000000000 +--- a/icu4c/source/tools/toolutil/BUILD.bazel ++++ /dev/null +@@ -1,126 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines targets that are dependencies for building +-# the gennorm2 and genprops binaries. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_library( +- name = "toolutil", +- includes = ["."], +- hdrs = ["toolutil.h"], +- srcs = ["toolutil.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "unewdata", +- includes = ["."], +- hdrs = ["unewdata.h"], +- srcs = ["unewdata.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "uoptions", +- includes = ["."], +- hdrs = ["uoptions.h"], +- srcs = ["uoptions.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "writesrc", +- includes = ["."], +- hdrs = ["writesrc.h"], +- srcs = ["writesrc.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:bytestream", +- "//icu4c/source/common:platform", +- "//icu4c/source/common:uniset_core", +- ], +-) +- +-cc_library( +- name = "uparse", +- includes = ["."], +- hdrs = ["uparse.h"], +- srcs = ["uparse.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":filestrm", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "filestrm", +- includes = ["."], +- hdrs = ["filestrm.h"], +- srcs = ["filestrm.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "ppucd", +- includes = ["."], +- hdrs = ["ppucd.h"], +- srcs = ["ppucd.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- ":uparse", +- "//icu4c/source/common:platform", +- ], +-) +- +-cc_library( +- name = "denseranges", +- includes = ["."], +- hdrs = ["denseranges.h"], +- srcs = ["denseranges.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = ["//icu4c/source/common:platform"], +-) +- +-cc_library( +- name = "collationinfo", +- includes = ["."], +- hdrs = ["collationinfo.h"], +- srcs = ["collationinfo.cpp"], +- local_defines = [ +- "U_TOOLUTIL_IMPLEMENTATION", +- ], +- deps = [ +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:headers", +- ], +-) +diff --git a/tools/unicode/c/genprops/BUILD.bazel b/tools/unicode/c/genprops/BUILD.bazel +deleted file mode 100644 +index a7c3b270499..00000000000 +--- a/tools/unicode/c/genprops/BUILD.bazel ++++ /dev/null +@@ -1,50 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genprops`, which is used for generating headers needed for bootstrapping +-# the ICU4C build process in a way that integrates core Unicode properties data. +- +-# Defining a binary executable (done in Bazel using `cc_binary`) +-# enables the use of the output file from executing the binary as a part of +-# other Bazel targets defined using `genrule`. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genprops", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:uhash", +- "//icu4c/source/common:umutablecptrie", +- "//icu4c/source/common:ucptrie", +- "//icu4c/source/common:utrie2", +- "//icu4c/source/common:utrie2_builder", +- "//icu4c/source/common:bytestrie", +- "//icu4c/source/common:bytestriebuilder", +- "//icu4c/source/common:propsvec", +- "//icu4c/source/common:errorcode", +- "//icu4c/source/common:ucharstriebuilder", +- "//icu4c/source/common:uniset", +- "//icu4c/source/common:uvector32", +- +- "//icu4c/source/common:platform", +- "//icu4c/source/common:headers", +- +- "//icu4c/source/tools/toolutil:ppucd", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:writesrc", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:denseranges", +- ], +- linkopts = ["-pthread"], +-) +diff --git a/tools/unicode/c/genuca/BUILD.bazel b/tools/unicode/c/genuca/BUILD.bazel +deleted file mode 100644 +index 7da631d3408..00000000000 +--- a/tools/unicode/c/genuca/BUILD.bazel ++++ /dev/null +@@ -1,52 +0,0 @@ +-# © 2021 and later: Unicode, Inc. and others. +-# License & terms of use: http://www.unicode.org/copyright.html +- +-# This Bazel build file defines a target representing the binary executable +-# `genuca`, which is used for generating ICU root collation data files. +- +-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") +- +-package( +- default_visibility = ["//visibility:public"], +-) +- +-cc_binary( +- name = "genuca", +- srcs = glob([ +- "*.cpp", +- "*.h", # cannot have hdrs section in cc_binary +- ]), +- deps = [ +- "//icu4c/source/common:headers", +- "//icu4c/source/common:platform", +- "//icu4c/source/i18n:collation_builder", +- "//icu4c/source/i18n:headers", +- "//icu4c/source/tools/toolutil:collationinfo", +- "//icu4c/source/tools/toolutil:toolutil", +- "//icu4c/source/tools/toolutil:unewdata", +- "//icu4c/source/tools/toolutil:uoptions", +- "//icu4c/source/tools/toolutil:uparse", +- "//icu4c/source/tools/toolutil:writesrc", +- ], +- # Markus 2021-06-16: +- # The pthread library is not linked in automatically. +- # See https://docs.bazel.build/versions/main/cpp-use-cases.html +- # When pthread is absent, then we get runtime errors instead of compile/link errors. +- # See https://stackoverflow.com/questions/51584960/stdcall-once-throws-stdsystem-error-unknown-error-1 +- # +- # My first genuca build crashed with +- # terminate called after throwing an instance of 'std::system_error' +- # what(): Unknown error -1 +- # +- # Program received signal SIGABRT, Aborted. +- # ... +- # #4 0x00007ffff7e809d1 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #5 0x00007ffff7e80c65 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #6 0x00007ffff7e78458 in std::__throw_system_error(int) () from /lib/x86_64-linux-gnu/libstdc++.so.6 +- # #7 0x0000555555601c75 in std::call_once (__once=..., __f=@0x55555560156c: {void (void)} 0x55555560156c ) +- # at /usr/include/c++/10/mutex:743 +- # #8 0x00005555556017ca in icu_70::umtx_initImplPreInit (uio=...) at icu4c/source/common/umutex.cpp:146 +- # #9 0x0000555555592236 in icu_70::umtx_initOnce (uio=..., fp=0x5555555e0716 , +- # errCode=@0x7fffffffd738: U_ZERO_ERROR) at icu4c/source/common/umutex.h:143 +- linkopts = ["-pthread"], +-) +diff --git a/vendor/double-conversion/upstream/BUILD b/vendor/double-conversion/upstream/BUILD +deleted file mode 100644 +index 8c2eee564be..00000000000 +--- a/vendor/double-conversion/upstream/BUILD ++++ /dev/null +@@ -1,78 +0,0 @@ +-# Bazel(http://bazel.io) BUILD file +- +-load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") +- +-licenses(["notice"]) +- +-exports_files(["LICENSE"]) +- +-cc_library( +- name = "double-conversion", +- srcs = [ +- "double-conversion/bignum.cc", +- "double-conversion/bignum-dtoa.cc", +- "double-conversion/cached-powers.cc", +- "double-conversion/double-to-string.cc", +- "double-conversion/fast-dtoa.cc", +- "double-conversion/fixed-dtoa.cc", +- "double-conversion/string-to-double.cc", +- "double-conversion/strtod.cc", +- ], +- hdrs = [ +- "double-conversion/bignum.h", +- "double-conversion/bignum-dtoa.h", +- "double-conversion/cached-powers.h", +- "double-conversion/diy-fp.h", +- "double-conversion/double-conversion.h", +- "double-conversion/double-to-string.h", +- "double-conversion/fast-dtoa.h", +- "double-conversion/fixed-dtoa.h", +- "double-conversion/ieee.h", +- "double-conversion/string-to-double.h", +- "double-conversion/strtod.h", +- "double-conversion/utils.h", +- ], +- linkopts = [ +- "-lm", +- ], +- visibility = ["//visibility:public"], +-) +- +-cc_test( +- name = "cctest", +- srcs = [ +- "test/cctest/cctest.cc", +- "test/cctest/cctest.h", +- "test/cctest/checks.h", +- "test/cctest/gay-fixed.cc", +- "test/cctest/gay-fixed.h", +- "test/cctest/gay-precision.cc", +- "test/cctest/gay-precision.h", +- "test/cctest/gay-shortest.cc", +- "test/cctest/gay-shortest.h", +- "test/cctest/gay-shortest-single.cc", +- "test/cctest/gay-shortest-single.h", +- "test/cctest/test-bignum.cc", +- "test/cctest/test-bignum-dtoa.cc", +- "test/cctest/test-conversions.cc", +- "test/cctest/test-diy-fp.cc", +- "test/cctest/test-dtoa.cc", +- "test/cctest/test-fast-dtoa.cc", +- "test/cctest/test-fixed-dtoa.cc", +- "test/cctest/test-ieee.cc", +- "test/cctest/test-strtod.cc", +- ], +- args = [ +- "test-bignum", +- "test-bignum-dtoa", +- "test-conversions", +- "test-diy-fp", +- "test-dtoa", +- "test-fast-dtoa", +- "test-fixed-dtoa", +- "test-ieee", +- "test-strtod", +- ], +- visibility = ["//visibility:public"], +- deps = [":double-conversion"], +-) +-- +2.45.2.627.g7a2c4fd464-goog + diff --git a/third_party/icu_74/BUILD.bazel b/third_party/icu_74/BUILD.bazel new file mode 100644 index 0000000..e69de29 diff --git a/third_party/icu_74/icu.BUILD.bazel b/third_party/icu_74/icu.BUILD.bazel new file mode 100644 index 0000000..b4a36b4 --- /dev/null +++ b/third_party/icu_74/icu.BUILD.bazel @@ -0,0 +1,71 @@ +load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make") + +licenses(["notice"]) # Apache v2.0 + +# We need to label this for configure_make. +filegroup( + name = "all", + srcs = glob([ + # This will *not* glob any files beneath any BUILD.bazel files found + # when globbing. + "icu4c/**", + ]), +) + +_CFLAGS = "-fPIC" +_CXXFLAGS = _CFLAGS + +configure_make( + name = "icu", + configure_command = "source/configure", + env = select({ + "@platforms//os:macos": { + "AR": "", + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + "//conditions:default": { + "CXXFLAGS": _CXXFLAGS, + "CFLAGS": _CFLAGS, + }, + }), + configure_options = [ + "--enable-static", + "--with-data-packaging=archive", + ], + lib_source = "//:all", + out_static_libs = [ + "libicui18n.a", + "libicuio.a", + "libicuuc.a", + "libicudata.a", + ], + out_shared_libs = [ + "libicui18n.so", + "libicuio.so", + "libicuuc.so", + "libicudata.so", + ], + out_data_dirs = [ + "share", + ], + targets = ["-j", "install"], + visibility = [ + "//visibility:public", + ], +) + +exports_files([ + "icu4c/LICENSE", +]) + +filegroup( + name = "icudtl", + output_group = "gen_dir", + srcs = [ + "share/icu/74.2/icudt74l.dat", + ], + visibility = [ + "//visibility:public", + ], +)