2018-06-04 15:53:16 +00:00
|
|
|
workspace(name = "org_brotli_java")
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "org_brotli",
|
|
|
|
path = "..",
|
|
|
|
)
|
|
|
|
|
|
|
|
maven_jar(
|
|
|
|
name = "junit_junit",
|
|
|
|
artifact = "junit:junit:4.12",
|
|
|
|
)
|
|
|
|
|
2018-10-18 15:25:05 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
|
2018-06-04 15:53:16 +00:00
|
|
|
|
2018-10-18 15:25:05 +00:00
|
|
|
http_file(
|
|
|
|
name = "openjdk_jni_h",
|
|
|
|
downloaded_file_path = "jni.h",
|
|
|
|
urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/share/javavm/export/jni.h"],
|
|
|
|
sha256 = "ed99792df48670072b78028faf704a8dcb6868fe140ccc7eced9b01dfa62fef4",
|
2018-06-04 15:53:16 +00:00
|
|
|
)
|
2018-10-18 15:25:05 +00:00
|
|
|
|
|
|
|
http_file(
|
|
|
|
name = "openjdk_solaris_jni_md_h",
|
|
|
|
downloaded_file_path = "jni_md.h",
|
|
|
|
urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/solaris/javavm/export/jni_md.h"],
|
|
|
|
sha256 = "ecbe6944fe1a4290644d5a6b3c8f68576798a53b9da12cd31c58c48569595ff7",
|
2018-06-04 15:53:16 +00:00
|
|
|
)
|
|
|
|
|
2018-10-18 15:25:05 +00:00
|
|
|
http_file(
|
|
|
|
name = "openjdk_macosx_jni_md_h",
|
|
|
|
downloaded_file_path = "jni_md.h",
|
|
|
|
urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/macosx/javavm/export/jni_md.h"],
|
|
|
|
sha256 = "8f718071022e7e7f2fc9a229984b7e83582db91ed83861b49ce1461436fe8dc4",
|
2018-06-04 15:53:16 +00:00
|
|
|
)
|
2018-10-18 15:25:05 +00:00
|
|
|
|
|
|
|
http_file(
|
|
|
|
name = "openjdk_windows_jni_md_h",
|
|
|
|
downloaded_file_path = "jni_md.h",
|
|
|
|
urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/windows/javavm/export/jni_md.h"],
|
|
|
|
sha256 = "5479fb385ea1e11619f5c0cdfd9ccb3ea3a3fea0f5bc6176fb3ce62be29d759b",
|
2018-06-04 15:53:16 +00:00
|
|
|
)
|