@ -9,17 +9,14 @@
<Import Project= "SourceLink.csproj.include" />
<Import Project= "SourceLink.csproj.include" />
<PropertyGroup Label= "Asset root folders. TODO(kkm): Change with package separation." >
<PropertyGroup Label= "Asset root folders." >
<!-- TODO(kkm): Rework whole section when splitting packages. -->
<!-- Root of well known types .proto files -->
<!-- GRPC: ../../third_party/protobuf/src/google/protobuf/ -->
<!-- GPB: ../src/google/protobuf/ -->
<Assets_ProtoInclude > ../../../third_party/protobuf/src/google/protobuf/</Assets_ProtoInclude>
<Assets_ProtoInclude > ../../../third_party/protobuf/src/google/protobuf/</Assets_ProtoInclude>
<!-- GPB: ../protoc/ -->
<!-- Protocol buffers compiler binaries -->
<!-- GRPC: ../protoc_plugins/protoc_ -->
<Assets_ProtoCompiler > ../protoc_plugins/protoc_</Assets_ProtoCompiler>
<Assets_ProtoCompiler > ../protoc_plugins/protoc_</Assets_ProtoCompiler>
<!-- GRPC: ../protoc_plugins/ -->
<!-- Plugins binaries -->
<Assets_GrpcPlugins > ../protoc_plugins/</Assets_GrpcPlugins>
<Assets_GrpcPlugins > ../protoc_plugins/</Assets_GrpcPlugins>
</PropertyGroup>
</PropertyGroup>
@ -28,7 +25,6 @@
</PropertyGroup>
</PropertyGroup>
<PropertyGroup Label= "NuGet package definition" Condition= " '$(Configuration)' == 'Release' " >
<PropertyGroup Label= "NuGet package definition" Condition= " '$(Configuration)' == 'Release' " >
<!-- TODO(kkm): Change to "build\" after splitting. -->
<BuildOutputTargetFolder > build\_protobuf\</BuildOutputTargetFolder>
<BuildOutputTargetFolder > build\_protobuf\</BuildOutputTargetFolder>
<DevelopmentDependency > true</DevelopmentDependency>
<DevelopmentDependency > true</DevelopmentDependency>
<NoPackageAnalysis > true</NoPackageAnalysis>
<NoPackageAnalysis > true</NoPackageAnalysis>
@ -51,22 +47,20 @@
<ItemGroup Label= "NuGet package assets" >
<ItemGroup Label= "NuGet package assets" >
<None Pack= "true" PackagePath= "build\" Include= "build\**\*.xml; build\**\*.props; build\**\*.targets;" />
<None Pack= "true" PackagePath= "build\" Include= "build\**\*.xml; build\**\*.props; build\**\*.targets;" />
<!-- Protobuf assets (for Google.Protobuf.Tools) -->
<!-- Protobuf assets - well known types -->
<_ProtoAssetName Include= "any;api;descriptor;duration;empty;field_mask;
<_ProtoAssetName Include= "any;api;descriptor;duration;empty;field_mask;
source_context;struct;timestamp;type;wrappers" />
source_context;struct;timestamp;type;wrappers" />
<_Asset PackagePath= "build/native/include/google/protobuf/" Include= "@(_ProtoAssetName->'$(Assets_ProtoInclude)%(Identity).proto')" />
<_Asset PackagePath= "build/native/include/google/protobuf/" Include= "@(_ProtoAssetName->'$(Assets_ProtoInclude)%(Identity).proto')" />
<!-- TODO(kkm): GPB builds assets into "macosx", GRPC into "macos". -->
<!-- protocol buffers compiler -->
<!-- TODO(kkm): Do not place non - tools under tools/, use build/native/bin/. -->
<!-- TODO(kkm): Do not package windows x64 builds (#13098). -->
<_Asset PackagePath= "tools/windows_x86/" Include= "$(Assets_ProtoCompiler)windows_x86/protoc.exe" />
<_Asset PackagePath= "tools/windows_x86/" Include= "$(Assets_ProtoCompiler)windows_x86/protoc.exe" />
<_Asset PackagePath= "tools/windows_x64/" Include= "$(Assets_ProtoCompiler)windows_x64/protoc.exe" />
<_Asset PackagePath= "tools/windows_x64/" Include= "$(Assets_ProtoCompiler)windows_x64/protoc.exe" />
<_Asset PackagePath= "tools/linux_x86/" Include= "$(Assets_ProtoCompiler)linux_x86/protoc" />
<_Asset PackagePath= "tools/linux_x86/" Include= "$(Assets_ProtoCompiler)linux_x86/protoc" />
<_Asset PackagePath= "tools/linux_x64/" Include= "$(Assets_ProtoCompiler)linux_x64/protoc" />
<_Asset PackagePath= "tools/linux_x64/" Include= "$(Assets_ProtoCompiler)linux_x64/protoc" />
<_Asset PackagePath= "tools/linux_arm64/" Include= "$(Assets_ProtoCompiler)linux_aarch64/protoc" />
<_Asset PackagePath= "tools/linux_arm64/" Include= "$(Assets_ProtoCompiler)linux_aarch64/protoc" />
<_Asset PackagePath= "tools/macosx_x64/" Include= "$(Assets_ProtoCompiler)macos_x64/protoc" /> <!-- GPB: macosx -->
<_Asset PackagePath= "tools/macosx_x64/" Include= "$(Assets_ProtoCompiler)macos_x64/protoc" />
<!-- gRPC assets (for Grpc.Tools) -->
<!-- gRPC protocol buffer compiler plugins -->
<_Asset PackagePath= "tools/windows_x86/" Include= "$(Assets_GrpcPlugins)protoc_windows_x86/grpc_csharp_plugin.exe" />
<_Asset PackagePath= "tools/windows_x86/" Include= "$(Assets_GrpcPlugins)protoc_windows_x86/grpc_csharp_plugin.exe" />
<_Asset PackagePath= "tools/windows_x64/" Include= "$(Assets_GrpcPlugins)protoc_windows_x64/grpc_csharp_plugin.exe" />
<_Asset PackagePath= "tools/windows_x64/" Include= "$(Assets_GrpcPlugins)protoc_windows_x64/grpc_csharp_plugin.exe" />
<_Asset PackagePath= "tools/linux_x86/" Include= "$(Assets_GrpcPlugins)protoc_linux_x86/grpc_csharp_plugin" />
<_Asset PackagePath= "tools/linux_x86/" Include= "$(Assets_GrpcPlugins)protoc_linux_x86/grpc_csharp_plugin" />