Protobuild.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. version = "1"
  2. generator = "gogoctrd"
  3. plugins = ["grpc", "fieldpath"]
  4. # Control protoc include paths. Below are usually some good defaults, but feel
  5. # free to try it without them if it works for your project.
  6. [includes]
  7. # Include paths that will be added before all others. Typically, you want to
  8. # treat the root of the project as an include, but this may not be necessary.
  9. before = ["./protobuf"]
  10. # defaults are "/usr/local/include" and "/usr/include", which don't exist on Windows.
  11. # override defaults to supress errors about non-existant directories.
  12. after = []
  13. # Paths that should be treated as include roots in relation to the vendor
  14. # directory. These will be calculated with the vendor directory nearest the
  15. # target package.
  16. packages = ["github.com/gogo/protobuf"]
  17. # This section maps protobuf imports to Go packages. These will become
  18. # `-M` directives in the call to the go protobuf generator.
  19. [packages]
  20. "gogoproto/gogo.proto" = "github.com/gogo/protobuf/gogoproto"
  21. "google/protobuf/any.proto" = "github.com/gogo/protobuf/types"
  22. "google/protobuf/empty.proto" = "github.com/gogo/protobuf/types"
  23. "google/protobuf/struct.proto" = "github.com/gogo/protobuf/types"
  24. "google/protobuf/descriptor.proto" = "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
  25. "google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
  26. "google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
  27. "google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
  28. "github/containerd/cgroups/stats/v1/metrics.proto" = "github.com/containerd/cgroups/stats/v1"
  29. [[overrides]]
  30. prefixes = ["github.com/Microsoft/hcsshim/internal/shimdiag"]
  31. plugins = ["ttrpc"]
  32. [[overrides]]
  33. prefixes = ["github.com/Microsoft/hcsshim/internal/extendedtask"]
  34. plugins = ["ttrpc"]
  35. [[overrides]]
  36. prefixes = ["github.com/Microsoft/hcsshim/internal/computeagent"]
  37. plugins = ["ttrpc"]
  38. [[overrides]]
  39. prefixes = ["github.com/Microsoft/hcsshim/internal/ncproxyttrpc"]
  40. plugins = ["ttrpc"]
  41. [[overrides]]
  42. prefixes = ["github.com/Microsoft/hcsshim/internal/vmservice"]
  43. plugins = ["ttrpc"]