explicitly use python2 for treemap script
I mistakenly cherrypicked a change to go from api.python() to explicitly using python3. When I tried to revert it, it seems the api.python module has been migrated to python3, so explicitly invoke python2 binary.
Also fork devicelab_drone_2_2_0.resources/runner.sh
Successful LED build: https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/fujino_google.com/72c8160797380bd4a973d3878dcc68f3c481c6ed9de09516dd303d01a8181f43/+/build.proto?server=chromium-swarm.appspot.com
Change-Id: I5de1d2efcae04f2bf4c17f1c33398b280f5d9df5
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/13500
Commit-Queue: Christopher Fujino <fujino@google.com>
Reviewed-by: Keyong Han <keyonghan@google.com>
diff --git a/recipes/devicelab/devicelab_drone_1_27_0.resources/runner.sh b/recipes/devicelab/devicelab_drone_2_2_0.resources/runner.sh
similarity index 86%
rename from recipes/devicelab/devicelab_drone_1_27_0.resources/runner.sh
rename to recipes/devicelab/devicelab_drone_2_2_0.resources/runner.sh
index 7f78aa7..58a73db 100644
--- a/recipes/devicelab/devicelab_drone_1_27_0.resources/runner.sh
+++ b/recipes/devicelab/devicelab_drone_2_2_0.resources/runner.sh
@@ -12,4 +12,4 @@
fi
args=( "$@" )
-dart bin/run.dart "${args[@]}"
+dart bin/test_runner.dart test "${args[@]}"
diff --git a/recipes/engine_2_2_0.expected/Linux Fuchsia failing test.json b/recipes/engine_2_2_0.expected/Linux Fuchsia failing test.json
index 773a068..20b78bc 100644
--- a/recipes/engine_2_2_0.expected/Linux Fuchsia failing test.json
+++ b/recipes/engine_2_2_0.expected/Linux Fuchsia failing test.json
@@ -12655,7 +12655,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15091,7 +15091,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/Linux Fuchsia skips on duplicate.json b/recipes/engine_2_2_0.expected/Linux Fuchsia skips on duplicate.json
index 2d1fb1e..bf0c73c 100644
--- a/recipes/engine_2_2_0.expected/Linux Fuchsia skips on duplicate.json
+++ b/recipes/engine_2_2_0.expected/Linux Fuchsia skips on duplicate.json
@@ -12871,7 +12871,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15325,7 +15325,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/clobber.json b/recipes/engine_2_2_0.expected/clobber.json
index 112fc3c..707cb33 100644
--- a/recipes/engine_2_2_0.expected/clobber.json
+++ b/recipes/engine_2_2_0.expected/clobber.json
@@ -10059,7 +10059,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11845,7 +11845,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/experimental.json b/recipes/engine_2_2_0.expected/experimental.json
index 563f59c..957cd3f 100644
--- a/recipes/engine_2_2_0.expected/experimental.json
+++ b/recipes/engine_2_2_0.expected/experimental.json
@@ -10057,7 +10057,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11843,7 +11843,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/experimental_upload.json b/recipes/engine_2_2_0.expected/experimental_upload.json
index 0196282..9aa4905 100644
--- a/recipes/engine_2_2_0.expected/experimental_upload.json
+++ b/recipes/engine_2_2_0.expected/experimental_upload.json
@@ -12655,7 +12655,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15091,7 +15091,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/first_bot_update_failed.json b/recipes/engine_2_2_0.expected/first_bot_update_failed.json
index f23b756..9e4f85d 100644
--- a/recipes/engine_2_2_0.expected/first_bot_update_failed.json
+++ b/recipes/engine_2_2_0.expected/first_bot_update_failed.json
@@ -10223,7 +10223,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -12009,7 +12009,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/gcloud_pubsub_failure.json b/recipes/engine_2_2_0.expected/gcloud_pubsub_failure.json
index 5085c5a..edb1152 100644
--- a/recipes/engine_2_2_0.expected/gcloud_pubsub_failure.json
+++ b/recipes/engine_2_2_0.expected/gcloud_pubsub_failure.json
@@ -10059,7 +10059,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11845,7 +11845,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux.json b/recipes/engine_2_2_0.expected/linux.json
index 8f73e21..f74057c 100644
--- a/recipes/engine_2_2_0.expected/linux.json
+++ b/recipes/engine_2_2_0.expected/linux.json
@@ -10057,7 +10057,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11843,7 +11843,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode.json b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode.json
index 8f73e21..f74057c 100644
--- a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode.json
+++ b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode.json
@@ -10057,7 +10057,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11843,7 +11843,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_no_lto.json b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_no_lto.json
index 997fafc..5b194c6 100644
--- a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_no_lto.json
@@ -10068,7 +10068,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11856,7 +11856,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd.json b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd.json
index 8f73e21..f74057c 100644
--- a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd.json
+++ b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd.json
@@ -10057,7 +10057,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11843,7 +11843,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd_no_lto.json
index 997fafc..5b194c6 100644
--- a/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_maven_or_bitcode_publish_cipd_no_lto.json
@@ -10068,7 +10068,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11856,7 +11856,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_no_lto.json b/recipes/engine_2_2_0.expected/linux_no_lto.json
index 997fafc..5b194c6 100644
--- a/recipes/engine_2_2_0.expected/linux_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_no_lto.json
@@ -10068,7 +10068,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11856,7 +11856,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_publish_cipd.json b/recipes/engine_2_2_0.expected/linux_publish_cipd.json
index 8f73e21..f74057c 100644
--- a/recipes/engine_2_2_0.expected/linux_publish_cipd.json
+++ b/recipes/engine_2_2_0.expected/linux_publish_cipd.json
@@ -10057,7 +10057,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11843,7 +11843,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_publish_cipd_no_lto.json b/recipes/engine_2_2_0.expected/linux_publish_cipd_no_lto.json
index 997fafc..5b194c6 100644
--- a/recipes/engine_2_2_0.expected/linux_publish_cipd_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_publish_cipd_no_lto.json
@@ -10068,7 +10068,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11856,7 +11856,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload.json b/recipes/engine_2_2_0.expected/linux_upload.json
index fb41ee1..38ec247 100644
--- a/recipes/engine_2_2_0.expected/linux_upload.json
+++ b/recipes/engine_2_2_0.expected/linux_upload.json
@@ -12655,7 +12655,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15091,7 +15091,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode.json b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode.json
index d7324b4..2c0fbb9 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode.json
@@ -12115,7 +12115,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -14407,7 +14407,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_no_lto.json b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_no_lto.json
index a38596f..c963dbd 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_no_lto.json
@@ -12126,7 +12126,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -14420,7 +14420,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd.json b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd.json
index 2eb06a5..01e143d 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd.json
@@ -12115,7 +12115,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -14407,7 +14407,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd_no_lto.json
index c69c084..3593aac 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_maven_or_bitcode_publish_cipd_no_lto.json
@@ -12126,7 +12126,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -14420,7 +14420,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_no_lto.json b/recipes/engine_2_2_0.expected/linux_upload_no_lto.json
index f2780f4..4a70aba 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_no_lto.json
@@ -12666,7 +12666,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15104,7 +15104,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_publish_cipd.json b/recipes/engine_2_2_0.expected/linux_upload_publish_cipd.json
index ebe7a5c..491c980 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_publish_cipd.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_publish_cipd.json
@@ -12655,7 +12655,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15091,7 +15091,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/linux_upload_publish_cipd_no_lto.json b/recipes/engine_2_2_0.expected/linux_upload_publish_cipd_no_lto.json
index 27fe7c8..22bba06 100644
--- a/recipes/engine_2_2_0.expected/linux_upload_publish_cipd_no_lto.json
+++ b/recipes/engine_2_2_0.expected/linux_upload_publish_cipd_no_lto.json
@@ -12666,7 +12666,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -15104,7 +15104,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.expected/pull_request.json b/recipes/engine_2_2_0.expected/pull_request.json
index 112fc3c..707cb33 100644
--- a/recipes/engine_2_2_0.expected/pull_request.json
+++ b/recipes/engine_2_2_0.expected/pull_request.json
@@ -10059,7 +10059,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release_arm64/libflutter.so",
@@ -11845,7 +11845,7 @@
},
{
"cmd": [
- "python3",
+ "python2",
"[CACHE]/builder/src/third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py",
"--library",
"[CACHE]/builder/src/out/android_release/libflutter.so",
diff --git a/recipes/engine_2_2_0.py b/recipes/engine_2_2_0.py
index 57ea372..e0de698 100644
--- a/recipes/engine_2_2_0.py
+++ b/recipes/engine_2_2_0.py
@@ -464,7 +464,7 @@
'--library', library_path, '--destdir', destination_dir,
"--addr2line-binary", addr2line
]
- command = ['python3', script_path]
+ command = ['python2', script_path]
command.extend(args)
api.step('generate treemap for %s' % upload_dir, command)