aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-10-21 19:47:17 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-10-25 15:40:49 +0200
commit8b121c0666450f5ce790b56bf9bb672c79d8b925 (patch)
tree6417533edc7e4c8d707b27a6d4b64d888dfd5d4b /pkg
parentc8823b7eb4f2349bc37d14741fbfe734648fce02 (diff)
pkg/tools: add empty.go
Add empty.go to unbreak bazel+glaze build. Otherwise the package does not have any files not excluded by build constraints.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tools/empty.go6
-rw-r--r--pkg/tools/tools.go1
2 files changed, 7 insertions, 0 deletions
diff --git a/pkg/tools/empty.go b/pkg/tools/empty.go
new file mode 100644
index 000000000..d5b3488ec
--- /dev/null
+++ b/pkg/tools/empty.go
@@ -0,0 +1,6 @@
+// Copyright 2021 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package tools
+
+// Empty file to unbreak bazel+glaze build (tools.go is excluded by build constraints).
diff --git a/pkg/tools/tools.go b/pkg/tools/tools.go
index 630a66907..da65663e1 100644
--- a/pkg/tools/tools.go
+++ b/pkg/tools/tools.go
@@ -1,6 +1,7 @@
// Copyright 2020 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+//go:build tools
// +build tools
// tools is not a normal package, it's only purpose is tools dependency management.