| 1 | // Copyright 2022 Google LLC |
| 2 | // |
| 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | |
| 6 | package interfacesscip-go gomod go.skia.org/skia . `go.skia.org/skia/bazel/exporter/interfaces`/ |
| 7 | |
| 8 | import "ioscip-go gomod github.com/golang/go/src go1.24.2 io/" |
| 9 | |
| 10 | // Writer is an interface that groups io.StringWriter and io.Writer to |
| 11 | // enable simpler writing of the exported Bazel output text. |
| 12 | type Writerscip-go gomod go.skia.org/skia . `go.skia.org/skia/bazel/exporter/interfaces`/Writer# interface { |
| 13 | ioscip-go gomod github.com/golang/go/src go1.24.2 io/.StringWriterscip-go gomod github.com/golang/go/src go1.24.2 io/StringWriter# |
| 14 | ioscip-go gomod github.com/golang/go/src go1.24.2 io/.Writerscip-go gomod github.com/golang/go/src go1.24.2 io/Writer# |
| 15 | } |
| 16 | |
| 17 | // Exporter defines an interface for exporting the Bazel workspace |
| 18 | // rules to a different project format. |
| 19 | type Exporterscip-go gomod go.skia.org/skia . `go.skia.org/skia/bazel/exporter/interfaces`/Exporter# interface { |
| 20 | // Export will write the converted Bazel cquery response data to |
| 21 | // a new project format. |
| 22 | Exportscip-go gomod go.skia.org/skia . `go.skia.org/skia/bazel/exporter/interfaces`/Exporter#Export.(qcmd QueryCommandscip-go gomod go.skia.org/skia . `go.skia.org/skia/bazel/exporter/interfaces`/QueryCommand#) error |
| 23 | } |