1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:36:49 -07:00

misc/android: add build constraints on files intended to be built by filename only

Updates #30228

Change-Id: I91a763d94de935d9102d927b5cefee564bbf049b
Reviewed-on: https://go-review.googlesource.com/c/163208
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Bryan C. Mills 2019-02-21 09:20:42 -05:00
parent 2ef8abb41f
commit 56e4b0b3a2
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore
// Cleaner removes anything from /data/local/tmp/goroot not on a builtin list. // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list.
// Used by androidtest.bash. // Used by androidtest.bash.
package main package main

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore
// This program can be used as go_android_GOARCH_exec by the Go tool. // This program can be used as go_android_GOARCH_exec by the Go tool.
// It executes binaries on an android device using adb. // It executes binaries on an android device using adb.
package main package main