[mobile] add path for termux on android 9+/arm64

89 views
Skip to first unread message

Gerrit Bot (Gerrit)

unread,
May 27, 2023, 10:21:46 AM5/27/23
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Gerrit Bot has uploaded this change for review.

View Change

add path for termux on android 9+/arm64

similar change was enabling fyne to build apk on termux https://youtu.be/uGtVjf4_Ivo

Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
GitHub-Last-Rev: 934608c2d8a4731a49eafa2004d3a2305c8db576
GitHub-Pull-Request: golang/mobile#92
---
M cmd/gomobile/env.go
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/cmd/gomobile/env.go b/cmd/gomobile/env.go
index 43f24b9..04550fe 100644
--- a/cmd/gomobile/env.go
+++ b/cmd/gomobile/env.go
@@ -530,6 +530,9 @@
arch = "x86_64"
break
}
+ if runtime.GOOS == "android" { // termux
+ return "linux-aarch64"
+ }
fallthrough
default:
panic("unsupported GOARCH: " + runtime.GOARCH)

To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: mobile
Gerrit-Branch: master
Gerrit-Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
Gerrit-Change-Number: 498835
Gerrit-PatchSet: 1
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>

Hyang-Ah Hana Kim (Gerrit)

unread,
Jun 5, 2023, 10:50:58 AM6/5/23
to Gerrit Bot, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Gopher Robot, golang-co...@googlegroups.com

Patch set 1:Code-Review +2

View Change

1 comment:

To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: mobile
Gerrit-Branch: master
Gerrit-Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
Gerrit-Change-Number: 498835
Gerrit-PatchSet: 1
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Comment-Date: Mon, 05 Jun 2023 14:50:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Hyang-Ah Hana Kim (Gerrit)

unread,
Jun 5, 2023, 12:48:11 PM6/5/23
to Gerrit Bot, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Gopher Robot, golang-co...@googlegroups.com

Patch set 1:Run-TryBot +1

View Change

    To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
    Gerrit-Change-Number: 498835
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Comment-Date: Mon, 05 Jun 2023 16:48:09 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes

    Gerrit Bot (Gerrit)

    unread,
    Jun 5, 2023, 12:50:30 PM6/5/23
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

    Attention is currently required from: Hyang-Ah Hana Kim.

    Gerrit Bot uploaded patch set #2 to this change.

    View Change

    The following approvals got outdated and were removed: Run-TryBot+1 by Hyang-Ah Hana Kim

    add path for termux on android 9+/arm64

    similar change was enabling fyne to build apk on termux https://youtu.be/uGtVjf4_Ivo

    Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
    GitHub-Last-Rev: 64817599e1d08cb0052ccd693dc2c8ec557139e8

    GitHub-Pull-Request: golang/mobile#92
    ---
    M cmd/gomobile/env.go
    1 file changed, 3 insertions(+), 0 deletions(-)

    To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newpatchset
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
    Gerrit-Change-Number: 498835
    Gerrit-PatchSet: 2
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Reply all
    Reply to author
    Forward
    0 new messages