|
3 | 3 | <UsingTask AssemblyFile="$(BootstrapTasksAssembly)" TaskName="Xamarin.Android.Tools.BootstrapTasks.RunParallelCmds" />
|
4 | 4 |
|
5 | 5 | <Target Name="_PrepareCommonProperties">
|
6 |
| - <PropertyGroup> |
7 |
| - <FlavorIntermediateOutputPath>$(IntermediateOutputPath)\$(CMakeRuntimeFlavor)\</FlavorIntermediateOutputPath> |
8 |
| - </PropertyGroup> |
| 6 | + <PropertyGroup> |
| 7 | + <FlavorIntermediateOutputPath>$(IntermediateOutputPath)\$(CMakeRuntimeFlavor)\</FlavorIntermediateOutputPath> |
| 8 | + </PropertyGroup> |
9 | 9 | </Target>
|
10 | 10 |
|
11 | 11 | <Target Name="_BuildRuntimes" BeforeTargets="Build"
|
|
30 | 30 |
|
31 | 31 | <Target Name="_ConfigureRuntimesInputs">
|
32 | 32 | <ItemGroup>
|
33 |
| - <_ConfigureRuntimesInputs Include="..\..\build-tools\scripts\Ndk.targets" /> |
34 |
| - <_ConfigureRuntimesInputs Include="CMakeLists.txt" /> |
| 33 | + <_ConfigureRuntimesInputs Include="..\..\build-tools\scripts\Ndk.targets" /> |
| 34 | + <_ConfigureRuntimesInputs Include="CMakeLists.txt" /> |
35 | 35 | <_ConfigureRuntimesInputs Include="common\java-interop\CMakeLists.txt" />
|
36 | 36 | <_ConfigureRuntimesInputs Include="common\libstub\CMakeLists.txt" />
|
37 | 37 | <_ConfigureRuntimesInputs Include="common\libunwind\CMakeLists.txt" />
|
38 | 38 | <_ConfigureRuntimesInputs Include="common\lz4\CMakeLists.txt" />
|
39 | 39 |
|
40 |
| - <_ConfigureRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Debug\CMakeCache.txt')" /> |
| 40 | + <_ConfigureRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Debug\CMakeCache.txt')" /> |
41 | 41 | <_ConfigureRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Release\CMakeCache.txt')" />
|
42 | 42 |
|
43 |
| - <_OutputDirsToCreate Include="$(FlavorIntermediateOutputPath)\%(AndroidSupportedTargetJitAbi.AndroidRID)-Debug" /> |
| 43 | + <_OutputDirsToCreate Include="$(FlavorIntermediateOutputPath)\%(AndroidSupportedTargetJitAbi.AndroidRID)-Debug" /> |
44 | 44 | <_OutputDirsToCreate Include="$(FlavorIntermediateOutputPath)\%(AndroidSupportedTargetJitAbi.AndroidRID)-Release" />
|
45 | 45 | </ItemGroup>
|
46 | 46 |
|
|
64 | 64 | <_OutputDirsToCreate Include="$(FlavorIntermediateOutputPath)\%(AndroidSupportedTargetJitAbi.AndroidRID)-ubsan-Release" Condition="'$(EnableNativeAnalyzers)' == 'true'" />
|
65 | 65 | </ItemGroup>
|
66 | 66 |
|
67 |
| - <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'CoreCLR' "> |
68 |
| - <_ConfigureRuntimesInputs Include="clr\host\CMakeLists.txt" /> |
69 |
| - <_ConfigureRuntimesInputs Include="clr\runtime-base\CMakeLists.txt" /> |
70 |
| - <_ConfigureRuntimesInputs Include="clr\shared\CMakeLists.txt" /> |
71 |
| - <_ConfigureRuntimesInputs Include="clr\startup\CMakeLists.txt" /> |
72 |
| - <_ConfigureRuntimesInputs Include="clr\xamarin-app-stub\CMakeLists.txt" /> |
73 |
| - </ItemGroup> |
| 67 | + <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'CoreCLR' "> |
| 68 | + <_ConfigureRuntimesInputs Include="clr\host\CMakeLists.txt" /> |
| 69 | + <_ConfigureRuntimesInputs Include="clr\runtime-base\CMakeLists.txt" /> |
| 70 | + <_ConfigureRuntimesInputs Include="clr\shared\CMakeLists.txt" /> |
| 71 | + <_ConfigureRuntimesInputs Include="clr\startup\CMakeLists.txt" /> |
| 72 | + <_ConfigureRuntimesInputs Include="clr\xamarin-app-stub\CMakeLists.txt" /> |
| 73 | + </ItemGroup> |
74 | 74 | </Target>
|
75 | 75 |
|
76 | 76 | <Target Name="_ConfigureArchiveDSOInputsAndOutputs">
|
|
163 | 163 |
|
164 | 164 | <!-- TODO: update for the changes -->
|
165 | 165 | <Target Name="_FindRuntimeSources">
|
166 |
| - <ItemGroup> |
167 |
| - <_RuntimeSources Include="$(JavaInteropFullPath)\src\java-interop\*.cc;$(JavaInteropFullPath)\src\java-interop\*.h" /> |
168 |
| - <_RuntimeSources Include="common\archive-dso-stub\*.cc" /> |
169 |
| - <_RuntimeSources Include="common\libstub\*.cc;common\libstub\*.hh" /> |
| 166 | + <ItemGroup> |
| 167 | + <_RuntimeSources Include="$(JavaInteropFullPath)\src\java-interop\*.cc;$(JavaInteropFullPath)\src\java-interop\*.h" /> |
| 168 | + <_RuntimeSources Include="common\archive-dso-stub\*.cc" /> |
| 169 | + <_RuntimeSources Include="common\libstub\*.cc;common\libstub\*.hh" /> |
170 | 170 | <_RuntimeSources Include="$(LZ4SourceFullPath)\lib\lz4.c;$(LZ4SourceFullPath)\lib\lz4.h" />
|
171 |
| - </ItemGroup> |
| 171 | + </ItemGroup> |
172 | 172 |
|
173 | 173 | <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'MonoVM' ">
|
174 | 174 | <_RuntimeSources Include="mono\monodroid\*.cc;mono\monodroid\*.hh" />
|
|
179 | 179 | <_RuntimeSources Include="mono\xamarin-debug-app-helper\*.cc;mono\xamarin-debug-app-helper\*.hh" />
|
180 | 180 | </ItemGroup>
|
181 | 181 |
|
182 |
| - <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'CoreCLR' "> |
183 |
| - <_RuntimeSources Include="clr\host\*.cc;clr\host\*.hh" /> |
184 |
| - <_RuntimeSources Include="clr\include\**\*.hh" /> |
185 |
| - <_RuntimeSources Include="clr\startup\*.cc;clr\startup\*.hh" /> |
186 |
| - <_RuntimeSources Include="clr\xamarin-app-stub\*.cc;clr\xamarin-app-stub\*.hh" /> |
| 182 | + <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'CoreCLR' "> |
| 183 | + <_RuntimeSources Include="clr\host\*.cc;clr\host\*.hh" /> |
| 184 | + <_RuntimeSources Include="clr\include\**\*.hh" /> |
| 185 | + <_RuntimeSources Include="clr\startup\*.cc;clr\startup\*.hh" /> |
| 186 | + <_RuntimeSources Include="clr\xamarin-app-stub\*.cc;clr\xamarin-app-stub\*.hh" /> |
187 | 187 | <_RuntimeSources Include="clr\runtime-base\*.cc;clr\runtime-base\*.hh" />
|
188 | 188 | <_RuntimeSources Include="clr\shared\*.cc;clr\shared\*.hh" />
|
189 |
| - </ItemGroup> |
| 189 | + </ItemGroup> |
190 | 190 | </Target>
|
191 | 191 |
|
192 | 192 | <Target Name="_BuildAndroidRuntimesInputs"
|
193 | 193 | DependsOnTargets="_FindRuntimeSources">
|
194 |
| - <ItemGroup> |
195 |
| - <_BuildAndroidRuntimesInputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Debug\CMakeCache.txt')" /> |
| 194 | + <ItemGroup> |
| 195 | + <_BuildAndroidRuntimesInputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Debug\CMakeCache.txt')" /> |
196 | 196 | <_BuildAndroidRuntimesInputs Include="@(AndroidSupportedTargetJitAbi->'$(FlavorIntermediateOutputPath)\%(AndroidRID)-Release\CMakeCache.txt')" />
|
197 | 197 | <_BuildAndroidRuntimesInputs Include="@(_RuntimeSources)" />
|
198 |
| - <_BuildAndroidRuntimesInputs Include="..\..\build-tools\scripts\Ndk.targets" /> |
| 198 | + <_BuildAndroidRuntimesInputs Include="..\..\build-tools\scripts\Ndk.targets" /> |
199 | 199 |
|
200 | 200 | <_BuildAndroidRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(OutputPath)\%(AndroidRID)\Debug\libxamarin-app.so')" />
|
201 | 201 | <_BuildAndroidRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(OutputPath)\%(AndroidRID)\Release\libxamarin-app.so')" />
|
202 |
| - </ItemGroup> |
| 202 | + </ItemGroup> |
203 | 203 |
|
204 | 204 | <ItemGroup Condition=" '$(CMakeRuntimeFlavor)' == 'MonoVM' ">
|
205 | 205 | <_BuildAndroidRuntimesOutputs Include="@(AndroidSupportedTargetJitAbi->'$(OutputPath)\%(AndroidRID)\libmono-android.debug.so')" />
|
|
0 commit comments