mirror of
https://github.com/google/brotli.git
synced 2024-11-09 13:40:06 +00:00
Update go_library to use standard importpath (#690)
* Update go_library to use standard importpath Instead of using go_prefix, which is deprecated, the importpath attribute is made explicit. * Add description to go/BUILD
This commit is contained in:
parent
eb12ec04eb
commit
ee2a5e1540
5
go/BUILD
5
go/BUILD
@ -1,3 +1,2 @@
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
|
||||
|
||||
go_prefix("github.com/google/brotli")
|
||||
# Description:
|
||||
# cbrotli is a CGo wrapper for Brotli, a generic-purpose lossless compression algorithm.
|
||||
|
@ -2,9 +2,7 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"]) # MIT
|
||||
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_library", "go_test")
|
||||
|
||||
go_prefix("github.com/google/brotli")
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
|
||||
go_library(
|
||||
name = "cbrotli",
|
||||
@ -16,7 +14,8 @@ go_library(
|
||||
"@org_brotli//:brotlidec",
|
||||
"@org_brotli//:brotlienc",
|
||||
],
|
||||
cgo=True,
|
||||
cgo = True,
|
||||
importpath = "github.com/google/brotli/go/cbrotli",
|
||||
)
|
||||
|
||||
go_test(
|
||||
|
Loading…
Reference in New Issue
Block a user