From 8f6edbbf04b12c2c6e92d10a2eca96e05db03534 Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Wed, 5 Apr 2023 22:30:27 +0000 Subject: [PATCH] Specify list_files to be built with embedded launcher In the current use case of list_files, the module is built with a possibly incompatible host machine's python version. This change fixes this by specifying module to be built with embedded launcher. Test: m list_files Bug: 277124374 Change-Id: Id894271042136c9db50e63852075a8c4ef36a71e --- tools/Android.bp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/Android.bp b/tools/Android.bp index f170336fab..e325f6bb21 100644 --- a/tools/Android.bp +++ b/tools/Android.bp @@ -92,4 +92,9 @@ python_binary_host { srcs: [ "list_files.py", ], + version: { + py3: { + embedded_launcher: true, + } + } }