]> Cypherpunks repositories - gostls13.git/commit
go/build: do not consider "android.go" to be android-specific
authorRob Pike <r@golang.org>
Mon, 6 Oct 2014 21:50:58 +0000 (14:50 -0700)
committerRob Pike <r@golang.org>
Mon, 6 Oct 2014 21:50:58 +0000 (14:50 -0700)
commitd396b9df10bcdb14f06c14b82c293a07ebdee77b
tree050b94138c14cf8952089933ca17a42c37f42502
parent55df81d37f632e5f45f95b210f862c73a758b124
go/build: do not consider "android.go" to be android-specific
A file name must have a non-empty underscore-separated
prefix before its suffix matches GOOS. This is what the
documentation already said but is not what the code did.

Fixes #8838.

This needs to be called out in the release notes.
The he single affected file
        code.google.com/p/go.text/collate/tools/colcmp/darwin.go
could use a renaming but works because it has a build tag inside.

LGTM=adg, rsc
R=golang-codereviews, adg, rsc
CC=golang-codereviews
https://golang.org/cl/147690043
src/go/build/build.go
src/go/build/build_test.go