2019-04-22 02:59:20 +00:00

31 lines
670 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"converter.go",
"filters.go",
"nearest.go",
"resize.go",
"thumbnail.go",
"ycc.go",
],
importmap = "go-common/vendor/github.com/nfnt/resize",
importpath = "github.com/nfnt/resize",
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)