mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
752d7d3459
- Allow specifying prefix and strip_prefix arguments for proto files. The proto directory tree is built as specified in the out directory. - Only invoke protoc from the default toolchain. This prevents duplicate protoc invocations. - Prevent duplicate pw_proto_library Python package definitions anywhere in the build. - Replace implicit handling of standalone external protos with a python_package_as_module option. Change-Id: Id37d8b4d83294f7d3142a389e74ceea96dd4d620 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/34640 Reviewed-by: Alexei Frolov <frolv@google.com>
25 lines
750 B
Protocol Buffer
25 lines
750 B
Protocol Buffer
// Copyright 2020 The Pigweed Authors
|
|
//
|
|
// 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
|
|
//
|
|
// https://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.
|
|
syntax = "proto3";
|
|
|
|
package pw.rpc;
|
|
|
|
service EchoService {
|
|
rpc Echo(EchoMessage) returns (EchoMessage) {}
|
|
}
|
|
|
|
message EchoMessage {
|
|
string msg = 1;
|
|
}
|