diff options
Diffstat (limited to 'chromium/third_party/angle/third_party/vulkan-tools/src/cube/android/cube-with-layers/custom_rules.xml')
-rw-r--r-- | chromium/third_party/angle/third_party/vulkan-tools/src/cube/android/cube-with-layers/custom_rules.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/third_party/angle/third_party/vulkan-tools/src/cube/android/cube-with-layers/custom_rules.xml b/chromium/third_party/angle/third_party/vulkan-tools/src/cube/android/cube-with-layers/custom_rules.xml new file mode 100644 index 00000000000..0ca5933ed5c --- /dev/null +++ b/chromium/third_party/angle/third_party/vulkan-tools/src/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>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> |