File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ Contains code to build and link the native runtime at application build time.
10
10
<UsingTask TaskName =" Xamarin.Android.Tasks.GetNativeRuntimeComponents" AssemblyFile =" $(_XamarinAndroidBuildTasksAssembly)" />
11
11
<UsingTask TaskName =" Xamarin.Android.Tasks.LinkNativeRuntime" AssemblyFile =" $(_XamarinAndroidBuildTasksAssembly)" />
12
12
13
- <Target Name =" _PrepareUnifiedNativeRuntimeItems" >
13
+ <Target Name =" _PrepareUnifiedNativeRuntimeItems"
14
+ Condition =" '$(_AndroidEnableNativeRuntimeLinking)' == 'true' " >
14
15
<ItemGroup >
15
16
<_UnifiedNativeRuntime Include =" $(_AndroidApplicationSharedLibraryPath)%(_BuildTargetAbis.Identity)\libmonodroid-unified.so" >
16
17
<abi >%(_BuildTargetAbis.Identity)</abi >
@@ -53,7 +54,10 @@ Contains code to build and link the native runtime at application build time.
53
54
LinkLibraries =" @(_RequiredLinkLibraries)"
54
55
OutputRuntimes =" @(_UnifiedNativeRuntime)"
55
56
SupportedAbis =" @(_BuildTargetAbis)"
56
- SaveDebugSymbols =" true"
57
- />
57
+ SaveDebugSymbols =" true" />
58
+
59
+ <ItemGroup >
60
+ <FileWrites Include =" @(_UnifiedNativeRuntime)" />
61
+ </ItemGroup >
58
62
</Target >
59
63
</Project >
You can’t perform that action at this time.
0 commit comments