diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-02-21 09:20:42 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-02-22 16:05:15 +0000 |
commit | 56e4b0b3a2520015cb1d38b5bf67820e75e16f83 (patch) | |
tree | c0f569b5e4ee0369cd6b5513a16f2a09493cb4e6 /misc/android | |
parent | 2ef8abb41f2565e38e520c18773308b3cf005af6 (diff) | |
download | go-56e4b0b3a2520015cb1d38b5bf67820e75e16f83.tar.gz go-56e4b0b3a2520015cb1d38b5bf67820e75e16f83.zip |
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>
Diffstat (limited to 'misc/android')
-rw-r--r-- | misc/android/cleaner.go | 2 | ||||
-rw-r--r-- | misc/android/go_android_exec.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/misc/android/cleaner.go b/misc/android/cleaner.go index dafb162697..edbbdcd0ef 100644 --- a/misc/android/cleaner.go +++ b/misc/android/cleaner.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build ignore + // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list. // Used by androidtest.bash. package main diff --git a/misc/android/go_android_exec.go b/misc/android/go_android_exec.go index c6270872c7..2376e29796 100644 --- a/misc/android/go_android_exec.go +++ b/misc/android/go_android_exec.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // 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. // It executes binaries on an android device using adb. package main |