From 56e4b0b3a2520015cb1d38b5bf67820e75e16f83 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 21 Feb 2019 09:20:42 -0500 Subject: [PATCH] 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- misc/android/cleaner.go | 2 ++ misc/android/go_android_exec.go | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.50.0