|
9 | 9 |
|
10 | 10 | <Import Project="SourceLink.csproj.include" />
|
11 | 11 |
|
12 |
| - <PropertyGroup Label="Asset root folders. TODO(kkm): Change with package separation."> |
13 |
| - <!-- TODO(kkm): Rework whole section when splitting packages. --> |
14 |
| - <!-- GRPC: ../../third_party/protobuf/src/google/protobuf/ --> |
15 |
| - <!-- GPB: ../src/google/protobuf/ --> |
| 12 | + <PropertyGroup Label="Asset root folders."> |
| 13 | + <!-- Root of well known types .proto files --> |
16 | 14 | <Assets_ProtoInclude>../../../third_party/protobuf/src/google/protobuf/</Assets_ProtoInclude>
|
17 | 15 |
|
18 |
| - <!-- GPB: ../protoc/ --> |
19 |
| - <!-- GRPC: ../protoc_plugins/protoc_ --> |
| 16 | + <!-- Protocol buffers compiler binaries --> |
20 | 17 | <Assets_ProtoCompiler>../protoc_plugins/protoc_</Assets_ProtoCompiler>
|
21 | 18 |
|
22 |
| - <!-- GRPC: ../protoc_plugins/ --> |
| 19 | + <!-- Plugins binaries --> |
23 | 20 | <Assets_GrpcPlugins>../protoc_plugins/</Assets_GrpcPlugins>
|
24 | 21 | </PropertyGroup>
|
25 | 22 |
|
|
28 | 25 | </PropertyGroup>
|
29 | 26 |
|
30 | 27 | <PropertyGroup Label="NuGet package definition" Condition=" '$(Configuration)' == 'Release' ">
|
31 |
| - <!-- TODO(kkm): Change to "build\" after splitting. --> |
32 | 28 | <BuildOutputTargetFolder>build\_protobuf\</BuildOutputTargetFolder>
|
33 | 29 | <DevelopmentDependency>true</DevelopmentDependency>
|
34 | 30 | <NoPackageAnalysis>true</NoPackageAnalysis>
|
|
51 | 47 | <ItemGroup Label="NuGet package assets">
|
52 | 48 | <None Pack="true" PackagePath="build\" Include="build\**\*.xml; build\**\*.props; build\**\*.targets;" />
|
53 | 49 |
|
54 |
| - <!-- Protobuf assets (for Google.Protobuf.Tools) --> |
| 50 | + <!-- Protobuf assets - well known types --> |
55 | 51 | <_ProtoAssetName Include="any;api;descriptor;duration;empty;field_mask;
|
56 | 52 | source_context;struct;timestamp;type;wrappers" />
|
57 | 53 | <_Asset PackagePath="build/native/include/google/protobuf/" Include="@(_ProtoAssetName->'$(Assets_ProtoInclude)%(Identity).proto')" />
|
58 | 54 |
|
59 |
| - <!-- TODO(kkm): GPB builds assets into "macosx", GRPC into "macos". --> |
60 |
| - <!-- TODO(kkm): Do not place non-tools under tools/, use build/native/bin/. --> |
61 |
| - <!-- TODO(kkm): Do not package windows x64 builds (#13098). --> |
| 55 | + <!-- protocol buffers compiler --> |
62 | 56 | <_Asset PackagePath="tools/windows_x86/" Include="$(Assets_ProtoCompiler)windows_x86/protoc.exe" />
|
63 | 57 | <_Asset PackagePath="tools/windows_x64/" Include="$(Assets_ProtoCompiler)windows_x64/protoc.exe" />
|
64 | 58 | <_Asset PackagePath="tools/linux_x86/" Include="$(Assets_ProtoCompiler)linux_x86/protoc" />
|
65 | 59 | <_Asset PackagePath="tools/linux_x64/" Include="$(Assets_ProtoCompiler)linux_x64/protoc" />
|
66 | 60 | <_Asset PackagePath="tools/linux_arm64/" Include="$(Assets_ProtoCompiler)linux_aarch64/protoc" />
|
67 |
| - <_Asset PackagePath="tools/macosx_x64/" Include="$(Assets_ProtoCompiler)macos_x64/protoc" /> <!-- GPB: macosx--> |
| 61 | + <_Asset PackagePath="tools/macosx_x64/" Include="$(Assets_ProtoCompiler)macos_x64/protoc" /> |
68 | 62 |
|
69 |
| - <!-- gRPC assets (for Grpc.Tools) --> |
| 63 | + <!-- gRPC protocol buffer compiler plugins --> |
70 | 64 | <_Asset PackagePath="tools/windows_x86/" Include="$(Assets_GrpcPlugins)protoc_windows_x86/grpc_csharp_plugin.exe" />
|
71 | 65 | <_Asset PackagePath="tools/windows_x64/" Include="$(Assets_GrpcPlugins)protoc_windows_x64/grpc_csharp_plugin.exe" />
|
72 | 66 | <_Asset PackagePath="tools/linux_x86/" Include="$(Assets_GrpcPlugins)protoc_linux_x86/grpc_csharp_plugin" />
|
|
0 commit comments