blob: d6964ae72c15f22b2a4968e85c9fb3d37b01c115 [file] [log] [blame]
// Copyright 2017 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Package proto is top directory for proto packages.
//
// Standard goma APIs
//
// api: package api defines data used on goma APIs.
// exec: package exec defines exec_service (/cxx-compiler-service/{e,me})
// file: package file defines file_service (/cxx-compiler-service/{l,s})
// execlog: package execlog defines log_service (/cxx-compiler-service/sl)
//
// New (internal) APIs
//
// cache: package cache defines cache_service, backend of exec_service,
// file_service etc.
//
// command: package command defines data and service to run command in
// isolated environment.
//
package proto
//go:generate ./gen_protoc-gen-go
//go:generate ./copy_google_protobuf.sh
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative api/goma_data.proto api/goma_log.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative exec/exec_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative file/file_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative execlog/log_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative cache/cache.proto cache/cache_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative command/command.proto command/command_service.proto command/setup.proto command/package_opts.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative auth/auth.proto auth/acl.proto auth/auth_service.proto auth/authdb.proto auth/authdb_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative backend/backend.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative settings/settings.proto settings/settings_service.proto
//go:generate protoc -I. --go_out=plugins=grpc:. --go_opt=paths=source_relative nsjail/config.proto