parent
3808b6efe6
commit
169c985f67
26 changed files with 643 additions and 7465 deletions
@ -1,186 +0,0 @@ |
|||||||
/*
|
|
||||||
* |
|
||||||
* Copyright 2015, Google Inc. |
|
||||||
* All rights reserved. |
|
||||||
* |
|
||||||
* Redistribution and use in source and binary forms, with or without |
|
||||||
* modification, are permitted provided that the following conditions are |
|
||||||
* met: |
|
||||||
* |
|
||||||
* * Redistributions of source code must retain the above copyright |
|
||||||
* notice, this list of conditions and the following disclaimer. |
|
||||||
* * Redistributions in binary form must reproduce the above |
|
||||||
* copyright notice, this list of conditions and the following disclaimer |
|
||||||
* in the documentation and/or other materials provided with the |
|
||||||
* distribution. |
|
||||||
* * Neither the name of Google Inc. nor the names of its |
|
||||||
* contributors may be used to endorse or promote products derived from |
|
||||||
* this software without specific prior written permission. |
|
||||||
* |
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
* |
|
||||||
*/ |
|
||||||
|
|
||||||
|
|
||||||
// Generated by tools/codegen/extensions/gen_reflection_proto.sh
|
|
||||||
// If you make any local change, they will be lost.
|
|
||||||
// source: reflection.proto
|
|
||||||
// Original file comments:
|
|
||||||
// Copyright 2016, Google Inc.
|
|
||||||
// All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without
|
|
||||||
// modification, are permitted provided that the following conditions are
|
|
||||||
// met:
|
|
||||||
//
|
|
||||||
// * Redistributions of source code must retain the above copyright
|
|
||||||
// notice, this list of conditions and the following disclaimer.
|
|
||||||
// * Redistributions in binary form must reproduce the above
|
|
||||||
// copyright notice, this list of conditions and the following disclaimer
|
|
||||||
// in the documentation and/or other materials provided with the
|
|
||||||
// distribution.
|
|
||||||
// * Neither the name of Google Inc. nor the names of its
|
|
||||||
// contributors may be used to endorse or promote products derived from
|
|
||||||
// this software without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Service exported by server reflection
|
|
||||||
//
|
|
||||||
#ifndef GRPC_reflection_2eproto__INCLUDED |
|
||||||
#define GRPC_reflection_2eproto__INCLUDED |
|
||||||
|
|
||||||
#include <grpc++/ext/reflection.pb.h> |
|
||||||
|
|
||||||
#include <grpc++/impl/codegen/async_stream.h> |
|
||||||
#include <grpc++/impl/codegen/async_unary_call.h> |
|
||||||
#include <grpc++/impl/codegen/method_handler_impl.h> |
|
||||||
#include <grpc++/impl/codegen/proto_utils.h> |
|
||||||
#include <grpc++/impl/codegen/rpc_method.h> |
|
||||||
#include <grpc++/impl/codegen/service_type.h> |
|
||||||
#include <grpc++/impl/codegen/status.h> |
|
||||||
#include <grpc++/impl/codegen/stub_options.h> |
|
||||||
#include <grpc++/impl/codegen/sync_stream.h> |
|
||||||
|
|
||||||
namespace grpc { |
|
||||||
class CompletionQueue; |
|
||||||
class Channel; |
|
||||||
class RpcService; |
|
||||||
class ServerCompletionQueue; |
|
||||||
class ServerContext; |
|
||||||
} // namespace grpc
|
|
||||||
|
|
||||||
namespace grpc { |
|
||||||
namespace reflection { |
|
||||||
namespace v1alpha { |
|
||||||
|
|
||||||
class ServerReflection GRPC_FINAL { |
|
||||||
public: |
|
||||||
class StubInterface { |
|
||||||
public: |
|
||||||
virtual ~StubInterface() {} |
|
||||||
// The reflection service is structured as a bidirectional stream, ensuring
|
|
||||||
// all related requests go to a single server.
|
|
||||||
std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>> ServerReflectionInfo(::grpc::ClientContext* context) { |
|
||||||
return std::unique_ptr< ::grpc::ClientReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>>(ServerReflectionInfoRaw(context)); |
|
||||||
} |
|
||||||
std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>> AsyncServerReflectionInfo(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { |
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>>(AsyncServerReflectionInfoRaw(context, cq, tag)); |
|
||||||
} |
|
||||||
private: |
|
||||||
virtual ::grpc::ClientReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* ServerReflectionInfoRaw(::grpc::ClientContext* context) = 0; |
|
||||||
virtual ::grpc::ClientAsyncReaderWriterInterface< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* AsyncServerReflectionInfoRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) = 0; |
|
||||||
}; |
|
||||||
class Stub GRPC_FINAL : public StubInterface { |
|
||||||
public: |
|
||||||
Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); |
|
||||||
std::unique_ptr< ::grpc::ClientReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>> ServerReflectionInfo(::grpc::ClientContext* context) { |
|
||||||
return std::unique_ptr< ::grpc::ClientReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>>(ServerReflectionInfoRaw(context)); |
|
||||||
} |
|
||||||
std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>> AsyncServerReflectionInfo(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { |
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>>(AsyncServerReflectionInfoRaw(context, cq, tag)); |
|
||||||
} |
|
||||||
|
|
||||||
private: |
|
||||||
std::shared_ptr< ::grpc::ChannelInterface> channel_; |
|
||||||
::grpc::ClientReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* ServerReflectionInfoRaw(::grpc::ClientContext* context) GRPC_OVERRIDE; |
|
||||||
::grpc::ClientAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* AsyncServerReflectionInfoRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) GRPC_OVERRIDE; |
|
||||||
const ::grpc::RpcMethod rpcmethod_ServerReflectionInfo_; |
|
||||||
}; |
|
||||||
static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); |
|
||||||
|
|
||||||
class Service : public ::grpc::Service { |
|
||||||
public: |
|
||||||
Service(); |
|
||||||
virtual ~Service(); |
|
||||||
// The reflection service is structured as a bidirectional stream, ensuring
|
|
||||||
// all related requests go to a single server.
|
|
||||||
virtual ::grpc::Status ServerReflectionInfo(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionResponse, ::grpc::reflection::v1alpha::ServerReflectionRequest>* stream); |
|
||||||
}; |
|
||||||
template <class BaseClass> |
|
||||||
class WithAsyncMethod_ServerReflectionInfo : public BaseClass { |
|
||||||
private: |
|
||||||
void BaseClassMustBeDerivedFromService(const Service *service) {} |
|
||||||
public: |
|
||||||
WithAsyncMethod_ServerReflectionInfo() { |
|
||||||
::grpc::Service::MarkMethodAsync(0); |
|
||||||
} |
|
||||||
~WithAsyncMethod_ServerReflectionInfo() GRPC_OVERRIDE { |
|
||||||
BaseClassMustBeDerivedFromService(this); |
|
||||||
} |
|
||||||
// disable synchronous version of this method
|
|
||||||
::grpc::Status ServerReflectionInfo(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionResponse, ::grpc::reflection::v1alpha::ServerReflectionRequest>* stream) GRPC_FINAL GRPC_OVERRIDE { |
|
||||||
abort(); |
|
||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); |
|
||||||
} |
|
||||||
void RequestServerReflectionInfo(::grpc::ServerContext* context, ::grpc::ServerAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionResponse, ::grpc::reflection::v1alpha::ServerReflectionRequest>* stream, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { |
|
||||||
::grpc::Service::RequestAsyncBidiStreaming(0, context, stream, new_call_cq, notification_cq, tag); |
|
||||||
} |
|
||||||
}; |
|
||||||
typedef WithAsyncMethod_ServerReflectionInfo<Service > AsyncService; |
|
||||||
template <class BaseClass> |
|
||||||
class WithGenericMethod_ServerReflectionInfo : public BaseClass { |
|
||||||
private: |
|
||||||
void BaseClassMustBeDerivedFromService(const Service *service) {} |
|
||||||
public: |
|
||||||
WithGenericMethod_ServerReflectionInfo() { |
|
||||||
::grpc::Service::MarkMethodGeneric(0); |
|
||||||
} |
|
||||||
~WithGenericMethod_ServerReflectionInfo() GRPC_OVERRIDE { |
|
||||||
BaseClassMustBeDerivedFromService(this); |
|
||||||
} |
|
||||||
// disable synchronous version of this method
|
|
||||||
::grpc::Status ServerReflectionInfo(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionResponse, ::grpc::reflection::v1alpha::ServerReflectionRequest>* stream) GRPC_FINAL GRPC_OVERRIDE { |
|
||||||
abort(); |
|
||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); |
|
||||||
} |
|
||||||
}; |
|
||||||
typedef Service StreamedUnaryService; |
|
||||||
}; |
|
||||||
|
|
||||||
} // namespace v1alpha
|
|
||||||
} // namespace reflection
|
|
||||||
} // namespace grpc
|
|
||||||
|
|
||||||
|
|
||||||
#endif // GRPC_reflection_2eproto__INCLUDED
|
|
File diff suppressed because it is too large
Load Diff
@ -1,97 +0,0 @@ |
|||||||
/*
|
|
||||||
* |
|
||||||
* Copyright 2015, Google Inc. |
|
||||||
* All rights reserved. |
|
||||||
* |
|
||||||
* Redistribution and use in source and binary forms, with or without |
|
||||||
* modification, are permitted provided that the following conditions are |
|
||||||
* met: |
|
||||||
* |
|
||||||
* * Redistributions of source code must retain the above copyright |
|
||||||
* notice, this list of conditions and the following disclaimer. |
|
||||||
* * Redistributions in binary form must reproduce the above |
|
||||||
* copyright notice, this list of conditions and the following disclaimer |
|
||||||
* in the documentation and/or other materials provided with the |
|
||||||
* distribution. |
|
||||||
* * Neither the name of Google Inc. nor the names of its |
|
||||||
* contributors may be used to endorse or promote products derived from |
|
||||||
* this software without specific prior written permission. |
|
||||||
* |
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
* |
|
||||||
*/ |
|
||||||
|
|
||||||
|
|
||||||
// Generated by tools/codegen/extensions/gen_reflection_proto.sh
|
|
||||||
// If you make any local change, they will be lost.
|
|
||||||
// source: reflection.proto
|
|
||||||
|
|
||||||
#include <grpc++/ext/reflection.pb.h> |
|
||||||
#include <grpc++/ext/reflection.grpc.pb.h> |
|
||||||
|
|
||||||
#include <grpc++/impl/codegen/async_stream.h> |
|
||||||
#include <grpc++/impl/codegen/async_unary_call.h> |
|
||||||
#include <grpc++/impl/codegen/channel_interface.h> |
|
||||||
#include <grpc++/impl/codegen/client_unary_call.h> |
|
||||||
#include <grpc++/impl/codegen/method_handler_impl.h> |
|
||||||
#include <grpc++/impl/codegen/rpc_service_method.h> |
|
||||||
#include <grpc++/impl/codegen/service_type.h> |
|
||||||
#include <grpc++/impl/codegen/sync_stream.h> |
|
||||||
namespace grpc { |
|
||||||
namespace reflection { |
|
||||||
namespace v1alpha { |
|
||||||
|
|
||||||
static const char* ServerReflection_method_names[] = { |
|
||||||
"/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo", |
|
||||||
}; |
|
||||||
|
|
||||||
std::unique_ptr< ServerReflection::Stub> ServerReflection::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { |
|
||||||
std::unique_ptr< ServerReflection::Stub> stub(new ServerReflection::Stub(channel)); |
|
||||||
return stub; |
|
||||||
} |
|
||||||
|
|
||||||
ServerReflection::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) |
|
||||||
: channel_(channel), rpcmethod_ServerReflectionInfo_(ServerReflection_method_names[0], ::grpc::RpcMethod::BIDI_STREAMING, channel) |
|
||||||
{} |
|
||||||
|
|
||||||
::grpc::ClientReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* ServerReflection::Stub::ServerReflectionInfoRaw(::grpc::ClientContext* context) { |
|
||||||
return new ::grpc::ClientReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>(channel_.get(), rpcmethod_ServerReflectionInfo_, context); |
|
||||||
} |
|
||||||
|
|
||||||
::grpc::ClientAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>* ServerReflection::Stub::AsyncServerReflectionInfoRaw(::grpc::ClientContext* context, ::grpc::CompletionQueue* cq, void* tag) { |
|
||||||
return new ::grpc::ClientAsyncReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>(channel_.get(), cq, rpcmethod_ServerReflectionInfo_, context, tag); |
|
||||||
} |
|
||||||
|
|
||||||
ServerReflection::Service::Service() { |
|
||||||
(void)ServerReflection_method_names; |
|
||||||
AddMethod(new ::grpc::RpcServiceMethod( |
|
||||||
ServerReflection_method_names[0], |
|
||||||
::grpc::RpcMethod::BIDI_STREAMING, |
|
||||||
new ::grpc::BidiStreamingHandler< ServerReflection::Service, ::grpc::reflection::v1alpha::ServerReflectionRequest, ::grpc::reflection::v1alpha::ServerReflectionResponse>( |
|
||||||
std::mem_fn(&ServerReflection::Service::ServerReflectionInfo), this))); |
|
||||||
} |
|
||||||
|
|
||||||
ServerReflection::Service::~Service() { |
|
||||||
} |
|
||||||
|
|
||||||
::grpc::Status ServerReflection::Service::ServerReflectionInfo(::grpc::ServerContext* context, ::grpc::ServerReaderWriter< ::grpc::reflection::v1alpha::ServerReflectionResponse, ::grpc::reflection::v1alpha::ServerReflectionRequest>* stream) { |
|
||||||
(void) context; |
|
||||||
(void) stream; |
|
||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
} // namespace grpc
|
|
||||||
} // namespace reflection
|
|
||||||
} // namespace v1alpha
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,95 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
# Copyright 2016, Google Inc. |
|
||||||
# All rights reserved. |
|
||||||
# |
|
||||||
# Redistribution and use in source and binary forms, with or without |
|
||||||
# modification, are permitted provided that the following conditions are |
|
||||||
# met: |
|
||||||
# |
|
||||||
# * Redistributions of source code must retain the above copyright |
|
||||||
# notice, this list of conditions and the following disclaimer. |
|
||||||
# * Redistributions in binary form must reproduce the above |
|
||||||
# copyright notice, this list of conditions and the following disclaimer |
|
||||||
# in the documentation and/or other materials provided with the |
|
||||||
# distribution. |
|
||||||
# * Neither the name of Google Inc. nor the names of its |
|
||||||
# contributors may be used to endorse or promote products derived from |
|
||||||
# this software without specific prior written permission. |
|
||||||
# |
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
|
|
||||||
set -e |
|
||||||
cd $(dirname $0)/../../.. |
|
||||||
|
|
||||||
PROTO_DIR="src/proto/grpc/reflection/v1alpha" |
|
||||||
PROTO_FILE="reflection" |
|
||||||
HEADER_DIR="include/grpc++/ext" |
|
||||||
SRC_DIR="src/cpp/ext" |
|
||||||
INCLUDE_DIR="grpc++/ext" |
|
||||||
TMP_DIR="tmp" |
|
||||||
|
|
||||||
if hash grpc_cpp_plugin 2>/dev/null; then |
|
||||||
GRPC_PLUGIN=$(which grpc_cpp_plugin) |
|
||||||
else |
|
||||||
if [ -f bins/opt/grpc_cpp_plugin ]; then |
|
||||||
GRPC_PLUGIN="bins/opt/grpc_cpp_plugin" |
|
||||||
else |
|
||||||
echo "gRPC protoc plugin not found" |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
fi |
|
||||||
|
|
||||||
if hash protoc 2>/dev/null; then |
|
||||||
PROTOC=$(which protoc) |
|
||||||
else |
|
||||||
if [ -f bins/opt/protobuf/protoc ]; then |
|
||||||
PROTOC="bins/opt/protobuf/protoc" |
|
||||||
else |
|
||||||
echo "protoc not found" |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
fi |
|
||||||
|
|
||||||
TMP_DIR=${TMP_DIR}_${PROTO_FILE} |
|
||||||
|
|
||||||
[ ! -d $HEADER_DIR ] && mkdir -p $HEADER_DIR || : |
|
||||||
[ ! -d $SRC_DIR ] && mkdir -p $SRC_DIR || : |
|
||||||
[ ! -d $TMP_DIR ] && mkdir -p $TMP_DIR || : |
|
||||||
|
|
||||||
$PROTOC -I$PROTO_DIR --cpp_out=$TMP_DIR ${PROTO_DIR}/${PROTO_FILE}.proto |
|
||||||
$PROTOC -I$PROTO_DIR --grpc_out=$TMP_DIR --plugin=protoc-gen-grpc=${GRPC_PLUGIN} ${PROTO_DIR}/${PROTO_FILE}.proto |
|
||||||
|
|
||||||
sed -i "s/\"${PROTO_FILE}.pb.h\"/<${INCLUDE_DIR/\//\\\/}\/${PROTO_FILE}.pb.h>/g" ${TMP_DIR}/${PROTO_FILE}.pb.cc |
|
||||||
sed -i "s/\"${PROTO_FILE}.pb.h\"/<${INCLUDE_DIR/\//\\\/}\/${PROTO_FILE}.pb.h>/g" ${TMP_DIR}/${PROTO_FILE}.grpc.pb.h |
|
||||||
sed -i "s/\"${PROTO_FILE}.pb.h\"/<${INCLUDE_DIR/\//\\\/}\/${PROTO_FILE}.pb.h>/g" ${TMP_DIR}/${PROTO_FILE}.grpc.pb.cc |
|
||||||
sed -i "s/\"${PROTO_FILE}.grpc.pb.h\"/<${INCLUDE_DIR/\//\\\/}\/${PROTO_FILE}.grpc.pb.h>/g" ${TMP_DIR}/${PROTO_FILE}.grpc.pb.cc |
|
||||||
|
|
||||||
sed -i "1s/.*/\/\/ Generated by tools\/codegen\/extensions\/gen_reflection_proto.sh/g" ${TMP_DIR}/*.pb.h |
|
||||||
sed -i "1s/.*/\/\/ Generated by tools\/codegen\/extensions\/gen_reflection_proto.sh/g" ${TMP_DIR}/*.pb.cc |
|
||||||
|
|
||||||
/bin/cp LICENSE ${TMP_DIR}/TMP_LICENSE |
|
||||||
sed -i -e "s/./ &/" -e "s/.*/ \*&/" ${TMP_DIR}/TMP_LICENSE |
|
||||||
sed -i -r "\$a\ *\n *\/\n\n" ${TMP_DIR}/TMP_LICENSE |
|
||||||
|
|
||||||
sed -i -e "1s/^/ *\n/" -e "1s/^/\/*\n/" ${TMP_DIR}/*.pb.h |
|
||||||
sed -i -e "1s/^/ *\n/" -e "1s/^/\/*\n/" ${TMP_DIR}/*.pb.cc |
|
||||||
|
|
||||||
sed -i "2r ${TMP_DIR}/TMP_LICENSE" ${TMP_DIR}/*.pb.h |
|
||||||
sed -i "2r ${TMP_DIR}/TMP_LICENSE" ${TMP_DIR}/*.pb.cc |
|
||||||
|
|
||||||
/bin/mv ${TMP_DIR}/${PROTO_FILE}.pb.h ${HEADER_DIR} |
|
||||||
/bin/mv ${TMP_DIR}/${PROTO_FILE}.grpc.pb.h ${HEADER_DIR} |
|
||||||
/bin/mv ${TMP_DIR}/${PROTO_FILE}.pb.cc ${SRC_DIR} |
|
||||||
/bin/mv ${TMP_DIR}/${PROTO_FILE}.grpc.pb.cc ${SRC_DIR} |
|
||||||
/bin/rm -r $TMP_DIR |
|
@ -1,43 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
# Copyright 2016, Google Inc. |
|
||||||
# All rights reserved. |
|
||||||
# |
|
||||||
# Redistribution and use in source and binary forms, with or without |
|
||||||
# modification, are permitted provided that the following conditions are |
|
||||||
# met: |
|
||||||
# |
|
||||||
# * Redistributions of source code must retain the above copyright |
|
||||||
# notice, this list of conditions and the following disclaimer. |
|
||||||
# * Redistributions in binary form must reproduce the above |
|
||||||
# copyright notice, this list of conditions and the following disclaimer |
|
||||||
# in the documentation and/or other materials provided with the |
|
||||||
# distribution. |
|
||||||
# * Neither the name of Google Inc. nor the names of its |
|
||||||
# contributors may be used to endorse or promote products derived from |
|
||||||
# this software without specific prior written permission. |
|
||||||
# |
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
|
|
||||||
set -ex |
|
||||||
|
|
||||||
# change to root directory |
|
||||||
cd $(dirname $0)/../.. |
|
||||||
|
|
||||||
# build grpc_check_generated_pb_files docker image |
|
||||||
docker build -t grpc_check_generated_pb_files tools/dockerfile/grpc_check_generated_pb_files |
|
||||||
|
|
||||||
# run check_pb_files against the checked out codebase |
|
||||||
docker run -e TEST=$TEST --rm=true -v ${HOST_GIT_ROOT:-`pwd`}:/var/local/jenkins/grpc -t grpc_check_generated_pb_files /var/local/jenkins/grpc/tools/dockerfile/grpc_check_generated_pb_files/check_pb_files.sh |
|
||||||
|
|
||||||
# If the test fails, please make sure your protobuf submodule is up-to-date and run |
|
||||||
# tools/codegen/extensions/gen_reflection_proto.sh to update the generated files. |
|
@ -1,73 +0,0 @@ |
|||||||
# Copyright 2015, Google Inc. |
|
||||||
# All rights reserved. |
|
||||||
# |
|
||||||
# Redistribution and use in source and binary forms, with or without |
|
||||||
# modification, are permitted provided that the following conditions are |
|
||||||
# met: |
|
||||||
# |
|
||||||
# * Redistributions of source code must retain the above copyright |
|
||||||
# notice, this list of conditions and the following disclaimer. |
|
||||||
# * Redistributions in binary form must reproduce the above |
|
||||||
# copyright notice, this list of conditions and the following disclaimer |
|
||||||
# in the documentation and/or other materials provided with the |
|
||||||
# distribution. |
|
||||||
# * Neither the name of Google Inc. nor the names of its |
|
||||||
# contributors may be used to endorse or promote products derived from |
|
||||||
# this software without specific prior written permission. |
|
||||||
# |
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
|
|
||||||
FROM debian:jessie |
|
||||||
|
|
||||||
# Install Git and basic packages. |
|
||||||
RUN apt-get update && apt-get install -y \ |
|
||||||
autoconf \ |
|
||||||
autotools-dev \ |
|
||||||
build-essential \ |
|
||||||
bzip2 \ |
|
||||||
ccache \ |
|
||||||
curl \ |
|
||||||
gcc \ |
|
||||||
gcc-multilib \ |
|
||||||
git \ |
|
||||||
golang \ |
|
||||||
gyp \ |
|
||||||
lcov \ |
|
||||||
libc6 \ |
|
||||||
libc6-dbg \ |
|
||||||
libc6-dev \ |
|
||||||
libgtest-dev \ |
|
||||||
libtool \ |
|
||||||
make \ |
|
||||||
perl \ |
|
||||||
strace \ |
|
||||||
python-dev \ |
|
||||||
python-setuptools \ |
|
||||||
python-yaml \ |
|
||||||
telnet \ |
|
||||||
unzip \ |
|
||||||
wget \ |
|
||||||
zip && apt-get clean |
|
||||||
|
|
||||||
#================ |
|
||||||
# Build profiling |
|
||||||
RUN apt-get update && apt-get install -y time && apt-get clean |
|
||||||
|
|
||||||
#================= |
|
||||||
# C++ dependencies |
|
||||||
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean |
|
||||||
|
|
||||||
RUN mkdir /var/local/jenkins |
|
||||||
|
|
||||||
# Define the default command. |
|
||||||
CMD ["bash"] |
|
@ -1,50 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
# Copyright 2015, Google Inc. |
|
||||||
# All rights reserved. |
|
||||||
# |
|
||||||
# Redistribution and use in source and binary forms, with or without |
|
||||||
# modification, are permitted provided that the following conditions are |
|
||||||
# met: |
|
||||||
# |
|
||||||
# * Redistributions of source code must retain the above copyright |
|
||||||
# notice, this list of conditions and the following disclaimer. |
|
||||||
# * Redistributions in binary form must reproduce the above |
|
||||||
# copyright notice, this list of conditions and the following disclaimer |
|
||||||
# in the documentation and/or other materials provided with the |
|
||||||
# distribution. |
|
||||||
# * Neither the name of Google Inc. nor the names of its |
|
||||||
# contributors may be used to endorse or promote products derived from |
|
||||||
# this software without specific prior written permission. |
|
||||||
# |
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
||||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
||||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
||||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
||||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
||||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
|
|
||||||
set -e |
|
||||||
|
|
||||||
mkdir -p /var/local/git |
|
||||||
git clone /var/local/jenkins/grpc /var/local/git/grpc |
|
||||||
# clone gRPC submodules, use data from locally cloned submodules where possible |
|
||||||
(cd /var/local/jenkins/grpc/ && git submodule foreach 'cd /var/local/git/grpc \ |
|
||||||
&& git submodule update --init --reference /var/local/jenkins/grpc/${name} \ |
|
||||||
${name}') |
|
||||||
|
|
||||||
cd /var/local/git/grpc |
|
||||||
|
|
||||||
# build grpc cpp plugin for generating grpc pb files |
|
||||||
make grpc_cpp_plugin |
|
||||||
|
|
||||||
# generate pb files |
|
||||||
tools/codegen/extensions/gen_reflection_proto.sh |
|
||||||
|
|
||||||
# check if the pb files in the checked out codebase are identical with the newly |
|
||||||
# generated ones |
|
||||||
git diff --exit-code |
|
@ -1,168 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||||
<ItemGroup Label="ProjectConfigurations"> |
|
||||||
<ProjectConfiguration Include="Debug|Win32"> |
|
||||||
<Configuration>Debug</Configuration> |
|
||||||
<Platform>Win32</Platform> |
|
||||||
</ProjectConfiguration> |
|
||||||
<ProjectConfiguration Include="Debug|x64"> |
|
||||||
<Configuration>Debug</Configuration> |
|
||||||
<Platform>x64</Platform> |
|
||||||
</ProjectConfiguration> |
|
||||||
<ProjectConfiguration Include="Release|Win32"> |
|
||||||
<Configuration>Release</Configuration> |
|
||||||
<Platform>Win32</Platform> |
|
||||||
</ProjectConfiguration> |
|
||||||
<ProjectConfiguration Include="Release|x64"> |
|
||||||
<Configuration>Release</Configuration> |
|
||||||
<Platform>x64</Platform> |
|
||||||
</ProjectConfiguration> |
|
||||||
</ItemGroup> |
|
||||||
<PropertyGroup Label="Globals"> |
|
||||||
<ProjectGuid>{C8A925BF-4373-D85D-60AE-96CDCBBF33F2}</ProjectGuid> |
|
||||||
<IgnoreWarnIntDirInTempDetected>true</IgnoreWarnIntDirInTempDetected> |
|
||||||
<IntDir>$(SolutionDir)IntDir\$(MSBuildProjectName)\</IntDir> |
|
||||||
</PropertyGroup> |
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|
||||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0'" Label="Configuration"> |
|
||||||
<PlatformToolset>v100</PlatformToolset> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '11.0'" Label="Configuration"> |
|
||||||
<PlatformToolset>v110</PlatformToolset> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '12.0'" Label="Configuration"> |
|
||||||
<PlatformToolset>v120</PlatformToolset> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'" Label="Configuration"> |
|
||||||
<PlatformToolset>v140</PlatformToolset> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
|
||||||
<UseDebugLibraries>true</UseDebugLibraries> |
|
||||||
<CharacterSet>Unicode</CharacterSet> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
|
||||||
<UseDebugLibraries>false</UseDebugLibraries> |
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|
||||||
<CharacterSet>Unicode</CharacterSet> |
|
||||||
</PropertyGroup> |
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|
||||||
<ImportGroup Label="ExtensionSettings"> |
|
||||||
</ImportGroup> |
|
||||||
<ImportGroup Label="PropertySheets"> |
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
||||||
<Import Project="$(SolutionDir)\..\vsprojects\global.props" /> |
|
||||||
<Import Project="$(SolutionDir)\..\vsprojects\winsock.props" /> |
|
||||||
</ImportGroup> |
|
||||||
<PropertyGroup Label="UserMacros" /> |
|
||||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> |
|
||||||
<TargetName>grpc++_reflection_codegen</TargetName> |
|
||||||
</PropertyGroup> |
|
||||||
<PropertyGroup Condition="'$(Configuration)'=='Release'"> |
|
||||||
<TargetName>grpc++_reflection_codegen</TargetName> |
|
||||||
</PropertyGroup> |
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
||||||
<ClCompile> |
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
||||||
<WarningLevel>Level3</WarningLevel> |
|
||||||
<Optimization>Disabled</Optimization> |
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
||||||
<SDLCheck>true</SDLCheck> |
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
||||||
<TreatWarningAsError>true</TreatWarningAsError> |
|
||||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
|
||||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
|
||||||
</ClCompile> |
|
||||||
<Link> |
|
||||||
<SubSystem>Windows</SubSystem> |
|
||||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
|
||||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
|
||||||
</Link> |
|
||||||
</ItemDefinitionGroup> |
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|
||||||
<ClCompile> |
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
||||||
<WarningLevel>Level3</WarningLevel> |
|
||||||
<Optimization>Disabled</Optimization> |
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
||||||
<SDLCheck>true</SDLCheck> |
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
||||||
<TreatWarningAsError>true</TreatWarningAsError> |
|
||||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
|
||||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
|
||||||
</ClCompile> |
|
||||||
<Link> |
|
||||||
<SubSystem>Windows</SubSystem> |
|
||||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
|
||||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
|
||||||
</Link> |
|
||||||
</ItemDefinitionGroup> |
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
||||||
<ClCompile> |
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
||||||
<WarningLevel>Level3</WarningLevel> |
|
||||||
<Optimization>MaxSpeed</Optimization> |
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|
||||||
<SDLCheck>true</SDLCheck> |
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
|
||||||
<TreatWarningAsError>true</TreatWarningAsError> |
|
||||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
|
||||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
|
||||||
</ClCompile> |
|
||||||
<Link> |
|
||||||
<SubSystem>Windows</SubSystem> |
|
||||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
|
||||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|
||||||
<OptimizeReferences>true</OptimizeReferences> |
|
||||||
</Link> |
|
||||||
</ItemDefinitionGroup> |
|
||||||
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|
||||||
<ClCompile> |
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
|
||||||
<WarningLevel>Level3</WarningLevel> |
|
||||||
<Optimization>MaxSpeed</Optimization> |
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|
||||||
<SDLCheck>true</SDLCheck> |
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
|
||||||
<TreatWarningAsError>true</TreatWarningAsError> |
|
||||||
<DebugInformationFormat Condition="$(Jenkins)">None</DebugInformationFormat> |
|
||||||
<MinimalRebuild Condition="$(Jenkins)">false</MinimalRebuild> |
|
||||||
</ClCompile> |
|
||||||
<Link> |
|
||||||
<SubSystem>Windows</SubSystem> |
|
||||||
<GenerateDebugInformation Condition="!$(Jenkins)">true</GenerateDebugInformation> |
|
||||||
<GenerateDebugInformation Condition="$(Jenkins)">false</GenerateDebugInformation> |
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|
||||||
<OptimizeReferences>true</OptimizeReferences> |
|
||||||
</Link> |
|
||||||
</ItemDefinitionGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<ClCompile Include="$(SolutionDir)\..\src\proto\grpc\reflection\v1alpha\reflection.pb.cc"> |
|
||||||
</ClCompile> |
|
||||||
<ClInclude Include="$(SolutionDir)\..\src\proto\grpc\reflection\v1alpha\reflection.pb.h"> |
|
||||||
</ClInclude> |
|
||||||
<ClCompile Include="$(SolutionDir)\..\src\proto\grpc\reflection\v1alpha\reflection.grpc.pb.cc"> |
|
||||||
</ClCompile> |
|
||||||
<ClInclude Include="$(SolutionDir)\..\src\proto\grpc\reflection\v1alpha\reflection.grpc.pb.h"> |
|
||||||
</ClInclude> |
|
||||||
</ItemGroup> |
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|
||||||
<ImportGroup Label="ExtensionTargets"> |
|
||||||
</ImportGroup> |
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
|
||||||
<PropertyGroup> |
|
||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
|
||||||
</PropertyGroup> |
|
||||||
</Target> |
|
||||||
</Project> |
|
||||||
|
|
@ -1,27 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||||
<ItemGroup> |
|
||||||
<ClCompile Include="$(SolutionDir)\..\src\proto\grpc\reflection\v1alpha\reflection.proto"> |
|
||||||
<Filter>src\proto\grpc\reflection\v1alpha</Filter> |
|
||||||
</ClCompile> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<Filter Include="src"> |
|
||||||
<UniqueIdentifier>{d6f45d49-92db-00f7-3dd4-e53f5768d80c}</UniqueIdentifier> |
|
||||||
</Filter> |
|
||||||
<Filter Include="src\proto"> |
|
||||||
<UniqueIdentifier>{32b951f4-cef1-24a3-ffb9-bb229f0cdd6a}</UniqueIdentifier> |
|
||||||
</Filter> |
|
||||||
<Filter Include="src\proto\grpc"> |
|
||||||
<UniqueIdentifier>{8fdcb9f3-4d86-2f49-5c15-c92e0e0f4fba}</UniqueIdentifier> |
|
||||||
</Filter> |
|
||||||
<Filter Include="src\proto\grpc\reflection"> |
|
||||||
<UniqueIdentifier>{098a074c-f3de-2840-8009-1a3840af1efc}</UniqueIdentifier> |
|
||||||
</Filter> |
|
||||||
<Filter Include="src\proto\grpc\reflection\v1alpha"> |
|
||||||
<UniqueIdentifier>{219ff371-7d3a-130c-5792-be36514a4e98}</UniqueIdentifier> |
|
||||||
</Filter> |
|
||||||
</ItemGroup> |
|
||||||
</Project> |
|
||||||
|
|
Loading…
Reference in new issue