From 51de70b948590f07d3b26f28aa991d61151c83e8 Mon Sep 17 00:00:00 2001 From: Aitor Camacho Date: Tue, 7 Mar 2023 20:32:25 +0100 Subject: [PATCH] Add all layer libs to apk Apk requires all layer libs to be able to run them Components: Framework VK-GL-CTS issue: 4323 Change-Id: Ib5e06cc931ac27131464e003d68fc25f3adbfd52 --- scripts/android/build_apk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/android/build_apk.py b/scripts/android/build_apk.py index b39d4b7..f721f51 100644 --- a/scripts/android/build_apk.py +++ b/scripts/android/build_apk.py @@ -769,7 +769,8 @@ class AddNativeLibsToAPK (BuildStep): libFiles.append(libRelPath) if config.layers: - layersGlob = os.path.join(config.layers, abi, "libVkLayer_*.so") + # Need to copy everything in the layer folder + layersGlob = os.path.join(config.layers, abi, "*") libVkLayers = glob.glob(layersGlob) for layer in libVkLayers: layerFilename = os.path.basename(layer) -- 2.7.4