mirror of
https://github.com/google/brotli.git
synced 2024-12-29 11:11:09 +00:00
Update golang and JS Bazel plugins to latest stable versions. (#676)
This commit is contained in:
parent
f9b8c02673
commit
29dc2cce90
14
WORKSPACE
14
WORKSPACE
@ -8,19 +8,19 @@ maven_jar(
|
||||
artifact = "junit:junit:4.12",
|
||||
)
|
||||
|
||||
git_repository(
|
||||
http_archive(
|
||||
name = "io_bazel_rules_go",
|
||||
remote = "https://github.com/bazelbuild/rules_go.git",
|
||||
tag = "0.9.0",
|
||||
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.0/rules_go-0.12.0.tar.gz"],
|
||||
sha256 = "c1f52b8789218bb1542ed362c4f7de7052abcf254d865d96fb7ba6d44bc15ee3",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_closure",
|
||||
sha256 = "6691c58a2cd30a86776dd9bb34898b041e37136f2dc7e24cadaeaf599c95c657",
|
||||
strip_prefix = "rules_closure-08039ba8ca59f64248bb3b6ae016460fe9c9914f",
|
||||
sha256 = "a80acb69c63d5f6437b099c111480a4493bad4592015af2127a2f49fb7512d8d",
|
||||
strip_prefix = "rules_closure-0.7.0",
|
||||
urls = [
|
||||
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz",
|
||||
"https://github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz", # 2018-01-16
|
||||
"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",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -2,11 +2,11 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"]) # MIT
|
||||
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "cgo_library", "go_test")
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_library", "go_test")
|
||||
|
||||
go_prefix("github.com/google/brotli")
|
||||
|
||||
cgo_library(
|
||||
go_library(
|
||||
name = "cbrotli",
|
||||
srcs = [
|
||||
"reader.go",
|
||||
@ -16,11 +16,12 @@ cgo_library(
|
||||
"//:brotlidec",
|
||||
"//:brotlienc",
|
||||
],
|
||||
cgo=True,
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "cbrotli_test",
|
||||
size = "small",
|
||||
srcs = ["cbrotli_test.go"],
|
||||
library = ":cbrotli",
|
||||
embed = [":cbrotli"],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user