Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: telemetry/bin/update_wpr_go_binary

Issue 3004523004: wpr_go: support armv7l and aarch64 (Closed)
Patch Set: wpr_go: support armv7l and aarch64 Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | telemetry/telemetry/internal/binary_dependencies.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/bin/update_wpr_go_binary
diff --git a/telemetry/bin/update_wpr_go_binary b/telemetry/bin/update_wpr_go_binary
index b36aa9083c977a57055b4eb70031fc334a9cefd8..48514b9a38925ef663d474b0e34cc83cdb8d02be 100755
--- a/telemetry/bin/update_wpr_go_binary
+++ b/telemetry/bin/update_wpr_go_binary
@@ -45,6 +45,12 @@ def build_wpr_go(os_name, os_arch):
if os_arch == 'x86':
os_arch = '386'
+ if os_arch == 'armv7l':
+ os_arch = 'arm'
+
+ if os_arch == 'aarch64':
+ os_arch = 'arm64'
+
# go build command recognizes 'darwin' but not 'mac'.
if os_name == 'mac':
os_name = 'darwin'
@@ -73,6 +79,8 @@ _SUPPORTED_PLATFORMS = (
('mac', 'x86_64'),
('linux', 'x86_64'),
('win', 'AMD64'),
+ ('linux', 'armv7l'),
+ ('linux', 'aarch64'),
)
« no previous file with comments | « no previous file | telemetry/telemetry/internal/binary_dependencies.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698