Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3545)

Issue 105270043: code review 105270043: all: add GOOS=android (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by crawshaw
Modified:
9 years, 12 months ago
Reviewers:
gobot, minux, rsc
CC:
golang-codereviews, mikio, dave_cheney.net, aram, minux, rsc, aram2, elias.naur, iant
Visibility:
Public.

Description

all: add GOOS=android As android and linux have significant overlap, and because build tags are a poor way to represent an OS target, this CL introduces an exception into go/build: linux is treated as a synonym for android when matching files. http://golang.org/s/go14android https://groups.google.com/forum/#!topic/golang-dev/P1ATVp1mun0

Patch Set 1 #

Patch Set 2 : diff -r 7d2e78c502ab https://code.google.com/p/go #

Patch Set 3 : diff -r 7d2e78c502ab https://code.google.com/p/go #

Patch Set 4 : diff -r a4f413948849 https://code.google.com/p/go #

Patch Set 5 : diff -r a4f413948849 https://code.google.com/p/go #

Patch Set 6 : diff -r 36ffbae640bd https://code.google.com/p/go #

Patch Set 7 : diff -r 36ffbae640bd https://code.google.com/p/go #

Total comments: 10

Patch Set 8 : diff -r 36ffbae640bd https://code.google.com/p/go #

Total comments: 2

Patch Set 9 : diff -r bc2977cf4e3b https://code.google.com/p/go #

Total comments: 8

Patch Set 10 : diff -r bc2977cf4e3b https://code.google.com/p/go #

Patch Set 11 : diff -r bc2977cf4e3b https://code.google.com/p/go #

Patch Set 12 : diff -r bc2977cf4e3b https://code.google.com/p/go #

Patch Set 13 : diff -r bc2977cf4e3b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -12 lines) Patch
M src/cmd/dist/build.c View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M src/cmd/dist/buildruntime.c View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M src/liblink/sym.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/go/build/build.go View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -1 line 0 comments Download
M src/pkg/go/build/build_test.go View 1 2 3 4 5 6 7 1 chunk +16 lines, -7 lines 0 comments Download
M src/pkg/go/build/doc.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/go/build/syslist.go View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/runtime/defs_android_arm.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
A src/pkg/runtime/os_android.h View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/runtime/rt0_android_arm.s View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
A src/pkg/runtime/signal_android_386.h View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/runtime/signal_android_arm.h View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/runtime/signals_android.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26
crawshaw
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go
10 years ago (2014-06-23 06:18:25 UTC) #1
mikio
https://codereview.appspot.com/105270043/diff/120001/src/pkg/net/cgo_unix.go File src/pkg/net/cgo_unix.go (right): https://codereview.appspot.com/105270043/diff/120001/src/pkg/net/cgo_unix.go#newcode6 src/pkg/net/cgo_unix.go:6: // +build darwin dragonfly freebsd linux android netbsd openbsd ...
10 years ago (2014-06-23 06:25:59 UTC) #2
dave_cheney.net
I'm not so hot on the idea of android being an alias for linux, we ...
10 years ago (2014-06-23 07:40:03 UTC) #3
aram
Please sort all build tags in alphanumeric order. Please link both the android design document ...
10 years ago (2014-06-23 10:15:01 UTC) #4
aram
Also, this ideally should have been split as a go/build + cmd/dist CL, and a ...
10 years ago (2014-06-23 10:29:28 UTC) #5
crawshaw
On 2014/06/23 07:40:03, dfc wrote: > I'm not so hot on the idea of android ...
10 years ago (2014-06-23 15:37:34 UTC) #6
crawshaw
https://codereview.appspot.com/105270043/diff/120001/src/pkg/go/build/build.go File src/pkg/go/build/build.go (right): https://codereview.appspot.com/105270043/diff/120001/src/pkg/go/build/build.go#newcode271 src/pkg/go/build/build.go:271: "android/386": true, On 2014/06/23 10:15:00, aram wrote: > Are ...
10 years ago (2014-06-23 15:37:46 UTC) #7
minux
On Mon, Jun 23, 2014 at 2:18 AM, <crawshaw@golang.org> wrote: > Description: > all: add ...
10 years ago (2014-06-23 18:23:55 UTC) #8
crawshaw
On Mon, Jun 23, 2014 at 2:23 PM, minux <minux@golang.org> wrote: > > On Mon, ...
10 years ago (2014-06-23 18:42:46 UTC) #9
minux
On Mon, Jun 23, 2014 at 2:42 PM, David Crawshaw <crawshaw@golang.org> wrote: > On Mon, ...
10 years ago (2014-06-23 19:52:57 UTC) #10
crawshaw
On Mon, Jun 23, 2014 at 3:52 PM, minux <minux@golang.org> wrote: > > On Mon, ...
10 years ago (2014-06-23 20:15:05 UTC) #11
minux
On Mon, Jun 23, 2014 at 4:15 PM, David Crawshaw <crawshaw@golang.org> wrote: > On Mon, ...
10 years ago (2014-06-23 20:36:50 UTC) #12
crawshaw
On Mon, Jun 23, 2014 at 4:36 PM, minux <minux@golang.org> wrote: > > On Mon, ...
10 years ago (2014-06-23 20:49:16 UTC) #13
gobot
R=rsc@golang.org (assigned by crawshaw@golang.org)
10 years ago (2014-06-23 20:49:31 UTC) #14
aram2
On Mon, Jun 23, 2014 at 10:49 PM, David Crawshaw <crawshaw@golang.org> wrote: > The android ...
10 years ago (2014-06-23 21:36:23 UTC) #15
elias.naur
On Monday, June 23, 2014 11:36:24 PM UTC+2, Aram Hăvărneanu wrote: > On Mon, Jun ...
10 years ago (2014-06-24 07:53:31 UTC) #16
iant
On Tue, Jun 24, 2014 at 12:53 AM, <elias.naur@gmail.com> wrote: > > I agree that ...
10 years ago (2014-06-24 13:18:55 UTC) #17
rsc
There are no perfect solutions here. I believe that GOOS=android is the least imperfect, and ...
9 years, 12 months ago (2014-07-01 18:40:27 UTC) #18
crawshaw
PTAL https://codereview.appspot.com/105270043/diff/140001/src/pkg/go/build/build.go File src/pkg/go/build/build.go (right): https://codereview.appspot.com/105270043/diff/140001/src/pkg/go/build/build.go#newcode1127 src/pkg/go/build/build.go:1127: if name == ctxt.GOOS || name == ctxt.GOARCH ...
9 years, 12 months ago (2014-07-01 19:43:41 UTC) #19
rsc
LGTM https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c File src/cmd/dist/build.c (right): https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c#newcode1153 src/cmd/dist/build.c:1153: return streq(f, goos) || streq(f, goarch) || streq(f, ...
9 years, 12 months ago (2014-07-01 20:50:52 UTC) #20
minux
LGTM. Let's commit and see how it goes. (i don't want to introduce GOOS=ios though) ...
9 years, 12 months ago (2014-07-01 21:04:35 UTC) #21
crawshaw
https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c File src/cmd/dist/build.c (right): https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c#newcode1153 src/cmd/dist/build.c:1153: return streq(f, goos) || streq(f, goarch) || streq(f, "cmd_go_bootstrap") ...
9 years, 12 months ago (2014-07-01 21:11:42 UTC) #22
rsc
LGTM https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c File src/cmd/dist/build.c (right): https://codereview.appspot.com/105270043/diff/160001/src/cmd/dist/build.c#newcode1153 src/cmd/dist/build.c:1153: return streq(f, goos) || streq(f, goarch) || streq(f, ...
9 years, 12 months ago (2014-07-01 21:16:45 UTC) #23
crawshaw
https://codereview.appspot.com/105270043/diff/160001/src/pkg/go/build/doc.go File src/pkg/go/build/doc.go (right): https://codereview.appspot.com/105270043/diff/160001/src/pkg/go/build/doc.go#newcode115 src/pkg/go/build/doc.go:115: // have an implicit build constraint requiring those terms. ...
9 years, 12 months ago (2014-07-01 21:18:16 UTC) #24
crawshaw
*** Submitted as https://code.google.com/p/go/source/detail?r=4db0802fd3fd *** all: add GOOS=android As android and linux have significant overlap, ...
9 years, 12 months ago (2014-07-01 21:22:06 UTC) #25
gobot
9 years, 12 months ago (2014-07-01 22:37:18 UTC) #26
Message was sent while issue was closed.
This CL appears to have broken the plan9-386-cnielsen builder.
See http://build.golang.org/log/5c2eef8a1b91099e3d5da8bc7b08df49f7508c17
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b