File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 223
223
224
224
<!-- TEMPORARY: to be removed once this PR is ready to be merged -->
225
225
<PropertyGroup >
226
- <_LocalClrDirectory >$(AndroidToolchainDirectory)\clr</_LocalClrDirectory >
226
+ <_LocalClrDirectory Condition = " Exists('$(AndroidToolchainDirectory)\clr') " >$(AndroidToolchainDirectory)\clr</_LocalClrDirectory >
227
227
</PropertyGroup >
228
228
</Project >
Original file line number Diff line number Diff line change @@ -61,12 +61,13 @@ projects that use the Microsoft.Android framework in .NET 6+.
61
61
</ItemGroup >
62
62
63
63
<ItemGroup Condition =" '$(AndroidRuntime)' != 'NativeAOT' " >
64
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libc.so" />
65
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libdl.so" />
66
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\liblog.so" />
67
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libm.so" />
68
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libz.so" />
69
- <_AndroidRuntimePackAssets Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libarchive-dso-stub.so" />
64
+ <!-- TODO: the Exists() checks must go away once we build CoreCLR host for all the targets -->
65
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libc.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libc.so" />
66
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libdl.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libdl.so" />
67
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\liblog.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\liblog.so" />
68
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libm.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libm.so" />
69
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libz.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libz.so" />
70
+ <_AndroidRuntimePackAssets Condition =" Exists('$(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libarchive-dso-stub.so') " Include =" $(NativeRuntimeOutputRootDir)$(_RuntimeFlavorDirName)\$(AndroidRID)\libarchive-dso-stub.so" />
70
71
</ItemGroup >
71
72
72
73
<ItemGroup >
Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ macro(lib_target_options TARGET_NAME)
106
106
${TARGET_NAME}
107
107
SYSTEM PRIVATE
108
108
${SYSROOT_CXX_INCLUDE_DIR}
109
- ${MONO_RUNTIME_INCLUDE_DIR}
109
+ ${RUNTIME_INCLUDE_DIR}
110
+ ${TEMP_MONO_RUNTIME_INCLUDE_DIR}
110
111
${NATIVE_TRACING_INCLUDE_DIRS}
111
112
${LIBUNWIND_INCLUDE_DIRS}
112
113
)
You can’t perform that action at this time.
0 commit comments