forked from jack0/bimg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
48 lines (45 loc) · 1.01 KB
/
BUILD
File metadata and controls
48 lines (45 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/example/project
gazelle(name = "gazelle")
go_library(
name = "go_default_library",
srcs = [
"file.go",
"image.go",
"metadata.go",
"options.go",
"resize.go",
"resize_legacy.go",
"resizer.go",
"type.go",
"version.go",
"vips.go",
"vips.h",
],
cgo = True,
copts = [
"-I/usr/include/glib-2.0",
],
clinkopts = [
"-L/usr/local/lib",
"-lvips",
"-lgobject-2.0",
"-lglib-2.0",
],
importpath = "github.com/example/project",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = [
"file_test.go",
"image_test.go",
"metadata_test.go",
"resizer_test.go",
"type_test.go",
"vips_test.go",
],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
)