[golang][build] Exclude binaries and generated sources from makeroot's validation

When makeroot creates the directory of the goroot sources, it
should ignore the binaries and generated sources created by
makefuchsia.  Otherwise it will always delete them, and then
will always trigger a re-running of makefuchsia.

Bug: b/42084680

Change-Id: Ib31717a9167ee0fced21b4cae35bb9875afd4a09
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/1023382
Reviewed-by: David Fang <fangism@google.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Aaron Wood <aaronwood@google.com>
1 file changed
tree: 27b002d38bd8e686d70fb2e8d6046dc99fe8f871
  1. .github/
  2. api/
  3. doc/
  4. lib/
  5. makefuchsia/
  6. makeroot/
  7. meta/
  8. misc/
  9. src/
  10. test/
  11. .gitattributes
  12. .gitignore
  13. BUILD.gn
  14. codereview.cfg
  16. go.env
  18. OWNERS
  20. README.md
  21. regen-api
  22. regen-api.py
  23. regen-fidl
  24. regen-syscalls
  25. SECURITY.md
  26. UPGRADE.md

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Download and Install

Binary Distributions

Official binary distributions are available at https://go.dev/dl/.

After downloading a binary release, visit https://go.dev/doc/install for installation instructions.

Install From Source

If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.


Go is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.

Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.