dawn-cmake/third_party/vulkan-deps/vulkan-tools/src/cube/android/cube-with-layers/custom_rules.xml

26 lines
885 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="NativeActivity" default="help">
<property name="cubeWithLayersDir" location="../libs-with-layers" />
<property name="cubeDir" location="../libs" />
<property name="layersDir" location="../../../build-android/libs" />
<echo>VkCubeWithLayers: Creating libs-with-layers</echo>
<mkdir dir="${cubeWithLayersDir}"/>
<echo>VkCubeWithLayers: Copying libs from demos/android</echo>
<copy todir="${cubeWithLayersDir}">
<fileset dir="${cubeDir}"/>
</copy>
<echo>VkCubeWithLayers: Copying layers from build-android</echo>
<copy todir="${cubeWithLayersDir}">
<fileset dir="${layersDir}"/>
</copy>
<!-- Point ndk-build at the libs-with-layers common dir -->
<echo>VkCubeWithLayers: Overriding native.libs.absolute.dir with ${cubeWithLayersDir}</echo>
<property name="native.libs.absolute.dir" location="${cubeWithLayersDir}" />
</project>