2016-06-16 08:52:57 +00:00
|
|
|
# Description:
|
|
|
|
# Bazel workspace file for Brotli.
|
|
|
|
|
2016-10-17 12:04:59 +00:00
|
|
|
workspace(name = "org_brotli")
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = "junit_junit",
|
|
|
|
artifact = "junit:junit:4.12",
|
|
|
|
)
|
2017-03-22 11:41:19 +00:00
|
|
|
|
2018-05-31 11:21:04 +00:00
|
|
|
http_archive(
|
2017-03-22 11:41:19 +00:00
|
|
|
name = "io_bazel_rules_go",
|
2018-05-31 11:21:04 +00:00
|
|
|
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.0/rules_go-0.12.0.tar.gz"],
|
|
|
|
sha256 = "c1f52b8789218bb1542ed362c4f7de7052abcf254d865d96fb7ba6d44bc15ee3",
|
2017-03-22 11:41:19 +00:00
|
|
|
)
|
|
|
|
|
2017-08-28 09:31:29 +00:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_closure",
|
2018-05-31 11:21:04 +00:00
|
|
|
sha256 = "a80acb69c63d5f6437b099c111480a4493bad4592015af2127a2f49fb7512d8d",
|
|
|
|
strip_prefix = "rules_closure-0.7.0",
|
2017-10-09 15:07:34 +00:00
|
|
|
urls = [
|
2018-05-31 11:21:04 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.7.0.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/rules_closure/archive/0.7.0.tar.gz",
|
2017-10-09 15:07:34 +00:00
|
|
|
],
|
2017-08-28 09:31:29 +00:00
|
|
|
)
|
|
|
|
|
2017-05-29 15:55:14 +00:00
|
|
|
new_http_archive(
|
|
|
|
name = "openjdk_linux",
|
2017-10-11 20:26:37 +00:00
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-linux_x64.tar.gz",
|
|
|
|
"https://bazel-mirror.storage.googleapis.com/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-linux_x64.tar.gz",
|
|
|
|
"https://cdn.azul.com/zulu/bin/zulu8.23.0.3-jdk8.0.144-linux_x64.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "7e6284739c0e5b7142bc7a9adc61ced70dc5bb26b130b582b18e809013bcb251",
|
2017-05-29 15:55:14 +00:00
|
|
|
build_file_content = """
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
filegroup(
|
|
|
|
name = "jni_h",
|
2017-10-11 20:26:37 +00:00
|
|
|
srcs = ["zulu8.23.0.3-jdk8.0.144-linux_x64/include/jni.h"],
|
2017-05-29 15:55:14 +00:00
|
|
|
)
|
|
|
|
filegroup(
|
|
|
|
name = "jni_md_h",
|
2017-10-11 20:26:37 +00:00
|
|
|
srcs = ["zulu8.23.0.3-jdk8.0.144-linux_x64/include/linux/jni_md.h"],
|
2017-05-29 15:55:14 +00:00
|
|
|
)""",
|
|
|
|
)
|
|
|
|
|
|
|
|
new_http_archive(
|
|
|
|
name = "openjdk_macos",
|
2017-10-11 20:26:37 +00:00
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-macosx_x64.zip",
|
|
|
|
"https://bazel-mirror.storage.googleapis.com/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-macosx_x64.zip",
|
|
|
|
"https://cdn.azul.com/zulu/bin/zulu8.23.0.3-jdk8.0.144-macosx_x64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "ff533364c9cbd3b271ab5328efe28e2dd6d7bae5b630098a5683f742ecf0709d",
|
|
|
|
build_file_content = """
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
filegroup(
|
|
|
|
name = "jni_md_h",
|
|
|
|
srcs = ["zulu8.23.0.3-jdk8.0.144-macosx_x64/include/darwin/jni_md.h"],
|
|
|
|
)""",
|
|
|
|
)
|
|
|
|
|
|
|
|
new_http_archive(
|
|
|
|
name = "openjdk_win",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-win_x64.zip",
|
|
|
|
"https://bazel-mirror.storage.googleapis.com/openjdk/azul-zulu-8.23.0.3-jdk8.0.144/zulu8.23.0.3-jdk8.0.144-win_x64.zip",
|
|
|
|
"https://cdn.azul.com/zulu/bin/zulu8.23.0.3-jdk8.0.144-win_x64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "f1d9d3341ef7c8c9baff3597953e99a6a7c64f8608ee62c03fdd7574b7655c02",
|
2017-05-29 15:55:14 +00:00
|
|
|
build_file_content = """
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
filegroup(
|
|
|
|
name = "jni_md_h",
|
2017-10-11 20:26:37 +00:00
|
|
|
srcs = ["zulu8.23.0.3-jdk8.0.144-win_x64/include/win32/jni_md.h"],
|
2017-05-29 15:55:14 +00:00
|
|
|
)""",
|
|
|
|
)
|
|
|
|
|
2018-02-26 14:04:36 +00:00
|
|
|
new_local_repository(
|
|
|
|
name = "divsufsort",
|
|
|
|
build_file = "//research:BUILD.libdivsufsort",
|
|
|
|
path = "research/libdivsufsort",
|
|
|
|
)
|
|
|
|
|
2017-08-28 09:31:29 +00:00
|
|
|
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
|
|
|
|
closure_repositories()
|
2018-02-08 13:38:10 +00:00
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains()
|