-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathBUILD
70 lines (67 loc) · 1.79 KB
/
BUILD
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
load("@gazelle//:def.bzl", "gazelle")
load("@rules_go//go:def.bzl", "go_binary", "go_library")
gazelle(name = "gazelle")
go_library(
name = "aws-in-a-box_lib",
srcs = [
"main.go",
"main_unix.go",
"main_windows.go",
"version.go",
],
importpath = "aws-in-a-box",
visibility = ["//visibility:private"],
x_defs = {
"aws-in-a-box.BazelSuffix": " (Bazel)",
},
deps = [
"//arn",
"//http",
"//server",
"//services/dynamodb",
"//services/kinesis",
"//services/kms",
"//services/s3",
"//services/sqs",
] + select({
"@rules_go//go/platform:aix": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:android": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:darwin": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:dragonfly": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:freebsd": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:illumos": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:ios": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:linux": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:netbsd": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:openbsd": [
"@org_golang_x_sys//unix",
],
"@rules_go//go/platform:solaris": [
"@org_golang_x_sys//unix",
],
"//conditions:default": [],
}),
)
go_binary(
name = "aws-in-a-box",
embed = [":aws-in-a-box_lib"],
visibility = ["//visibility:public"],
)