mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Fix bazel build (#989)
This commit is contained in:
parent
9b53703237
commit
c48ebca4a8
@ -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!
|
||||
########################################################
|
||||
|
@ -22,7 +22,7 @@ java_library(
|
||||
],
|
||||
),
|
||||
proguard_specs = ["proguard.pgcfg"],
|
||||
resource_jars = ["//:license"],
|
||||
resources = ["//:license"],
|
||||
)
|
||||
|
||||
brotli_java_test(
|
||||
|
@ -18,7 +18,7 @@ java_library(
|
||||
["*.java"],
|
||||
exclude = ["*Test*.java"],
|
||||
),
|
||||
resource_jars = ["//:license"],
|
||||
resources = ["//:license"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
|
@ -18,7 +18,7 @@ java_library(
|
||||
["*.java"],
|
||||
exclude = ["*Test*.java"],
|
||||
),
|
||||
resource_jars = ["//:license"],
|
||||
resources = ["//:license"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
|
@ -22,7 +22,7 @@ java_library(
|
||||
"//org/brotli/common:shared_dictionary",
|
||||
"//org/brotli/enc:prepared_dictionary",
|
||||
],
|
||||
resource_jars = ["//:license"],
|
||||
resources = ["//:license"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
|
Loading…
Reference in New Issue
Block a user