• Russ Cox's avatar
    go/build: add BuildTags to Context, allow !tag · b5777571
    Russ Cox authored
    This lets the client of go/build specify additional tags that
    can be recognized in a // +build directive.  For example,
    a build for a custom environment like App Engine might
    include "appengine" in the BuildTags list, so that packages
    can be written with some files saying
    
            // +build appengine   (build only on app engine)
    
    or
    
            // +build !appengine  (build only when NOT on app engine)
    
    App Engine here is just a hypothetical context.  I plan to use
    this in the cmd/go sources to distinguish the bootstrap version
    of cmd/go (which will not use networking) from the full version
    using a custom tag.  It might also be useful in App Engine.
    
    Also, delete Build and Script, which we did not end up using for
    cmd/go and which never got turned on for real in goinstall.
    
    R=r, adg
    CC=golang-dev
    https://golang.org/cl/5554079
    b5777571
Name
Last commit
Last update
..
aes Loading commit data...
bcrypt Loading commit data...
blowfish Loading commit data...
cast5 Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
md4 Loading commit data...
md5 Loading commit data...
ocsp Loading commit data...
openpgp Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
ripemd160 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
twofish Loading commit data...
x509 Loading commit data...
xtea Loading commit data...
Makefile Loading commit data...
crypto.go Loading commit data...