diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2018-04-11 13:38:11 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2018-05-11 20:10:23 -0600 |
| commit | 6e590c31d0ceaf3edc717d4e79aacc9afed46f5c (patch) | |
| tree | ff9cc5efbb622567d2f1bb823e0a5eb179fdc2e3 /cube/android/cube-with-layers/custom_rules.xml | |
| parent | b37d3d8477db4ea1dc7ae25539b35a0e8e365a7f (diff) | |
| download | usermoji-6e590c31d0ceaf3edc717d4e79aacc9afed46f5c.tar.xz | |
cube: Move cube directory up to top level dir
Change-Id: Ie1116b0b6de742b4f85834a4c9d1927dd641e19b
Diffstat (limited to 'cube/android/cube-with-layers/custom_rules.xml')
| -rw-r--r-- | cube/android/cube-with-layers/custom_rules.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cube/android/cube-with-layers/custom_rules.xml b/cube/android/cube-with-layers/custom_rules.xml new file mode 100644 index 00000000..ab517bfe --- /dev/null +++ b/cube/android/cube-with-layers/custom_rules.xml @@ -0,0 +1,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>CubeWithLayers: Creating libs-with-layers</echo> +<mkdir dir="${cubeWithLayersDir}"/> + +<echo>CubeWithLayers: Copying libs from demos/android</echo> +<copy todir="${cubeWithLayersDir}"> +<fileset dir="${cubeDir}"/> +</copy> + +<echo>CubeWithLayers: Copying layers from build-android</echo> +<copy todir="${cubeWithLayersDir}"> +<fileset dir="${layersDir}"/> +</copy> + +<!-- Point ndk-build at the libs-with-layers common dir --> +<echo>CubeWithLayers: Overriding native.libs.absolute.dir with ${cubeWithLayersDir}</echo> +<property name="native.libs.absolute.dir" location="${cubeWithLayersDir}" /> + +</project> |
