build: add fietsje config and alias for Delve debugger
Test Plan: Debugged a running process using `bazel run :dlv`.
X-Origin-Diff: phab/D550
GitOrigin-RevId: 3bea727afc0cc275fac19238067d871c42beef19
diff --git a/build/fietsje/deps_delve.go b/build/fietsje/deps_delve.go
new file mode 100644
index 0000000..747f3e2
--- /dev/null
+++ b/build/fietsje/deps_delve.go
@@ -0,0 +1,27 @@
+// Copyright 2020 The Monogon Project Authors.
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package main
+
+func depsDelve(p *planner) {
+ p.collect("github.com/go-delve/delve", "v1.4.1").use(
+ "github.com/google/go-dap",
+ "github.com/peterh/liner",
+ "github.com/cosiner/argv",
+ "golang.org/x/arch",
+ "go.starlark.net",
+ )
+}