File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 251
251
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)ManifestOverlays\Timing.xml" />
252
252
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm64\libc.so" />
253
253
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm64\libm.so" />
254
+ <_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm64\libassembly-blob.so" />
254
255
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm\libc.so" />
255
256
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm\libm.so" />
257
+ <_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-arm\libassembly-blob.so" />
256
258
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x64\libc.so" />
257
259
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x64\libm.so" />
260
+ <_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x64\libassembly-blob.so" />
258
261
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x86\libc.so" />
259
262
<_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x86\libm.so" />
263
+ <_MSBuildFiles Include =" $(MicrosoftAndroidSdkOutDir)libstubs\android-x86\libassembly-blob.so" />
260
264
</ItemGroup >
261
265
<ItemGroup >
262
266
<_MSBuildTargetsSrcFiles Include =" $(MSBuildTargetsSrcDir)\Xamarin.Android.AvailableItems.targets" />
Original file line number Diff line number Diff line change @@ -558,6 +558,10 @@ set(XAMARIN_STUB_LIB_SOURCES
558
558
libstub/stub.cc
559
559
)
560
560
561
+ set (XAMARIN_ASSEMBLY_BLOB_LIB_SOURCES
562
+ libstub/stub-assembly.cc
563
+ )
564
+
561
565
# Build
562
566
configure_file (jni/host-config.h.in ${CMAKE_CURRENT_BINARY_DIR} /include/host-config.h )
563
567
@@ -706,10 +710,10 @@ target_link_libraries(
706
710
)
707
711
708
712
if (ANDROID AND (NOT ANALYZERS_ENABLED ))
709
- macro (xa_add_stub_library _libname )
713
+ macro (xa_add_stub_library _libname _sources )
710
714
add_library (
711
715
${_libname}
712
- SHARED ${XAMARIN_STUB_LIB_SOURCES }
716
+ SHARED ${_sources }
713
717
)
714
718
715
719
string (TOUPPER ${_libname} _libname_uc )
@@ -735,10 +739,13 @@ if(ANDROID AND (NOT ANALYZERS_ENABLED))
735
739
)
736
740
endmacro ()
737
741
738
- xa_add_stub_library (c )
739
- xa_add_stub_library (m )
742
+ xa_add_stub_library (c ${XAMARIN_STUB_LIB_SOURCES} )
743
+ xa_add_stub_library (m ${XAMARIN_STUB_LIB_SOURCES} )
740
744
741
745
# These two are used by the marshal methods tracing library when linking libxamarin-app.so
742
- xa_add_stub_library (log )
743
- xa_add_stub_library (dl )
746
+ xa_add_stub_library (log ${XAMARIN_STUB_LIB_SOURCES} )
747
+ xa_add_stub_library (dl ${XAMARIN_STUB_LIB_SOURCES} )
748
+
749
+ # Used as input when generating assembly blob DSO
750
+ xa_add_stub_library (assembly-blob ${XAMARIN_ASSEMBLY_BLOB_LIB_SOURCES} )
744
751
endif ()
Original file line number Diff line number Diff line change
1
+ extern " C" [[gnu::visibility(" default" )]]
2
+ bool assembly_blob = true ;
You can’t perform that action at this time.
0 commit comments