1workspace(name = "org_brotli_java")
2
3local_repository(
4    name = "org_brotli",
5    path = "..",
6)
7
8maven_jar(
9    name = "junit_junit",
10    artifact = "junit:junit:4.12",
11)
12
13load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
14
15http_file(
16    name = "openjdk_jni_h",
17    downloaded_file_path = "jni.h",
18    urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/share/javavm/export/jni.h"],
19    sha256 = "ed99792df48670072b78028faf704a8dcb6868fe140ccc7eced9b01dfa62fef4",
20)
21
22http_file(
23    name = "openjdk_solaris_jni_md_h",
24    downloaded_file_path = "jni_md.h",
25    urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/solaris/javavm/export/jni_md.h"],
26    sha256 = "ecbe6944fe1a4290644d5a6b3c8f68576798a53b9da12cd31c58c48569595ff7",
27)
28
29http_file(
30    name = "openjdk_macosx_jni_md_h",
31    downloaded_file_path = "jni_md.h",
32    urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/macosx/javavm/export/jni_md.h"],
33    sha256 = "8f718071022e7e7f2fc9a229984b7e83582db91ed83861b49ce1461436fe8dc4",
34)
35
36http_file(
37    name = "openjdk_windows_jni_md_h",
38    downloaded_file_path = "jni_md.h",
39    urls = ["https://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/windows/javavm/export/jni_md.h"],
40    sha256 = "5479fb385ea1e11619f5c0cdfd9ccb3ea3a3fea0f5bc6176fb3ce62be29d759b",
41)
42