summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2023-04-05 22:30:27 +0000
committer Jihoon Kang <jihoonkang@google.com> 2023-04-06 05:25:20 +0000
commit8f6edbbf04b12c2c6e92d10a2eca96e05db03534 (patch)
tree452f197d1a69adf377ef1b723a77e062555f885d
parent32789cd805f93cda361769431afc6502cd619d05 (diff)
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
-rw-r--r--tools/Android.bp5
1 files changed, 5 insertions, 0 deletions
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,
+ }
+ }
}