[go: nahoru, domu]

Set is_high_end_android=false explicitly on bots

This change should be a no-op.

In preparation to set the GN arg is_high_end_android=true by default,
set it to false explicitly for bots cooking official builds:

* trybots for official builds
* arm64 perflab bots
* binary size bot
* orderfile bot

Bug: 1515925
Change-Id: Idd48fa45e5667cf8f42b87c5c1e89c96d453b4b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5185400
Commit-Queue: Egor Pasko <pasko@chromium.org>
Reviewed-by: Haiyang Pan <hypan@google.com>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1246025}
diff --git a/tools/cygprofile/orderfile_generator_backend.py b/tools/cygprofile/orderfile_generator_backend.py
index 848ca53..a219214 100755
--- a/tools/cygprofile/orderfile_generator_backend.py
+++ b/tools/cygprofile/orderfile_generator_backend.py
@@ -53,9 +53,12 @@
 # Architecture specific GN args. Trying to build an orderfile for an
 # architecture not listed here will eventually throw.
 _ARCH_GN_ARGS = {
-    'arm': ['target_cpu = "arm"'],
-    'arm64': ['target_cpu = "arm64"', 'android_64bit_browser = true'],
-    'x86': ['target_cpu = "x86"'],
+    'arm': ['target_cpu="arm"'],
+    'arm64': [
+        'target_cpu="arm64"', 'android_64bit_browser=true',
+        'is_high_end_android=false'
+    ],
+    'x86': ['target_cpu="x86"'],
 }
 
 class CommandError(Exception):