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
diff --git a/tools/Android.bp b/tools/Android.bp
index f170336..e325f6b 100644
--- a/tools/Android.bp
+++ b/tools/Android.bp
@@ -92,4 +92,9 @@
srcs: [
"list_files.py",
],
+ version: {
+ py3: {
+ embedded_launcher: true,
+ }
+ }
}