<?xml version="1.0" encoding="utf-8"?>
<!--VRM4ULoader plugin additions-->
<root xmlns:android="http://schemas.android.com/apk/res/android">
	<!-- init section is always evaluated once per architecture -->
	<init>
		<log text="VRM4ULoader init"/>
		<setBool result="bSupported" value="false"/>
		<isArch arch="armeabi-v7a">
			<setBool result="bSupported" value="true"/>
		</isArch>
	</init>

	<!-- optional files or directories to copy to Intermediate/Android/APK -->
	<resourceCopies>
		<isArch arch="armeabi-v7a">
			<copyFile src="$S(PluginDir)/../../ThirdParty/assimp/lib/armeabi-v7a/libassimp.so"
						dst="$S(BuildDir)/libs/armeabi-v7a/libassimp.so" />
			<log text="Copying libassimp.so"/>
		</isArch>
		<isArch arch="arm64-v8a">
			<copyFile src="$S(PluginDir)/ThirdParty/assimp/lib/arm64-v8a/libassimp.so"
						dst="$S(BuildDir)/libs/arm64-v8a/libassimp.so" />
			<log text="Copying libassimp.so"/>
		</isArch>
	</resourceCopies>

	<!-- optional libraries to load in GameActivity.java before libUE4.so -->
	<soLoadLibrary>
		<if condition="bSupported">
			<true>
				<loadLibrary name="assimp" failmsg="assimp library not loaded and required!" />
			</true>
		</if>
	</soLoadLibrary>
</root>
