aboutsummaryrefslogtreecommitdiff
path: root/cube/android/cube-with-layers/custom_rules.xml
blob: 0ca5933ed5c12426bbba7124750ce22d2ee4e73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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>