Fix bazel build (#989)

This commit is contained in:
Eugene Kliuchnikov 2022-12-20 12:25:26 +01:00 committed by GitHub
parent 9b53703237
commit c48ebca4a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 10 deletions

View File

@ -37,17 +37,12 @@ cc_library(
# <<< JNI headers
genrule(
name = "license_resource",
name = "license",
srcs = ["@org_brotli//:LICENSE"],
outs = ["META-INF/LICENSE"],
cmd = "cp -f $< $@",
)
java_library(
name = "license",
resources = [":license_resource"],
)
########################################################
# WARNING: do not (transitively) depend on this target!
########################################################

View File

@ -22,7 +22,7 @@ java_library(
],
),
proguard_specs = ["proguard.pgcfg"],
resource_jars = ["//:license"],
resources = ["//:license"],
)
brotli_java_test(

View File

@ -18,7 +18,7 @@ java_library(
["*.java"],
exclude = ["*Test*.java"],
),
resource_jars = ["//:license"],
resources = ["//:license"],
)
java_library(

View File

@ -18,7 +18,7 @@ java_library(
["*.java"],
exclude = ["*Test*.java"],
),
resource_jars = ["//:license"],
resources = ["//:license"],
)
java_library(

View File

@ -22,7 +22,7 @@ java_library(
"//org/brotli/common:shared_dictionary",
"//org/brotli/enc:prepared_dictionary",
],
resource_jars = ["//:license"],
resources = ["//:license"],
)
java_library(